"Invalid function: \"getNFTs\""

Hello everyone, I am new to this but I can not get any NFT’S, the function is failing and throwing this error…
error: “Invalid function: “getNFTs””

could you paste the code?

sorry, here it is

    const userEthNFTs = await Moralis.Web3API.account.getNFTs({
      chain: 'bsc',
      address: '0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB',
    });```

now I am getting them

image

const userEthNFTs = await Moralis.Web3API.account.getNFTs({
chain: ‘eth’,
address: ‘0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB’,
});

with this code I am getting NFT’s but before that I was receiving the erorr specified above so I am not sure what was causing the problem…

you could get that error when server is updating, probably it was only a temporary problem

1 Like