trackEvent error - internal CORS issue

There appears to be a consistently failing interval request to what appears to be an internal Moralis analytics endpoint.

Access to XMLHttpRequest at '' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

To fix this, I think the Moralis team needs to simply set the appropriate CORS header to the server running the internal-api subdomain.

Header set Access-Control-Allow-Origin: "*" on Apache.

add_header 'Access-Control-Allow-Origin' '*'; on nginx


we know about this problem, it it a timeout error that generates a CORS error at the end

1 Like