@tiaguituh05 In case you’re getting the Invalid token response from the HTTPS API,
and you’re sure the device auth token is correct - it could be a GEO DNS issue.
Hi @john93
Yes I’m sure the token is correct, as I can call the service via postman.
How do I overcome the GEO DNS issue?
I’ve tried to manually ping blynk.cloud server from my cmd, and use the ip adress on voiceflow, now I get a 500 - Internal error
Thank you,
Tiago Silva
show me the URL you’re using please ?
Hi, it is like the following:
https://blynk.cloud/external/api/update?token=xpto&v1=1
This one gives me the invalid token error.
Trying to replace by the IP address my computer resolves for the blynk.cloud DNS, gives me the 500 internal error
Both work on postman or browser.
Thank you
Due to current GeoDNS settings you need to put server address with suffix manually depending on your region:
https://fra1.blynk.cloud/ – Frankfurt
https://lon1.blynk.cloud/ – London
https://ny3.blynk.cloud/ – New York
https://sgp1.blynk.cloud/ – Singapore
https://blr1.blynk.cloud/ – Bangalore
The server region could be found in the bottom right corner of the web console ( blynk.cloud ).
Holy moly, that was it!
Logged on into my blynk cloud account and indeed noticed it was in the london region on the bottom right.
Addind the lon1 prefix to the request solved it.
Can’t thank you enough @John93
If you need any help, feel free to ask
Have a great day.
I was just following the conversation and was wondering: whose GeoDNS settings? Is it the servers (Blynk or Voiceflow?) or your own device when you send that request via your browser?
It’s blynk server address.
Sir, I saw this post i’m having the same problem I would really appreciate your help if you could help me solve this. i tried everything still I get this error
@John93
Sir, I saw this post i’m having the same problem I would really appreciate your help if you could help me solve this. i tried everything still I get this error.
Hello @GhaziTrueAlpha
I will help you, but first you should provide as much detail as possible, otherwise I can’t do anything.
okay i will i have the same problem as him
actually I’m requesting temperature data from it to automate stuff and want to store it in a variable which can then be used to compare if and else conditions and also as a reply for what temperature is there. @John93