Sign Invalid Postman Environment and Call API Operations

Discussing technical aspects of Yun development products, including IoT Core and other cloud service APIs, data analysis products, etc.


Post Reply
underpargolf
Posts: 2

Hi, I downloaded the latest Postman environment (2024-06-21) from the Tuya website and filled in all the required environment variables. However, when I try to make a call to {{url}}/v1.0/token?grant_type=1, I receive the following response:

Code: Select all

{
    "code": 1004,
    "msg": "sign invalid",
    "success": false,
    "t": 1748749808803,
    "tid": "830d03c33e9b11f0882d7aae41456631"
}

I'm using https://openapi.tuyaeu.com as the url since I'm located in Singapore, and I've double-checked that the client_id, secret, and device_id are all correctly filled in.

volk
Posts: 1

Re: Sign Invalid Postman Environment and Call API Operations

Hey me too i got the same problem i've done checking all the cliend id secret etc etc still same, well fyi u can check ur sign value here https://en.gseen.com/online_tools/encryption/hash

underpargolf
Posts: 2

Re: Sign Invalid Postman Environment and Call API Operations

any updates on this?

Post Reply