Storyblok Raises $80M Series C - Read News

What’s the True Total Price of Enterprise CMS? Find out here.

Skip to main content

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.