============ ERROR =============
XMLHttpRequest cannot load https://s3-ap-southeast-1.amazonaws.com/s3.demo.mydomain.com/test.json. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mydomain.freshdesk.com' 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> (https://s3-ap-southeast-1.amazonaws.com/awk-sdk/aws-sdk-2.9.0.min.js?_=1488368547259:6:31259)"
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.
1. Invalid domain(s) mentioned in manifest.yml: https://s3-ap-southeast-1.amazonaws.com