starting to get ERROR : blocked by CORS policy
Hello
From earlier today a project i've been working on has stopped working. It was working for the last couple of weeks with no coding updates in the mean time.
The error i'm only now getting is
"from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
Im transferring four readings from thingspeak to a web page
the get command i'm using is. xhttp.open("GET", "https://api.thingspeak.com/channels/752230/feeds/last", false); xhttp.send();
Why would i only start receiving this error today. If more information is needed i will send it on.
any insights would be much appreciated.
Thanks
Trev
21 Comments
Time DescendingWill appreciate an early response....
Is this issue really fixed?
I have this simple HTML app that makes a request to 'feeds.json': https://github.com/rnswamy1954/Hello-World/blob/master/index.html#L126
I can make the exact same request from CURL/POSTMAN/browser-url and I get the response properly.
But when am trying to load my HTML page, I get response with status = 0 and type = opaque
As you can see, my request is going to api.thingspeak And I do have 'no-cors' in my request header. Any help will be greatly appreaciated
I'm still getting the "CORS Missing Allow Origin" error on the URL https://thingspeak.com/channels/[channelid]/feed.json
This is resolved. If anyone is still seeing issues, please reply to this response.
Thanks for the update.
Just letting you know our web Dashboard is down since this CORS issue came about.
We are aware of this issue and are working on a fix. Thank you for letting us know.