-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I Have provisioned new key-secret pair and executing the example script
const Cloud = require('@tuyapi/cloud');
let api = new Cloud({key: '****', secret: '************************'});
api.register({email: 'bb*******l.com', password: '*******'}).then(async sid => {
let token = await api.request({action: 'tuya.m.device.token.create', data: {'timeZone': '-05:00'}});
console.log(token) // => { secret: '0000', token: '01010101' }
});
I get:
throw new TuyaCloudRequestError({code: data.errorCode, message: data.errorMsg});
^
TuyaCloudRequestError: SING_VALIDATE_FALED_4
at TuyaCloud.request (node_modules/@tuyapi/cloud/index.js:253:13)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async TuyaCloud.register (node_modules/@tuyapi/cloud/index.js:278:23) {
code: 'SING_VALIDATE_FALED_4'
Does Tuya still support this method of signature/authentication?
Similar to #2 Probably not;
Metadata
Metadata
Assignees
Labels
No labels