Hello my entire Dapp is working, but if I leave my app open, this error appears repeatedly after 30 seconds interval.
Access to XMLHttpRequest at ‘https://internal-api.moralis.io/api/functions/trackEvent’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
RESTController.js:302 POST https://internal-api.moralis.io/api/functions/trackEvent net::ERR_FAILED 504
I GOT A SIMILAR ERROR ALSO ON ANOTHER DAPP (after 30 seconds)
Failed to load resource: the server responded with a status of 504 ()
POST https://internal-api.moralis.io/api/functions/trackEvent 504
THE ERROR IS ALWAYS ASSOCIATED TO “trackEvent”