getTokenIdMetadata is not returning metadata

Hi,
We use getTokenIdMetadata function, and it is not returning meta data.
It says “Metadata is not found”.
But it is stored in the contract.
We passed the options values as string values, the chain is “polygon”.
Please advise as soon as possible.
Thanks.

Regards,
Pura

Can you share the contract address and token ID which you used

Hi Johnversus,
It is returning the metadata now.
But it is giving the old metadata. How we get the refreshed one?
Thanks.

Regards,
Pura.

Maybe try to resync metadata with reSyncMetadata endpoint
https://docs.moralis.io/moralis-dapp/web3-api/token#resyncmetadata

1 Like

Still it gets delaying when retrieve the metadata after reSyncMetadata.
Thanks.

Is it working yet?
If not, can you share the token id and contract address of the same.

Finally, we retrieved calling directly from contract.
Thanks.

1 Like