Error Codes
đĢ Global Error Codesâ
â ī¸ Note: Error codes are divided into three categories:
- đą Client Error Codes: Range
10000~20000- đĨī¸ Server Error Codes: Range
0~9999- đ Business Server Custom Webhook Error Codes: Range
20001-29999
đĢ Server Error Codesâ
đ¨ Note: The following table contains server error codes and their explanations.
| Error Code | Error Explanation |
|---|---|
| 0 | â Normal |
| 500 | đ¨ Server internal error, usually an internal network error, need to check if the service is normal |
| 1001 | â Parameter error, need to check if the body and header parameters are correct |
| 1002 | đĢ Insufficient permission, usually the token carried in the header parameter is incorrect or permission is exceeded |
| 1003 | đŊ Database primary key duplicate |
| 1004 | đĢ Database record not found |
| 1101 | đĢ User ID does not exist |
| 1102 | đĢ User has already registered |
| 1201 | đĢ Group does not exist |
| 1202 | đĢ Group already exists |
| 1203 | đĢ User is not in the group |
| 1204 | đĢ Group has been dismissed |
| 1205 | đĢ Unsupported group type |
| 1206 | đĢ Group application has been processed, no need to process repeatedly |
| 1301 | đĢ Cannot add yourself as a friend |
| 1302 | đĢ Has been blocked by the other party |
| 1303 | đĢ The other party is not your friend |
| 1304 | đĢ Already a friend relationship, no need to apply repeatedly |
| 1401 | đĢ Message read function is disabled |
| 1402 | đĢ Has been muted, cannot speak in the group |
| 1403 | đĢ Group has been muted, cannot speak |
| 1404 | đĢ The message has been revoked |
| 1405 | đĢ Authorization expired |
| 1501 | đĢ Token has expired |
| 1502 | đĢ Invalid token |
| 1503 | đĢ Token format error |
| 1504 | đĢ Token is not yet effective |
| 1505 | đĢ Unknown token error |
| 1506 | đĢ Kicked out token, invalid |
| 1507 | đĢ Token does not exist |
| 1601 | đĢ Number of connections exceeds the maximum limit of the gateway |
| 1602 | đĢ Connection handshake parameter error |
| 1701 | đĢ File upload expired |