NFT metadata resync doesn't work

Hi, I’m trying to fetch my NFT metadata on sepolia.
I’ve updated the metadata content and set the resync query parameter to true within the “Get all NFTs with metadata in a specific collection” API.
However I still get the old metadata. I suppose this resync flag doesn’t work.
Can someone tell me where the server will clear the cache ? Or does this flag work or not ?

Thanks.

1 Like

Hi @0x0_ADY and welcome to the community.
Can you let me know the token address and token ID? Want to test it on my side as well.
Also if possible can you show what the new metadata should be?

1 Like

Sure this is the API call, I usually fetch the whole collection: https://nft.api.infura.io/networks/11155111/nfts/0x02e522b601D1fCb425d7881c5294c7c34Be9f758/tokens?resync=true
If you take for example the tokenId: 5, here’s the updated metadata json: https://dubai-grand-glow.s3.eu-central-1.amazonaws.com/5/5.json

1 Like

Hey, just checked the metadata returned by the collection endpoint and by the token ID endpoint and they seem to return the same info as the updated metadata json you shared. Unless I am missing something?

https://nft.api.infura.io/networks/11155111/nfts/0x02e522b601D1fCb425d7881c5294c7c34Be9f758/tokens?resync=true
[https://nft.api.infura.io/networks/11155111/nfts/0x02e522b601D1fCb425d7881c5294c7c34Be9f758/tokens/5?resyncMetadata=true]

1 Like

Yeah now its the correct metadata, yesterday, before sending you the reply, it was still the previous version.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.