Kaco Posted August 28, 2024 Posted August 28, 2024 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) French German Italian Polish Portuguese (European) Spanish
tvbshelly Posted August 28, 2024 Posted August 28, 2024 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) French German Italian Polish Portuguese (European) Spanish
Kaco Posted August 28, 2024 Author Posted August 28, 2024 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) French German Italian Polish Portuguese (European) Spanish
DerGaertner420 Posted November 30, 2024 Posted November 30, 2024 same issue here Quote Translate Revert translation? English (American) French German Italian Polish 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.