OpenSea not displaying my NFT metadata from custom server

Hey everyone, I’m having trouble with OpenSea and my NFT metadata. I’ve got a JSON file with my token info stored on both IPFS and my own server. The weird thing is, OpenSea shows the image and metadata fine when I use the IPFS link. But when I try to use my server link, nothing shows up!

Here’s a sample of my metadata:

{
  "name": "Digital Buddies Collection",
  "description": "Pals NFT",
  "image": "ipfs://QmXyz123AbcDefGhiJklMnoPqrStuVwx",
  "edition": 1,
  "attributes": [
    {
      "trait_type": "Relationship",
      "value": "Pals"
    },
    {
      "trait_type": "Setting",
      "value": "Cream"
    }
  ]
}

Both my IPFS and server links work fine when I open them directly. But OpenSea only plays nice with the IPFS one. Any ideas why this might be happening? Is OpenSea picky about non-IPFS links or could something else be causing this?

I’ve encountered similar issues with OpenSea before. One thing to consider is that OpenSea might have stricter security policies for custom server links compared to IPFS. They could be wary of potential malicious content from unknown sources. Have you tried contacting OpenSea support directly? They might be able to whitelist your server or provide specific requirements for external metadata hosting. Additionally, ensure your server’s SSL certificate is up-to-date, as OpenSea may reject connections to servers with expired or invalid certificates. It’s also worth checking if your server’s response time is quick enough, as slow responses could cause OpenSea to time out and fail to load the metadata.

hey there brilliantcoder39! that’s a really interesting issue you’re having with opensea. i’m kinda curious about a few things:

have you double-checked that your server is configured to serve the json file with the correct content-type header? sometimes that can trip things up.

also, how long ago did you upload the metadata to your server? opensea can be a bit slow to update sometimes, so it might just need more time to cache.

oh, and have you tried using the refresh metadata option on opensea? that sometimes helps kickstart things.

i’m really interested to hear more about your nft project too! what inspired you to create the digital buddies collection? sounds pretty cool!

hey brilliantcoder39, sounds frustrating! have you checked if your server allows CORS? opensea might be blocking requests if it’s not set up right. also, make sure your json is properly formatted and the image URL is accessible. sometimes small details can cause big headaches. good luck with your digital buddies project!