Doesn't show data on OpenSea

I get this metadata uri for token id 1:

https://iuql5ikmnexm.usemoralis.com/{id}.json

that points to this:

https://iuql5ikmnexm.usemoralis.com/0000000000000000000000000000000000000000000000000000000000000001.json

that has this metadata:

{
     "image": "https://fmsamz8ufy99.usemoralis.com/picture2.png",
     "description": "Direct interaction of music on the appearance of a person and on his inner world",
     "name": "musical hairstyle",
     "external_url": "http://feed-product.com"
}

and this link doesnā€™t work: https://fmsamz8ufy99.usemoralis.com/picture2.png

1 Like

I replaced the server as your colleague recommended. And now it works:
https://iwwqp0mjkfzw.usemoralis.com/

https://iwwqp0mjkfzw.usemoralis.com/0000000000000000000000000000000000000000000000000000000000000000.json

And this didnā€™t work:
https://iwwqp0mjkfzw.usemoralis.com/apicture1.png

Replaced only the link of the server.
Any thoughts?

You have to upload that image on that server. Using moralis-admin-cli. Or you can use ipfs urls and upload the image to IPFS.

1 Like

The link to the image file is working, the service is sensitive to CapsLock: https://iwwqp0mjkfzw.usemoralis.com/APICTURE1.png

1 Like

Links to the pictures work, the server is new, the code is checked, I created a new contract, but the metadata was not loaded on Opensea) it would not be as funny as it is insulting)!
What else to check?


https://rinkeby.etherscan.io/address/0x9ff2d7937812996faba87f0c13a72c1d6377ae14

Please post a link to instructions on how to download IPFS.

You also have to wait some time until opensea indexed that data.

For ipfs: https://docs.moralis.io/moralis-dapp/files/ipfs#saving-files

this one it looks like still has problems with not found

https://rinkeby.etherscan.io/address/0x9ff2d7937812996faba87f0c13a72c1d6377ae14

token_id 1 - image is broken

{
    "image": "https://iwwqp0mjkfzw.usemoralis.com/picture2.png",
    "description": "Direct interaction of music on the appearance of a person and on his inner world",
    "name": "musical hairstyle",
    "external_url": "http://feed-product.com"
}

token_id 2 - image is broken

{
    "image": "https://iwwqp0mjkfzw.usemoralis.com/picture3.png",
    "description": "New vision for the future",
    "name": "Toughness in the shell"
}

token_id 3 - token_uri doesnā€™t load

Iā€™ve noticed that https://iwwqp0mjkfzw.usemoralis.com/0000000000000000000000000000000000000000000000000000000000000000.json works which I assume is meant to be for token_id 1.

You need to correct all of these before things will work.

I rechecked everything, I used new pictures, everything works but is not displayed on Opensea

https://rinkeby.etherscan.io/tx/0x85f19af9ec7e20ead00575192452f20db3fe6bc73b8d3340c4270cc212f0e45f
Token_id 1 works:
https://iwwqp0mjkfzw.usemoralis.com/0000000000000000000000000000000000000000000000000000000000000001.json
Picture displayed: https://iwwqp0mjkfzw.usemoralis.com/picture1.jpg

Token_id 2 works:
https://iwwqp0mjkfzw.usemoralis.com/0000000000000000000000000000000000000000000000000000000000000002.json
Picture displayed: https://iwwqp0mjkfzw.usemoralis.com/picture2.jpg

Token_id 3 works:
https://iwwqp0mjkfzw.usemoralis.com/0000000000000000000000000000000000000000000000000000000000000003.json
Picture displayed: https://iwwqp0mjkfzw.usemoralis.com/picture3.jpg

Not displayed on Opensea:

If I understand correctly, then Opensea does not collect meta data on the test domain. Correctly? And why?
If it updates the data in time: 1) at what time? 2) how many times a day?

Guys, take a look, tell me, thanks!

I have a rinkeby test contract on opensea an it displays fine.but I have found that it only works if I name the json files 1.json, 2.json, etc. They appear almost instantly.See below:

I donā€™t understand why it works this way, and it doesnā€™t work with 64 chars

Me neither but I tried it with 64 chars originally and it doesnā€™t display on OpenSea!

what were the steps that you did for this last deploy that works on opensea?

I see that you also used ipfs in this case.

I renamed 1 json file, removed 63 characters and left 1, looks like this:https://iwwqp0mjkfzw.usemoralis.com/1.json
Deploy new contract.

Result: 1) title and description appeared; 2) the picture did not appear!

Guys, throw the typed code for IPFS, for files: index.html and main.js Iā€™ll try to quickly make an experiment.

Did you check the image url to work? that particular image url from https://iwwqp0mjkfzw.usemoralis.com/1.json doesnā€™t work

I am creating a website that does all of the necessary steps itself:

  1. Add any number of images.
  2. Upload them into an IPFS folder.
  3. Upload the metadata to IPFS.
  4. Internally create a sol and compile it using solcjs.
  5. Deploy the contract using an ethers Contract Factory.

This will probably never go live as facebook have announced that they will be doing this but it keeps an old man occupied :grinning:

1 Like

Everything is ready, uploaded the pictures on Pinata and pasted the link:

"image": "https://gateway.pinata.cloud/ipfs/Qmek7iAyw19zhivZsQcZG6a8JPEUytPH4e6LugTDv3QKRG/picture1.jpg",
"description": "Direct interaction of music on the appearance of a person and on his inner world",
"name": "musical hairstyle",
"external_url": "http://feed-product.com"

}

But if you need to upload more than one picture in one contract, then you need to buy a premium, since their server does not give several streams from one account in a free account)

So has your issue been fixed?

Yes, thanks, I uploaded pictures on Pinata, and registered links in js files.

1 Like