Page 1 of 1

Tuya API Stuck at 1004 Invalid sign

Posted: 2023年 Nov 30日 18:07
by cperesso

Hi all I'm new to this and and so far I managed to get the token (I can print $access_token and it matches with the one on postman) but I cant get past the error 1004. I went all through the documentation but I cannot find what I'm doing wrong. All I'm getting is {"code":1004,"msg":"sign invalid","success":false,"t":1699465157510,"tid":"bdb815d97e5d11eea3b2361f03176748"}

Attached please find my code


Re: Tuya API Stuck at 1004 Invalid sign

Posted: 2023年 Nov 30日 18:10
by cperesso

I cannot attach the code. Im getting a 'Forbidden' error. Can someone please send me a private message so I can send the code


Re: Tuya API Stuck at 1004 Invalid sign

Posted: 2023年 Nov 30日 20:59
by panda-cat

hi, you can send me the code you requested. In addition, I see that the request result you posted earlier was a long time ago. Can you try the request again and see the result? :geek: :geek: :geek:


Re: Tuya API Stuck at 1004 Invalid sign

Posted: 2023年 Nov 30日 21:03
by panda-cat