getNFTOwners not returning full list of tokenIDs

Testing some calls on rinkeby…
contract: 0x0a0b74d36d07440219120da15cc6f960881cb30d

When calling the getNFTOwners endpoint, tokenID 5, 6, and 7 are missing from the list.

When calling the ownerOf function on rinkeby etherscan, you can see there is in fact an owner for those tokens.

At some point, the endpoint was working fine. All of a sudden, I was receiving an incorrect response from the api. Not sure what caused it. If anyone has any ideas, please let me know! If I’m unable to rely on responses from moralis api, I will have to scrap a lot of code.

curl request:

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/nft/0x0A0b74D36d07440219120da15cC6F960881Cb30D/owners?chain=rinkeby&format=decimal' \
  -H 'accept: application/json' \
  -H 'X-API-Key: API-KEY'

thanks for reporting, we will investigate

now it works as expected

1 Like

Awesome, thanks for the quick fix. Can you explain what the issue was and how it was fixed?

it looks like it was an issue related to caching