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
Observed message
Reason: CORS header 'Access-Control-Allow-Origin' missing
Why it happens
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.
How to fix it
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.
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.
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.
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.
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.