Freshworks named a Strong Performer in the Forrester Wave™: Enterprise Service Management, Q4 2021 Access Report

Start a new topic

Issue regarding Access-Control-Allow-Origin header to AWS

 Hi Support,

I am developing an apps and using AWS Javascript SDK to make API to AWS S3 bucket. The problem is that I encountered a CORS issue which disallow my call to AWS S3 bucket. I have no problem to use the same code on my server to talk to S3.

============ ERROR =============
XMLHttpRequest cannot load Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access.

Error: Network Failure
  at XMLHttpRequest.<anonymous> (aws-sdk-2.9.0.min.js?_=1488368547259:6) "NetworkingError: Network Failure
  at XMLHttpRequest.<anonymous> ("

That being said, I suspect it is something to do with domain whitelisting in manifest.xml file. After did that, it returned error when validate the code. I believe the sign "-" that caused the trouble, please advise.

Validation errors:
  1. Invalid domain(s) mentioned in manifest.yml:


Hello Keen,

To solve this, CORS configuration must be enabled for the specific bucket.

Reference: Steps to enable CORS can be found at this link

Check your ticket status -



Login or Signup to post a comment