Hi Guys,
I am trying to follow and create DEX using moralis code as available at below link.
But I am getting a lot of 32 errors. Pls help.
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs:1
Failed to load resource: net::ERR_FAILED
favicon.ico:1
Failed to load resource: the server responded with a status of 404 (Not Found)
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs:1
Failed to load resource: net::ERR_FAILED
index.html:1 Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getPluginSpecs:1
Failed to load resource: net::ERR_FAILED
moralis.js:26472
Uncaught (in promise) Error: XMLHttpRequest failed: "Unable to connect to the Parse API"
at handleError (moralis.js:26472:15)
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/functions/getServerTime:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/users' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
y5o1gglcxtql.usemoralis.com:2053/server/users:1
Failed to load resource: net::ERR_FAILED
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/users' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
moralis.js:26329
POST https://y5o1gglcxtql.usemoralis.com:2053/server/users net::ERR_FAILED
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/users' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
moralis.js:26329
POST https://y5o1gglcxtql.usemoralis.com:2053/server/users net::ERR_FAILED
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
XMLHttpRequest.send (async)
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
index.html:1
Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/users' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
moralis.js:26329
POST https://y5o1gglcxtql.usemoralis.com:2053/server/users net::ERR_FAILED
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
XMLHttpRequest.send (async)
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
XMLHttpRequest.send (async)
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
index.html:1 Access to XMLHttpRequest at 'https://y5o1gglcxtql.usemoralis.com:2053/server/users' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
moralis.js:26329
POST https://y5o1gglcxtql.usemoralis.com:2053/server/users net::ERR_FAILED
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
XMLHttpRequest.send (async)
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
XMLHttpRequest.send (async)
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
XMLHttpRequest.send (async)
dispatch @ moralis.js:26329
setTimeout (async)
xhr.onreadystatechange @ moralis.js:26248
index.html:1
Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received