HTTPS API Troubleshooting

  • All HTTPS API are case-sensitive. Request path and query parameters letter-case shouldn't be changed.

  • 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.

You can get the Device auth token in Device info.

Using the wrong region will result in an HTTP status of 308 Permanent Redirect with the correct URL in the Location header value in the response. The device must repeat the request with the correct URL and save the correct region for future requests. Example HTTP redirect response:

HTTP/1.1 308 Permanent Redirect
Content-Length: 0
Location: https://ny3.blynk.cloud/external/api/isHardwareConnected?token=P-0ekUL3EjrEkE_UnIIzsIggqyQXYd0z

Last updated

Was this helpful?