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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南