Skip to content

Error:There was an issue fetching that device. Make sure your account is linked and the ID is correct. #181

@robindesvils

Description

@robindesvils

Hello,

I live in Quebec or Eastern Canada:
For my project I have choosen Eastern america data center. I get the error:
There was an issue fetching that device. Make sure your account is linked and the ID is correct.

Any cue will be helpful.

Thanks.

fl@Satellite-Z930:~$ DEBUG=* tuya-cli wizard ? The API key from tuya.com: nvyf3urgk9sjr9umwgjg ? The API secret from tuya.com 43a6058aa511453696f33b0bf9bb30a1 ? Provide a 'virtual ID' of a device currently registered in the app: ebe3f2702d4d56589apk6f follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/token?grant_type=1', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116199651', sign: 'A3E7465351AC81AC5018658632D0D1966A9636B1F28B35A9CE17A4CEF9E45B0C', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: '', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'User-Agent': 'axios/0.21.4' }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyaeu.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +0ms follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/token?grant_type=1', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116199654', sign: 'C96951A358F6D5BBB3D8D7FD0F2D271DDAAD769CFC8B404CF5C4E8FEF98A4CCE', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: '', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'User-Agent': 'axios/0.21.4' }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyaus.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +52ms follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/token?grant_type=1', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116199655', sign: 'FBA0D661CEF66243BC5FE0FFD341993694092C06DEB469558D9A3EDDFEBDC75D', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: '', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'User-Agent': 'axios/0.21.4' }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyacn.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +4ms follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/token?grant_type=1', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116199655', sign: 'FBA0D661CEF66243BC5FE0FFD341993694092C06DEB469558D9A3EDDFEBDC75D', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: '', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'User-Agent': 'axios/0.21.4' }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyain.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +2ms follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/devices/ebe3f2702d4d56589apk6f', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116200151', sign: '4DE621E4E9C3B69C4FD69AE17C6534D108B037C1302E24BDA7B92C1B9CA9FFA7', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: '5d1a296e3b229d2fef3408f64cf52518', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'Content-Type': 'application/json', 'User-Agent': 'axios/0.21.4', 'Content-Length': 2 }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyaeu.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +423ms follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/devices/ebe3f2702d4d56589apk6f', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116200180', sign: '4C0F529746E9B6A3AFFC1EFC42F975029CEE0C84122BBA39F9D636612844F421', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: 'e7d24cc46495ea3f800e38d690889257', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'Content-Type': 'application/json', 'User-Agent': 'axios/0.21.4', 'Content-Length': 2 }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyaus.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +25ms follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/devices/ebe3f2702d4d56589apk6f', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116200787', sign: '9C7627B20F86BCE4BFE5171B9E5D1FA76AC6C28C095C4B788A69C8242F4A26A5', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: '0384c2712768bba2b1dcf82f57a28f31', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'Content-Type': 'application/json', 'User-Agent': 'axios/0.21.4', 'Content-Length': 2 }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyain.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +607ms follow-redirects options { maxRedirects: 21, maxBodyLength: 10485760, protocol: 'https:', path: '/v1.0/devices/ebe3f2702d4d56589apk6f', method: 'GET', headers: { Accept: 'application/json, text/plain, */*', t: '1746116201317', sign: 'F98DEDAA902CCA39EFBB5E1BF17EFEAA1B2C891A060A7198E57543150F0DAAE6', client_id: 'nvyf3urgk9sjr9umwgjg', sign_method: 'HMAC-SHA256', access_token: 'd7b196cc0b739f173ec75a86bd1f2f02', Dev_lang: 'Nodejs', Dev_channel: 'SaaSFramework', 'Signature-Headers': '', 'Content-Type': 'application/json', 'User-Agent': 'axios/0.21.4', 'Content-Length': 2 }, agent: undefined, agents: { http: undefined, https: undefined }, auth: undefined, hostname: 'openapi.tuyacn.com', port: null, nativeProtocols: { 'http:': { _connectionListener: [Function: connectionListener], METHODS: [Array], STATUS_CODES: [Object], Agent: [Function], ClientRequest: [Function: ClientRequest], IncomingMessage: [Function: IncomingMessage], OutgoingMessage: [Function: OutgoingMessage], Server: [Function: Server], ServerResponse: [Function: ServerResponse], createServer: [Function: createServer], get: [Function: get], request: [Function: request], maxHeaderSize: [Getter], globalAgent: [Getter/Setter] }, 'https:': { Agent: [Function: Agent], globalAgent: [Agent], Server: [Function: Server], createServer: [Function: createServer], get: [Function: get], request: [Function: request] } } } +528ms [ Error: 28841107: No permission. The data center is suspended.Please go to the cloud development platform to enable the data center. at /usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:77:11 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Promise.all (index 0) at async list (/usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:64:28), Error: 28841107: No permission. The data center is suspended.Please go to the cloud development platform to enable the data center. at /usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:77:11 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Promise.all (index 1) at async list (/usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:64:28), Error: 28841107: No permission. The data center is suspended.Please go to the cloud development platform to enable the data center. at /usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:77:11 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Promise.all (index 2) at async list (/usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:64:28), Error: 28841107: No permission. The data center is suspended.Please go to the cloud development platform to enable the data center. at /usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:77:11 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Promise.all (index 3) at async list (/usr/local/lib/node_modules/@tuyapi/cli/lib/wizard.js:64:28) ] There was an issue fetching that device. Make sure your account is linked and the ID is correct. fl@Satellite-Z930:~$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions