1106 error
See original GitHub issueI’m getting the following error:
TuyaOpenAPI response: {"code":1106,"msg":"permission deny","success":false,"t":1644045623936} 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 (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:49:11) at processTicksAndRejections (node:internal/process/task_queues:96:5) at TuyaSHOpenAPI.request (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:145:7) at TuyaSHOpenAPI.getDevices (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:63:15) at TuyaPlatform.initTuyaSDK (/homebridge/node_modules/homebridge-tuya-platform/index.js:90:19) Attention⚠️ ⚠️ ⚠️ ! You get an error! Failed to get device information. Please check if the config.json is correct.
The config is correct.The logins are correct. I have checked all the 1106 errors othes had here, but nothing can solve my problem. Homebridge version: 1.0.4 Tuya: 1.5.0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8

Top Related StackOverflow Question
@kareemlukitomo I’ve been struggeling with it for a long time and it seems that you’re right, if there is a special character in the password it doesn’t work. I removed it and suddenly everything works
I solved error code
1106by making sure that I was using the correctusernameandpasswordinhomebridge-tuya-platform’s JSON config.Password123@#Password123. During this step I also bind my phone number to my Tuya account (if that’s somehow needed as well.)1106errors with thepassword: Password123in the JSON config, I tried putting in my original password in step 1Password123@#and somehow it works 🤦♂️I am guessing cached credentials somewhere in server-side. But anyway, that was solved yesterday (on the 10th May). I haven’t tried this plugin again today (assuming the cache may correct itself).
Hope it helps!