CORS on CloudFront

0

Yesterday my app went down since I started getting "[Error] XMLHttpRequest cannot load https://d9rnb4peo8bk4.cloudfront.net due to access control checks. [Error] Failed to load resource: Preflight response is not successful" Something changed? Ny ideas how to fix it, CloudFront setup to allow CORS and was working fine. Any ideas?

asked 2 years ago257 views
1 Answer
0

Hi, have you checked the response of preflight request ? The preflight request might received a 4xx or 5xx error. It is common that the error message does not include CORS response headers and browser blocked it for security caution.

AWS
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions