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.

Code 2406 skill id invalid

See original GitHub issue

How to solve:

TuyaOpenAPI response: {“code”:2406,“msg”:“skill id invalid”,“success”:false,“t”:1622204992541} path = /v1.0/iot-01/associated-users/actions/authorized-login (node:28565) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property ‘access_token’ of ‘res.result’ as it is undefined. at TuyaSHOpenAPI._refreshAccessTokenIfNeed (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:45:10) at processTicksAndRejections (internal/process/task_queues.js:93:5) at TuyaSHOpenAPI.request (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:128:5) at TuyaSHOpenAPI.getDevices (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:58:15) at TuyaPlatform.initTuyaSDK (/usr/local/lib/node_modules/homebridge-tuya-platform/index.js:76:17) (Use node --trace-warnings ... to show where the warning was created) (node:28565) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:28565) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

using:

tuyaSmart europe

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
codyc1515commented, Jun 1, 2021

Hi @lodev09 , as the new update for Tuya Homebridge plugin only works for new projects created after 25th May, 2021. If your project is created weeks ago, then please recreate a new cloud project of “Smart Home PaaS” type by following the documentation above. If you have exceeded the limit of creating cloud project for free account (Only two projects), please create a new Tuya IoT Platform account and create the cloud project again. Hope this helps!

This seems like the most difficult possible way to do things. Is there no other way?

0reactions
Hanh94commented, Aug 10, 2021

Hi guys, Since we haven’t received your reply for a long time, we think our latest version should have solved your problem. We will close this issue first. If there is any problem, you can contact us at any time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tuya Integration - Error 2406: skill id invalid
unlink project from “Smart Life” App · go to tuya ios development website · go to cloud section · clicked on my already...
Read more >
2406 skill id invalid #613 - tuya/tuya-home-assistant - GitHub
Hi @mifrith @Hennie59 @mazzy89 , this error is caused by the cross-region API calls prohibition. The Tuya v2 has bug in the config_flow.py...
Read more >
Tuya Integration Login error (2406): skill id invalid - Reddit
Tuya Integration Login error (2406): skill id invalid. There they say for this error (2406) says the project have to made after march...
Read more >
Set Up Tuya Integration (Stable) in Home Assistant
Error code sample: [tuya-openapi] Response: { "code": 2406, "msg": "skill id invalid", "success": false, "t": 1624477851701 } ...
Read more >
[BETA] Tuya Cloud Driver (Limited device support)
Tuya Integration error: code: 2406 | msg: 'skill id invalid' · Login to the Tuya IoT platform. · One the left side menu,...
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