No 'Access-Control-Allow-Origin' header is present on the requested resource | Community
Skip to main content
Answered

No 'Access-Control-Allow-Origin' header is present on the requested resource


Hello, i am trying to load the following script via 

<script src="https://embed.typeform.com/next/embed.js"></script>

But on console am having the following error due to cors origin that it’s not the same origin.

Access to XMLHttpRequest at 'https://embed.typeform.com/next/css/popup.css' from origin 'MY DOMAIN' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
GET https://embed.typeform.com/next/css/popup.css net::ERR_FAILED 200

Form seems to be working just fine. 

Usually proposed solution is to add the domain on header allow cors origin on the server side. Any solution?

Best answer by Liz

Hi @yska How are you loading the typeform onto the page? The following post below may help: 

 

View original

2 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14971 replies
  • Answer
  • February 9, 2023

Hi @yska How are you loading the typeform onto the page? The following post below may help: 

 


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • 2668 replies
  • February 21, 2023

Hey @yska how’s it going? Let us know if you still need help with this one! 😊


Reply