tuya / tuya-homebridge

Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
MIT License
332 stars 168 forks source link

Error 1106 Troubleshooting Failing #360

Closed polycat33 closed 11 months ago

polycat33 commented 1 year ago

I'm getting error 1106, I have tried using both my Tuya Cloud password and my Tuya Smart app password, tried with and without a Config specified endPoint, in Western US so Country Code is 1, definitely using TuyaSmart schema.

Error from log:

TuyaOpenAPI response: {"code":1106,"msg":"permission deny","success":false,"t":1685072830967,"tid":"fe96059cfb7711ed87b286c52d5c7103"} path = /v1.0/iot-01/associated-users/actions/authorized-login TypeError: Cannot destructure property 'access_token' of 'res.result' as it is undefined. at TuyaSHOpenAPI._refreshAccessTokenIfNeed (/usr/lib/node_modules/homebridge-tuya-platform-talrhvfork/lib/tuyashopenapi.js:49:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at TuyaSHOpenAPI.request (/usr/lib/node_modules/homebridge-tuya-platform-talrhvfork/lib/tuyashopenapi.js:145:7) at TuyaSHOpenAPI.getDevices (/usr/lib/node_modules/homebridge-tuya-platform-talrhvfork/lib/tuyashopenapi.js:63:15) at TuyaPlatform.initTuyaSDK (/usr/lib/node_modules/homebridge-tuya-platform-talrhvfork/index.js:95:19)

github-actions[bot] commented 1 year ago

Thank you for your feedback, we will solve this issue soon

github-actions[bot] commented 11 months ago

Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.