Feedback
Question

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

  • 9 February 2023
  • 2 replies
  • 46 views

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?


2 replies

Userlevel 7
Badge +5

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

 

Userlevel 7
Badge +5

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

Reply