tuya_error_code.h includes the definitions of the common error codes, where you can search for the error code.
Check error code: #define OPRT_SVC_HTTP_API_TOKEN_EXPIRE (-0x110e) // -4366, token expired.
Reason: The description of the error code indicates that the activation token has expired. Try activating the device again and check if the UUID has already been used for another device.