question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XMLHttpRequest cannot load ...

See original GitHub issue

Hi, I´ve spent two days trying to use cloudinay angular in my angular project but I have always the same problem and I don’t know how to solve it.

Has someone experience with this error?

XMLHttpRequest cannot load https://api.cloudinary.com/v1_1/djhqderwy/upload. Request header field Authorization is not allowed by Access-Control-Allow-Headers.

Thanks in advance

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tockercommented, Apr 15, 2015

Hi @wikett,

You should not send the Authorization header field in the API. BTW, you can see which fields are acceptable in any server by examining the Access-Control-Allow-Headers header in a pre-flight response (more).

You can look at the sample project for code examples.

Let us know if you solved this issue. Feel free to contact our support for any issue.

tocker

0reactions
MYasirSheikhcommented, Jul 5, 2016

I am using token based Authentication (jwt) for my app which adds a header. I tried the above method which does not work. Is there any other way to get through this problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

XMLHttpRequest cannot load.? - javascript - Stack Overflow
You cannot issue requests through the XMLHttpRequest to other domains or subdomains. If you are issuing the request from www.foo.com you also need...
Read more >
XMLHttpRequest cannot load XXX - Error Troubleshooting
Cause. You are uploading or downloading to/from a web server which is in a different domain than your current website and that web...
Read more >
Error 'XMLHttpRequest cannot load, No Access-Control-Allow ...
You may have a problem with an embedded Visualforce page for custom objects that include custom components. The page might be embedded on...
Read more >
XMLHttpRequest cannot load Response to preflight request ...
Hi i am uploading 10MB to 500 MB large video files to Amazon S3 bucket but during video file upload after reaching 20%...
Read more >
XMLHttpRequest cannot load ... due to access control checks
Have in mind that most of the endpoints (and associated scopes) associated with the Management API are intended for sensitive operation that ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found