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
  • 🌐 Business Server Custom Webhook Error Codes: Range 20001-29999

đŸšĢ Server Error Codes​

🚨 Note: The following table contains server error codes and their explanations.

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