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)
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)