Error Codes

Last Updated on : 2024-03-04 08:35:04

This topic describes error codes related to the operation of robot vacuum services.

Tuya Tied Things (TTT) plugin

Error code Definition Remark
6 userId is empty/
albumName is empty/
filePath is empty
Parameter format is incorrect.
20001 DeviceId is invalid Parameter format is incorrect.
20021 IThingP2P is null Cannot find service.
70001 P2P connection in progress -
70002 P2P connection failed -
70003 P2P is not connected -
70101 Other files are being uploaded -
70102 File upload cancellation failed uploadFile invoke failed.
70110 On querying file -
70111 File query failed -
70112 Other files are being downloaded -
70113 File download failed -
70114 File download cancellation failed -

RN plugin

Error code Definition Remark
-9000 devId is empty ThingSmartSweeperDevice init error, please check devId.
-9001 SDK dependency error or init error SDK dependency error or init error, please check dependency.
-9002 Is Connencting Is connencting, please wait.
-9003 Offline -
-9004 Timeout -
-9005 No file data -
-9006 Disconnect -

File transfer

Error code Definition Remark
-1 A common error has occurred. -
-10002 The session is invalid. An expired session or invalid session ID is used.
-10003 Timeout. The P2P connection timed out, or the device did not respond.
-10004 The connection is canceled. -
-10006 The device is offline. -
-10008 A device exception has occurred. -
-20001 The command is invalid. An exception has occurred during the function call, such as downloading without a P2P connection.
-20002 The parameter is invalid. -
-20006 This app version does not support the specified device. Update the app.
-30060 An error is returned by the device. -
-30061 An error has occurred while transferring the file. -
-30062 The file does not exist. -
-30063 Failed to create a file. Check whether the path exists or whether you have permission to write the file.
-30064 Too many files to download. The number of files to download exceeds 40 or is 0.
-30065 The name of the file being uploaded is too long. -

P2P connection

Error code Definition
-1 Uninitialized.
-3 Timeout.
-5 The parameter is invalid.
-11 The session is invalid.
-12 The session is closed by the peer end.
-13 The session has been closed.
-14 The session is closed by the app.
-16 The listener is interrupted.
-19 The connection is interrupted.
-23 The maximum number of sessions has been reached.
-24 The preconnection is invalid.
-25 The preconnection is closed.
-26 The preconnection is activated.
-29 The system has run out of memory.
-30 The HTTP API request failed.
-31 The preconnection is not supported.
-100 The peer end is closed, but the reason for the closure is not explained.
-102 The listener for sessions is triggered. However, the device runs in privacy mode, so the requested session is closed.
-103 Failed to create a data sending thread. The requested session is closed.
-104 The maximum number of sessions has been reached. The requested session is closed.
-105 The authentication failed. The requested session is closed.
-106 The session has been closed as expected.
-108 No data communication occurs in a period of more than 20 minutes. The session is closed forcibly.
-109 The session is proactively closed by the device, such as during an update.
-110 The session is disconnected, and the device exits the P2P connection.
-113 The device is processing a call.
-114 Failed to request application resources.