question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
rpodwikacommented, May 24, 2022

@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

1reaction
kareemlukitomocommented, May 11, 2022

I solved error code 1106 by making sure that I was using the correct username and password in homebridge-tuya-platform’s JSON config.

  1. Intially my password during first registration was Password123@#
  2. Then I saw in another thead “try remove any symbol from password” so I change my auth.tuya.com account’s password to Password123. During this step I also bind my phone number to my Tuya account (if that’s somehow needed as well.)
  3. After noticing the 1106 errors with the password: Password123 in the JSON config, I tried putting in my original password in step 1 Password123@# 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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

1106 appears when trying to view streaming services on my TV
This error may appear when playing videos from an app or when Refresh Internet Content is performed. Follow these instructions to resolve the ......
Read more >
How to resolve if error 1106 appears when trying to ... - Sony UK
To solve this, check the Internet connection by pressing the Home or Menu button from the supplied remote control and select Settings >...
Read more >
Error: 1106 appears when trying to view an Internet video on ...
This error is displayed when an Internet content is selected or Refresh Internet Content is executed. First, execute Internet Connectivity Symptoms.
Read more >
How to fix the issue reported by error code "Error 1106"
If you have received this warning on your PC, it means that there was a malfunction in your system operation. Error code "Error...
Read more >
Error: 1107, 2123, or 1106 appears during software update.
Error: 1107, 2123, or 1106 appears during software update. · Please check network condition: Press the HOME button on remote. · If the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found