Page 1 of 1

Login error with tuya-iot-python-sdk.

Posted: 2024年 Dec 13日 06:46
by zing0000

I have a working IOT device and IOS Application. I am trying to monitor the device with a desktop application using the tuya-iot-python-sdk. However, the login process fails. The Powershell dialog looks like this,

  • Restarting with stat
    [2024-12-12 14:23:32,546] [tuya-openapi] Request: method = POST, url = https://openapi.tuyacn.com/v1.0/iot-03/users/login, params = None, body = {'username': 'guy@uncutaudio.com', 'password': '***'}, t = 1734042212545
    [2024-12-12 14:23:33,898] [tuya-openapi] Response: {
    "code": 2401,
    "msg": "username or password wrong",
    "success": false,
    "t": 1734042213847,
    "tid": "b94652c9b8d711efb0707e704dfde674"
    }

The credentials work fine for logging in to my Developer Account.
Any ideas?