Whenever I call saveIPFS() to upload a file I am returned the following:
Access to XMLHttpRequest at ‘https://hnyqqzenglo4.bigmoralis.com:2053/server/files/metadata.json’ from origin ‘http://localhost:2526’ has been blocked by CORS policy
Here’s the sample code and console response:
This was working for me yesterday, and I do not think I have changed related to this functionality in my code. I have tried updating to the latest moralis and react-moralis SDKs in my package.json npm file, as well as I just performed a restart+update on my admin.moralis.com server but the issue remains the same. This seemed to have just started yesterday.
In package.json I have tried with
moralis": “^0.0.138” as well as moralis": “^0.0.165”
and a few different versions of “react-moralis” package.
I did some searching in the forum and I found this: Sudden CORS errors but I wasn’t sure if I am experiencing the same/related backend issue or if there’s just some silly issue on my local devices/dependancies which I need to debug further.
Any next steps or direction on where to troubleshoot further would be appreciated!