Cannot use GetByTitle to get the library data

This is the JS code I used to get the library 'PowerBI Deployment List'

pnp.sp.web.lists.getByTitle('PowerBI Deployment List').items.filter("Title eq '" + fd.field('xxx').value + "'").getAll().then((results) => {
console.log(results);
});

However, I cannot get it and show me this error
image

I double confirmed that the display name is correct
image

Please help about this.

P.S. I tried other libraries, other libraries have no problem. (I just change the title here
pnp.sp.web.lists.getByTitle('PowerBI Deployment List').items...)

Hello @itapps,

is the list on the same site as the form? If it on a different site you need to define its URL like this:

    //specify your site URL
    var siteURL = 'https://sitename.sharepoint.com/sites/susbsite/';
    let web = new Web(siteURL);

    web.lists..getByTitle('PowerBI Deployment List').items.filter("Title eq '" + fd.field('xxx').value + "'").getAll().then((results) => {
console.log(results);
});

Also, double check the list internal name or you can try getting the list data by list ID:

pnp.sp.web.lists.getById('4D5A36EA-6E84-4160-8458-65C436DB765C').items.get()

@Margo It is fine now if I use getbyId
Thank you so much