I have seen this question a lot on Stack Overflow with no explanation of it's meaning
. Can someone explain what this error actually means?
Request header field Authentication is not allowed by Access-Control-Allow-Headers.
I am getting a strange error in my application.
If you open http://verse-pack.herokuapp.com/#/pack and click on the search I receive the error above.
However if you refresh the page from the search route(i.e http://verse-pack.herokuapp.com/#/search), no error occurs. Any help in understanding the problem or helping me overcome this problem would be appreciated! Thank you.
I am currently using a Node.js,Express.js,and Angular.js Stack.
Here is the code that is causing the error (API Key has been switched out)
$http.get("http://api.biblia.com/v1/bible/contents/LEB?key=abc123", {headers: {'Authentication': '*'}}).success(function(data) {
console.log("What");
$scope.tof = data;
});