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?

質問済み 2年前262ビュー
1回答
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
回答済み 10ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ