Skip to main content

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 CodeError 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