0

I have the following contract deployed to the Rinkeby testnet: https://rinkeby.etherscan.io/token/0x2d29fc6c1b20c35669fb55fa3144cdd529302256

I deployed the metadata and images using IPFS. When I try to get the metadata for one of the tokens using truffle console, I get the seemingly correct result:

truffle(rinkeby)> instance.tokenURI(1);
'ipfs://QmRNN5Pwd64h8MscEQScFkX9iLw4rVpdFTQRYUMmZGeXpU/1'
truffle(rinkeby)>

I can pull up the metadata using an IPFS gateway: https://gateway.ipfs.io/ipfs/QmRNN5Pwd64h8MscEQScFkX9iLw4rVpdFTQRYUMmZGeXpU/1

However, this data is not displayed on neither the OpenSea testnet: https://testnets.opensea.io/assets/0x2d29fc6C1B20c35669fb55Fa3144cDD529302256/1/?force_update=true

Nor the Rarible testnet: https://rinkeby.rarible.com/token/0x2d29fc6c1b20c35669fb55fa3144cdd529302256:1

The OpenSea metadata validation is super unhelpful: https://rinkeby-api.opensea.io/assets/0x2d29fc6C1B20c35669fb55Fa3144cDD529302256/1/validate/

Does anybody have some idea what I can be doing wrong? My guess is that my metadata was formatted incorrectly. However, it seems like OpenSea at least is failing to open up the metadata at all.

0

Wrong url for the validator.

https://rinkeby-api.opensea.io/asset/0x2d29fc6C1B20c35669fb55Fa3144cDD529302256/1/validate/

HTTP 200 OK
Allow: OPTIONS, GET
Content-Type: application/json
Vary: Accept

{
    "valid": false,
    "token_uri": "https://ipfs.io/ipfs/QmRNN5Pwd64h8MscEQScFkX9iLw4rVpdFTQRYUMmZGeXpU/1",
    "errors": [
        "TokenUrlTimedOutException: "
    ]
}

As far as what's wrong with the contract, I don't know.

New contributor
Matt Watts is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.