Reason: CORS header ‘Origin’ cannot be added

Our volunteers haven't translated this article into Türkçe yet. Join us and help get the job done!
You can also read the article in English (US).


Reason: CORS header ‘Origin’ cannot be added

What went wrong?

The user agent was unable to add the required Origin header to the HTTP request. All CORS requests must have an Origin header.

This can happen if the JavaScript code is running with enhanced privileges allowing it access to multiple domains' content, for example.

See also

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, MarinusSwan, Sheppy
Last updated by: mdnwebdocs-bot,