Error AtlasError Documentation and Resolution

CORS response is missing Access-Control-Allow-Origin

Reason: CORS header 'Access-Control-Allow-Origin' missing

The browser received a cross-origin response without permission for the calling page to read it. The correction belongs in the responding service or its trusted proxy, not in a client-side request header.

CORS header 'Access-Control-Allow-Origin' missingcors
Reason: CORS header 'Access-Control-Allow-Origin' missing
  • The API does not return a CORS allow-origin header for the requesting site.
  • An error response or proxy-generated response bypasses application CORS handling.
  • A cached response was generated for a different origin.
  1. Use the browser Network panel to identify the failing request and whether it is an OPTIONS preflight or the actual response. Inspect redirects and error statuses too.
  2. Configure the service to emit Access-Control-Allow-Origin for the exact trusted origin, including scheme and port. Do not blindly reflect arbitrary origins for private APIs.
  3. If the allowed origin is chosen dynamically, validate it against an allowlist and return Vary: Origin so shared caches do not reuse the wrong variant.
  4. Verify application, proxy, and error responses consistently apply the intended policy. If you do not control the API, use its supported integration or ask its owner to allow the origin.
  5. Do not add Access-Control-Allow-Origin to the fetch request or disable browser security. mode: 'no-cors' does not make an opaque response readable.
MDN: CORS header Access-Control-Allow-Origin missing