Almost EVERYONE who tried headless systems said they saw benefits. Download the state of CMS now!

Storyblok now on AWS Marketplace: Read more

O’Reilly Report: Decoupled Applications and Composable Web Architectures - Download Now

Empower your teams & get a 582% ROI: See Storyblok's CMS in action

Skip to main content

XMLHttpRequest cannot load ... No 'Access-Control-Allow-Origin' header

  • FAQ
  • XMLHttpRequest cannot load - No 'Access-Control-Allow-Origin' header

If you're facing an issue with one of our assets with a console error like:

XMLHttpRequest cannot load https://a.storyblok.com/f/51376/269x200/5d406b6054/advanced.svg. No 'Access-Control-Allow-Origin' header is present on the requested resource. 

It's because the images was processed via JavaScript instead of using it directly. To get around that issue if you still need to use JavaScript to set your image you can work around it using https://s3.amazonaws.com/a.storyblok.com instead of https://a.storyblok.com.