Reason: CORS request external redirect not allowed
The browser rejected a cross-origin redirect in this CORS request. An outdated API URL, authentication redirect, or canonical-host redirect can send the request somewhere other than the endpoint the client intended.
Reason: CORS request external redirect not allowed
Why it happens
The API moved to another origin but the client still calls its old URL.
An authentication layer redirects an API request to a login page.
Canonical-host or scheme routing adds a redirect before the API response.
How to fix it
Inspect the redirect status and Location header in the Network panel and confirm the destination is the intended trusted API.
Update the client to call the verified final URL directly, avoiding the failing redirect. Check that the destination permits the calling origin.
If the destination is a login page rather than an API, correct the API authentication flow instead of forwarding credentials to an arbitrary redirect target.
Retest the actual method and any preflight in the browser. Do not disable CORS enforcement or treat every redirect destination as trusted.