This topic describes error codes related to the operation of robot vacuum services.
Tuya Tied Things (TTT) plugin
| Error code |
Definition |
| 6 |
The parameter format is incorrect. |
| 7 |
Initialization failed. |
| 20001 |
The device ID is invalid. |
| 20021 |
The server cannot be found. |
| 70001 |
The P2P connection is being created. |
| 70002 |
Connection failed. |
| 70003 |
The P2P connection is not created. |
| 70101 |
Another file is being uploaded. |
| 70102 |
Failed to upload the file. |
| 70103 |
Failed to cancel file upload. |
| 70110 |
Querying the file is in progress. |
| 70111 |
Failed to query the file. |
| 70112 |
Another file is being downloaded. |
| 70113 |
Failed to download the file. |
| 70114 |
Failed to cancel file download. |
RN plugin
| Error code |
Definition |
Remarks |
| -9000 |
The device ID is empty. |
- |
| -9001 |
Internal error. |
- |
| -9002 |
The P2P connection is being created. |
Connecting, please wait. |
| -9003 |
The specified device is offline. |
- |
| -9004 |
A timeout has occurred. |
- |
| -9005 |
No map files are found. |
- |
| -9006 |
The P2P connection is closed. |
- |
File transfer
| Error code |
Definition |
Remarks |
| -1 |
A common error has occurred. |
- |
| -10001 |
The device is not connected. |
- |
| -10002 |
The session is invalid. |
An expired session or invalid session ID is used. |
| -10003 |
A timeout has occurred. |
The P2P connection timed out, or the device did not respond. |
| -10004 |
The connection is canceled. |
- |
| -10006 |
The device is offline. |
- |
| -10007 |
The user canceled the operation. |
- |
| -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. |
- |
| -20003 |
The data is invalid. |
- |
| -20004 |
The operation is interrupted. |
- |
| -20005 |
The operation is not allowed. |
- |
| -20006 |
This app version does not support the specified device. |
Update the app. |
| -20007 |
The device is busy. |
- |
| -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 |
A timeout has occurred. |
| -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. |