You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to fetch some SPL tokens it might result in the CORS error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://bafkreifmg4cdxkke4z6fbmkpryyi56raq7bytjojteg5hhhubohcy6ycnq.ipfs.nftstorage.link/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 500.
Some tokens are being fetched without any errors, but the other ones might throw the error.
Requests are being sent from http://localhost:5173/ which is a typical local webdev server.
Example of a token which is fetched without any errors: M5sJ7XaEsGF5M3FtidFEBE7Wghqz4iocs85yQBNUPX2
Example of a token with errors: CzHvRSSgYddADVnrEBa2b574qbQJ2vGALoREqPyDEL6A
The text was updated successfully, but these errors were encountered:
triplenick
changed the title
Trying to fetch some tokens metadata results in a CORS error
Trying to fetch some SPL tokens metadata results in a CORS error
Apr 18, 2024
When I try to fetch some SPL tokens it might result in the CORS error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://bafkreifmg4cdxkke4z6fbmkpryyi56raq7bytjojteg5hhhubohcy6ycnq.ipfs.nftstorage.link/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 500.
Some tokens are being fetched without any errors, but the other ones might throw the error.
Requests are being sent from
http://localhost:5173/
which is a typical local webdev server.Example of a token which is fetched without any errors:
M5sJ7XaEsGF5M3FtidFEBE7Wghqz4iocs85yQBNUPX2
Example of a token with errors:
CzHvRSSgYddADVnrEBa2b574qbQJ2vGALoREqPyDEL6A
Im using a paid rpc provider
and the following code:
The text was updated successfully, but these errors were encountered: