English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

Why is permission deny returned when querying device details?

Last Updated on2023-01-30 09:47:33
1. Tuya provides three dimensions for developers to pull: application dimension, product dimension, and account dimension.
Application dimension: The user bound to the device belongs to the developer's user in the Tuya Cloud application, and the developer indirectly has the authority to operate the device belonging to the user of his own application;
Account dimension: The device bound to Tuya Smart and Smart Life App needs to be authorized to the cloud project by scanning the code, and the cloud project has the permission to call;
Product dimension (only other types of projects created before March 24, 2021 support this function): The product to which the device belongs belongs to the developer's device in the Tuya Cloud product, and the developer has operating permissions for this type of device.
When "permission deny" appears when calling the device-related interface, you can check whether it meets the above three permission dimensions. This is the most common possible cause.
Reference document: https://developer.tuya.com/en/docs/iot/link-devices?id=Ka471nu1sfmkl
2. Please confirm whether the device has been unbound and not under your authorized App.

Click for services and help

Help Center