Kaco Posted August 28 Posted August 28 pls some help me, i have problem with api use this for check data from cloud  {    url: "https://shelly-24-eu.shelly.cloud/device/status",    headers: { "Authorization": "Bearer " + apiToken },    query: { id: deviceID },   }, i have right API token from app and not work still same phrase with invalid token {"isok":false,"errors":{"invalid_token":"The login information is invalid! Please login again!"}} i have premium account .... where is problem, have bad url ? or ? in local network all work well very thx for information 🙂 Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish
tvbshelly Posted August 28 Posted August 28 Pls. try this URL: https://shelly-24-eu.shelly.cloud/device/status?id=xxx&auth_key=xxxx The hint comes from here: Â Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish
Kaco Posted August 28 Author Posted August 28 Quote thx i modify but have other problem 🙂   let url = "https://shelly-24-eu.shelly.cloud/device/status?id=" + encodeURIComponent(deviceID) + "&auth_key=" + encodeURIComponent(apiToken);  my device ID not been connected to the cloud 🙂 show my app but not connected wtf 🙂 Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish
DerGaertner420 Posted Saturday at 10:53 PM Posted Saturday at 10:53 PM same issue here Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.