Access to XMLHttpRequest blocked has been blocked by CORS policy: No 'Access-Control-Allow-Origin'

TracyS783
Participant

Access to XMLHttpRequest blocked has been blocked by CORS policy: No 'Access-Control-Allow-Origin'

WE have a popup form ready to roll, but the Universal Code JS is failing with this error:

 

Access to XMLHttpRequest at 'https://listgrowth.ctctcdn.com/v1/7a1e4138950ea4c63223c50ac606873c.json' from origin 'https://www.sunlinerefueled.org' 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.

 

Any ideas? 

1 REPLY 1
Jimmy_D
Moderator

Hi @TracyS783,

 

That error is indicating that whatever you are trying to do is not allowed due to the CORS policy. If you are using our API this makes sense because our API does not use CORS. If you are using something other than our API can you please specify what you are using?


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page