[SOLVED] Sporadic error on endpoint for one contract

We are using Moralis is to grab the current blockchain data of a smart contract to know which wallets own which nfts. We have code in production and with no changes to the production branch since Wed 11/2, we are now getting an error relative to either pagination or loss of data.
When using Moralis before with the endpoint api/v2/nft/{token_address}/owners, we know this contract has 13684 NFTs but sporadically, we only get 13558 with a null length property in a later page.

This only is occurring on this single contract and does not happen on any of our other client smart contracts. First time in the logs we have seen the problem was Friday 11/4

Any ideas?

1 Like

We have to investigate

1 Like

https://deep-index.moralis.io/api/v2/nft/0x066f2d5ead7951f0d0038c19affd500b9f02c0e5/owners?cursor=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21QYXJhbXMiOnsidG9rZW5BZGRyZXNzIjoiMHgwNjZmMmQ1ZWFkNzk1MWYwZDAwMzhjMTlhZmZkNTAwYjlmMDJjMGU1In0sImtleXMiOlsiMTY0MTU1NDYyNC4wNTc1OSIsIjE2NDE1NTQ2MjQuMDU3NTkiLCIxNjQxNTU0NjI0LjA1ODI5MiIsIjE2NDE1NTQ2MjQuMDU4MjkyIiwiMTY0MTU1NDYyNC4wNTgzMzgiLCIxNjQxNTU0NjI0LjA1ODMzOCIsIjE2NDE1NTQ2MjQuMDU4MzYiLCIxNjQxNTU0NjI0LjA1ODM2IiwiMTY0MTU1NDYyNC4wNTgzODUiLCIxNjQxNTU0NjI0LjA1ODM4NSJdLCJ3aGVyZSI6eyJ0b2tlbl9hZGRyZXNzIjoiMHgwNjZmMmQ1ZWFkNzk1MWYwZDAwMzhjMTlhZmZkNTAwYjlmMDJjMGU1In0sImxpbWl0IjoxMDAsIm9mZnNldCI6MCwib3JkZXIiOltdLCJ0b3RhbCI6MTM2ODQsInBhZ2UiOjEzNSwidGFpbE9mZnNldCI6MTIxLCJpYXQiOjE2Njc2MDIwOTZ9.4s_KIDds0JhF1fsvIwWNmatn_m2zH7bqQPnTfOWm4cM&chain=eth&format=decimal&limit=100&sort=token_id

I know the details, you also contacted the support team

Different dev :slight_smile:

1 Like

it seems to work as expected now from our tests

Confirmed! Can you give me an RCA privately?

I don’t really know what happened this time, when I tested today it worked as expected.