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- đ App Server Custom Webhooks Error Codes: Range
20001-29999
đĢ Server Error Codesâ
đ¨ Attention: The table below contains error codes the server might return and their explanations.
| Error Code | Error Explanation |
|---|---|
| 0 | â No errors |
| 500 | đ¨ Server internal error, usually due to internal network errors, check if all server nodes are running correctly |
| 1001 | â Parameter error, check if body and header parameters are correct |
| 1002 | đĢ Insufficient permissions, usually due to incorrect token in header or unauthorized operations |
| 1003 | đŊ Database primary key duplication |
| 1004 | đĢ Database record not found |
| 1101 | đĢ User ID does not exist |
| 1102 | đĢ User is already registered |
| 1201 | đĢ Group does not exist |
| 1202 | đĢ Group already exists |
| 1203 | đĢ User is not in the group |
| 1204 | đĢ Group has been disbanded |
| 1205 | đĢ Unsupported group type |
| 1206 | đĢ Group application has already been handled, no need to repeat |
| 1301 | đĢ Cannot add oneself as a friend |
| 1302 | đĢ You have been blocked by the other party |
| 1303 | đĢ The other party is not your friend |
| 1304 | đĢ Already friends, no need to reapply |
| 1401 | đĢ Message read feature has been turned off |
| 1402 | đĢ You have been muted, cannot speak in the group |
| 1403 | đĢ Group has been muted, cannot speak |
| 1404 | đĢ The message has been recalled |
| 1405 | đĢ Authorization has expired |
| 1501 | đĢ Token has expired |
| 1502 | đĢ Token is invalid |
| 1503 | đĢ Token format error |
| 1504 | đĢ Token is not yet effective |
| 1505 | đĢ Unknown token error |
| 1506 | đĢ Token has been kicked out, invalid |
| 1507 | đĢ Token does not exist |
| 1601 | đĢ Connection count exceeds gateway limit |
| 1602 | đĢ Connection handshake parameter error |
| 1701 | đĢ File upload has expired |