Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to add devices to HomeKit getting error 2406 #143

Closed
balajikhandekar opened this issue Oct 31, 2021 · 4 comments
Closed

unable to add devices to HomeKit getting error 2406 #143

balajikhandekar opened this issue Oct 31, 2021 · 4 comments

Comments

@balajikhandekar
Copy link

Hello,

I am getting following error while adding tuya plugin to homebridge.
I read somewhere in documentation that project should be created after may 25, 2021 and it should be paas.
My project is created today(31 Oct 2021) and its with Paas as stated in documentation.

Any pointers what's going on wrong here?

Error below

TuyaOpenAPI response: {"code":2406,"msg":"skill id invalid","success":false,"t":} 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/lib/tuyashopenapi.js:48:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at TuyaSHOpenAPI.request (/usr/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:144:7)
at TuyaSHOpenAPI.getDevices (/usr/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:62:15)
at TuyaPlatform.initTuyaSDK (/usr/lib/node_modules/homebridge-tuya-platform/index.js:90:19)
Attention⚠️ ⚠️ ⚠️ ! You get an error!

@github-actions
Copy link

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

@polmonta
Copy link

polmonta commented Nov 1, 2021

@balajikhandekar #144

@Hanh94
Copy link
Contributor

Hanh94 commented Nov 3, 2021

Please see #134 (comment)

@balajikhandekar
Copy link
Author

Thanks @polmv123 ,

changing url in tuya config worked like charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants