Moralis not indexing some NFTs in a contract on polygon

I know you’re actively working on fixing this issue, but is there any manual way to index the pending NFTs with the metadata in the mean time?
Like something you can do to trigger on your end or I can do to temporarily fix the issue.

Users are trying to mint NFTs on these contract address -

  1. 0xf24ff6E52Fda710f00376239a49Fa7eF547e9E3e
  2. 0xE5879689e2E4F32f309b381CE72F8b721157338E
  3. 0xe0A25294a5239669f2f5D9930E17CDA2B0c3afBb
  4. 0x34326932C6b0da9004429580B5a3D27bCD3a69Ad
  5. 0x0a6F27F77B8056D5999e3C7BEb631F0CD888194c

This issue has been persisting for the past 4-5 days, and short of completely replacing Moralis on my backend (which would be a huge rewrite for me), I don’t really have any active solution to let people continue using my platform.

I’m directly calling the web3APIs so manually appending data in the response/using cloud functions wouldn’t be possible. Any workaround/temporary fix would be greatly appreciated.

Looking forward to hearing from you.

we are still working on fixing this problem

Thanks for the update. I understand it’s difficult to provide a concrete timeline, but you could estimate a timeline for a solution to be hours/days/weeks roughly?

This is completely blocking my platform’s primary functionality so i’ll need to implement a mitigation solution accordingly.

I could say days, as it already passed few days, I don’t expect it to take weeks until we fix it

1 Like

It seems like the backend is completely down now. Even previously indexed NFTs are not showing up for any user on the platform.

1 Like

we are working on it, we expect it to be fixed in ~1 hour

1 Like

it should work now again

1 Like

Thanks for the update! I can see the NFTs now. Is the caching issue resolved too?

only the problem of not seeing any NFTs

Got it, thanks for the update.

@cryptokid I have the same problem with indexing NFT but for now, it is rinkeby contract address.
I deploy a contract and mint a NFT in that. After that I call API to get metadata of contract address

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/nft/0x4f77de1de10114784603918e00df4b2755be0cf4/metadata?chain=rinkeby' \
  -H 'accept: application/json' \
  -H 'X-API-Key: [redacted]'

It return data but when I call list nft of that contract, it still return array empty. I try to refetch for about 3,4 hours. And it’s not the first time I see that happen. Can you please check that for me
Tks

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/nft/0x4f77de1de10114784603918e00df4b2755be0cf4?chain=rinkeby&format=decimal&order=DESC' \
  -H 'accept: application/json' \
  -H 'X-API-Key: [redacted]'
1 Like

it looks like for a new created smart contract, you have to call a function like getTokenIdMetadata so that the smart contract starts to get indexed:

x = await Moralis.Web3API.token.getTokenIdMetadata({address:“0x4f77de1de10114784603918e00df4b2755be0cf4”, token_id: “1010101”, chain: “rinkeby”})

I called it now, I’ll wait to see if the smart contract will get indexed, it looks like now is not indexed

I tried it this morning and it still didn’t work
The problem is I don’t have any token Id when I want to fetch all nft data of a new contract

I didn’t work yet for me either, that smart contract did a mint from where we have that 1010101 token id

FYI, with my testing in around 7 days, I just have to call to get all metadata of nft 1 time (​/nft​/{address}) and after that about 30s, I will have the data. I don’t have to call for a specific tokenId to get other data

ok, I’m testing it in a different way, anyway, it seems to be a problem because that contract is not indexed yet

1 Like

Today I got the metadata of that nft. Do you know what happen and what should I do when it happen again

you should post here on forum when happens again, if you mint new NFTs you may still see a big delay

Another problem is token_uri of tokenId = 12 for contract 0x6341a8debe827b28513d748a16cc12ee2a95729c (chain bsc testnet)
when I call api get all nft of contract

https://deep-index.moralis.io/api/v2/nft/0x6341a8debe827b28513d748a16cc12ee2a95729c?chain=bsc%20testnet&format=decimal&order=DESC

it return token_uri of that tokenId

But when I call API to get metadata of that specific tokenId, it return null

https://deep-index.moralis.io/api/v2/nft/0x6341a8debe827b28513d748a16cc12ee2a95729c/12?chain=bsc%20testnet&format=decimal

image

It shows both api the same data now (after about 1.5 hour), it’s really slow.