Tuya API Stuck at 1004 Invalid sign
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