How can we help?

CORS and CSP issues

Uliana Lesiv
Uliana Lesiv
  • Updated

Cross-origin resource sharing (CORS) and content security policy (CPS) are common issues that cause tags malfunction. When you check the browser’s console, you may see that the request was blocked as it violates CORS/CPS directives.

 

CSP issue.png

 

CORS errors occur when a webpage sends a request to a domain different from the one that served the page. The server responds with an HTTP error because its CORS configuration does not permit the "Origin" header to be included in the request.

To fix the issues, you need to ask your developers to allow the requests that are being blocked in CORS/CSP.

Was this article helpful?

1 out of 2 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.