Wrong metadata link

When I get metadata of nft in ethereum chain:

https://deep-index.moralis.io/api/v2/nft/0xe28D9cCE56ee8098B7293B4e38C6D918fed083d8/20?chain=eth&format=decimal

the response return

 "token_uri": "https://ipfs.moralis.io:2053/ipfs/bafybeic7yy6gvazirjxfmt2m2ajuolm5cusru5jjlfhbmitvgqyqkdsogy/20.json",

But when I access to that link, it return access denied page

You can use another gateway such as gateway.moralisipfs.com/ipfs/ instead of ipfs.moralis.io:2053/ipfs/.

https://gateway.moralisipfs.com/ipfs/bafybeic7yy6gvazirjxfmt2m2ajuolm5cusru5jjlfhbmitvgqyqkdsogy/20.json

it still return access denied page when I access this

We did a recent change where both gateways will not work for links that start with bafy. It is a protection on our side from some spam bots until we find a better way.

You can try to use any other public ipfs prefix like cloudflare or ipfs.io

1 Like