| CONNECT_SUCCESS | 0 | Connection succeeded |
| CONNECT_ERROR | 11000 | Default error |
| CONNECT_APPKEY_IS_REQUIRE | 11001 | Appkey not provided |
| CONNECT_TOKEN_NOT_EXISTS | 11002 | Token not provided |
| CONNECT_APPKEY_NOT_EXISTS | 11003 | Appkey does not exist |
| CONNECT_TOKEN_ILLEGAL | 11004 | Invalid Token |
| CONNECT_TOKEN_UNAUTHORIZED | 11005 | Token is unauthorized |
| CONNECT_TOKEN_EXPIRE | 11006 | Token has expired |
| CONNECT_UNSUPPORT_PLATFORM | 11008 | Unsupported platform type |
| CONNECT_APP_BLOCKED | 11009 | App is blocked |
| CONNECT_USER_BLOCKED | 11010 | User is blocked |
| CONNECT_USER_KICKED | 11011 | Kicked offline |
| CONNECT_USER_LOGOUT | 11012 | Logged out |
| PB_ERROR | 11100 | Failed to parse input PB |
| GROUP_NOT_EXISTS | 13001 | Group does not exist |
| CONNECT_FORBIDDEN | 21000 | Connection forbidden |
| ILLEGAL_PARAMS | 25000 | Missing parameters. Check the supplied parameters. |
| CONNECTION_EXISTS | 25001 | Connection already exists |
| CONNECTION_NOT_READY | 25002 | Connection does not exist |
| ILLEGAL_TYPE_PARAMS | 25003 | Incorrect parameter type |
| COMMAND_FAILED | 25004 | Send timed out; connection exception |
| UPLOAD_PLUGIN_ERROR | 25005 | File upload component is empty |
| UPLOAD_PLUGIN_NOTMATCH | 25006 | File upload component does not match OSS storage |
| UPLOADING_FILE_ERROR | 25007 | File upload failed. Try again. |
| TRANSFER_MESSAGE_COUNT_EXCEED | 25008 | Maximum of 20 messages per merged forwarding operation |
| DATABASE_NOT_OPENED | 25009 | Local database connection not established. Call the connection method first. |
| SDK_FUNC_NOT_DEFINED | 25010 | Method is not implemented. Verify the SDK version. |
| SEND_REFER_MESSAGE_ERROR | 25011 | A complete Message object is required for a referenced message |
| IM_SERVER_CONNECT_ERROR | 25012 | IM service connection failed. Check whether the current device network is available. |
| ILLEGAL_PARAMS_EMPTY | 25013 | Parameters cannot be empty. Check the supplied parameters. |
| REPREAT_CONNECTION | 25014 | The SDK is connecting internally; do not call connect again. |
| MESSAGE_SEND_REPETITION | 25015 | Duplicate message send. The same tid is already being sent; do not send it again. |
| MESSAGE_RECALL_SUCCESS | 21200 | Message recalled successfully |