Reason: CORS request external redirect not allowed
Reason
Reason: CORS request external redirect not allowed
In this article
What went wrong?
TheCORS request was responded to by the server with an HTTP redirectto a URL on a different origin than the original request, which is not permitted duringCORS requests.
For example, if the pagehttps://service.tld/fetchdata were requested, andthe HTTP response is "301 Moved Permanently", "307 Temporary Redirect", or "308Permanent Redirect" with aLocation ofhttps://anotherservice.net/getdata, the CORS request will fail in thismanner.
To fix the problem, update your code to use the new URL as reported by the redirect,thereby avoiding the redirect.
See also
- CORS errors
- Glossary:CORS
- CORS introduction