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.

tuya-cli link: Device(s) failed to be registered! Error: sign invalid

See original GitHub issue

I have an Issue registering my devices:

tuya-cli link --api-key xxx --api-secret xxx --schema xxx --ssid xxx --password xxx --region eu ✖ Device(s) failed to be registered! Error: sign invalid at OpenAPI._client.got_1.default.extend.hooks.afterResponse.response (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/@tuyapi/link/node_modules/@tuyapi/openapi/dist/api.js:68:31) at EventEmitter.emitter.on (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/got/dist/source/as-promise.js:87:38) at process._tickCallback (internal/process/next_tick.js:68:7)

I already triple checked the api-key, api-secret and schema parameters and don’t know what could be the issue.

On iot.tuya.com there is a note stating: “To better secure your cloud development, Tuya will upgrade the signature algorithm. Projects created after June 30, 2021 are subject to signature verification with the new algorithm. View details.” Maybe this has something to do with it.

I would appreciate some help.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
codethewebcommented, Jul 19, 2021
0reactions
promycommented, Jul 13, 2021

I am running into the same issue 😉 Does it require @codetheweb to change something, or is it something i need to change on my raspberry pi (sorry, only a noob hobby programmer…)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve it if the calling interface has an error code
1) The device id is wrong. Note that the device id is not uuid. 2) The area url is wrong. Pay attention to...
Read more >
Tuya Device not connect - General - Node-RED Forum
I have created a project on the Tuya platform and can find the thermostat and ... but I got the "Device(s) failed to...
Read more >
Smart Tuya Cloud integration with Raspberry PLC with Python
TinyTuya has a built in setup Wizard that uses the Tuya IoT Cloud Platform to generate a. JSON list (devices.json) of all your...
Read more >
Sylvania Smart+ WiFi - #42 by quagmirert - Feature Requests
Simply running the tuya-cli wizard command enumerated a different key than ... using the “Linking a Tuya device with Smart Link” section.
Read more >
homebridge-tuya-platform-feit-shop-light - npm package - Snyk
Note that the app account must be the one you used to link devices with your cloud project on the Tuya IoT Platform....
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