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?

preguntada hace 2 años262 visualizaciones
1 Respuesta
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
respondido hace 10 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas