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.

I'm getting Cross-Origin Request Blocked error since 2 weeks

See original GitHub issue


I was successfully using the library. But since 2 weeks, I started to get CORS error. What is the proper way to fix that?

UPDATE: In Chrome, I am getting following:

Request header field Authorization is not allowed by Access-Control-Allow-Headers

Issue Analytics

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

github_iconTop GitHub Comments

tockercommented, Aug 27, 2015

@burakkilic I found that other libraries are adding the Authorization header to the request. One such library is Satellizer.js.

@spacepang’s suggestion (skipAuthorization) works for satellizer too.

If you are still experiencing this issue, verify that other scripts are not modifying the request. (In Angular this is normally done using $httpProvider.interceptors.)

I’m closing this ticket as it is not a cloudinary_angular issue. However please feel free to open an issue here or at if you still have a problem.

I’d appreciate it if you drop a note here if you manage to solve the issue too!

burakkiliccommented, May 14, 2015

But I do not send the Authorization header. Also it is not seen in the screenshots above.

I also added

headers: {
                'Authorization': undefined

to my request but nothing has changed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is a CORS Error and How to Fix It (3 Ways) - Bannerbear
A CORS error is common when making an HTTP request to another origin. You can get rid of it using one of the...
Read more >
CORS errors and how to solve them - Topcoder
CORS is an abbreviation for Cross-Origin Response Sharing. It is what allows the website on one URL to request data from a different...
Read more >
I got a CORS error, now what? - DEV Community ‍ ‍
The reason is when a CORS error appears, your browser immediately discards the error data to prevent it from being used maliciously.
Read more >
How to fix a CORS (cross origin request) error for local host in ...
If you are getting a CORS ( cross origin request ) error when trying to display a localhost webpage there may be an...
Read more >
Fix CORS Error Permanently Regardless of Your Web App
By the end of this section, you'll know how to get rid of the ugly CORS error permanently no matter what type of...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found