Web IM API 常见错误码
定义 | 描述 | 可能原因 |
---|---|---|
0 | WEBIM_CONNCTION_USER_NOT_ASSIGN_ERROR | |
1 | WEBIM_CONNCTION_OPEN_ERROR | |
2 | WEBIM_CONNCTION_AUTH_ERROR | |
3 | WEBIM_CONNCTION_OPEN_USERGRID_ERROR | |
4 | WEBIM_CONNCTION_ATTACH_ERROR | |
5 | WEBIM_CONNCTION_ATTACH_USERGRID_ERROR | |
6 | WEBIM_CONNCTION_REOPEN_ERROR | |
7 | WEBIM_CONNCTION_SERVER_CLOSE_ERROR | 客户端网络中断 (net::ERR_INTERNET_DISCONNECTED) |
8 | WEBIM_CONNCTION_SERVER_ERROR | 多端登录,被踢下线 |
9 | WEBIM_CONNCTION_IQ_ERROR | |
10 | WEBIM_CONNCTION_PING_ERROR | |
11 | WEBIM_CONNCTION_NOTIFYVERSION_ERROR | |
12 | WEBIM_CONNCTION_GETROSTER_ERROR | |
13 | WEBIM_CONNCTION_CROSSDOMAIN_ERROR | |
14 | WEBIM_CONNCTION_LISTENING_OUTOF_MAXRETRIES | |
15 | WEBIM_CONNCTION_RECEIVEMSG_CONTENTERROR | |
16 | WEBIM_CONNCTION_DISCONNECTED | 服务端关闭了websocket链接 |
17 | WEBIM_CONNCTION_AJAX_ERROR | |
18 | WEBIM_CONNCTION_JOINROOM_ERROR | |
19 | WEBIM_CONNCTION_GETROOM_ERROR | |
20 | WEBIM_CONNCTION_GETROOMINFO_ERROR | |
21 | WEBIM_CONNCTION_GETROOMMEMBER_ERROR | |
22 | WEBIM_CONNCTION_GETROOMOCCUPANTS_ERROR | |
23 | WEBIM_CONNCTION_LOAD_CHATROOM_ERROR | |
24 | WEBIM_CONNCTION_NOT_SUPPORT_CHATROOM_ERROR | |
25 | WEBIM_CONNCTION_JOINCHATROOM_ERROR | |
26 | WEBIM_CONNCTION_QUITCHATROOM_ERROR | |
27 | WEBIM_CONNCTION_APPKEY_NOT_ASSIGN_ERROR | |
28 | WEBIM_CONNCTION_TOKEN_NOT_ASSIGN_ERROR | |
29 | WEBIM_CONNCTION_SESSIONID_NOT_ASSIGN_ERROR | |
30 | WEBIM_CONNCTION_RID_NOT_ASSIGN_ERROR | |
31 | WEBIM_CONNCTION_CALLBACK_INNER_ERROR | 处理下行消息出错,try/catch抛出异常 |
32 | WEBIM_CONNCTION_CLIENT_OFFLINE | 客户端断线 |
33 | WEBIM_CONNCTION_CLIENT_LOGOUT | 客户端退出登录 |
34 | WEBIM_CONNCTION_CLIENT_TOO_MUCH_ERROR | 同一浏览器打开标签页超过上限 |
35 | WEBIM_CONNECTION_ACCEPT_INVITATION_FROM_GROUP | |
36 | WEBIM_CONNECTION_DECLINE_INVITATION_FROM_GROUP | |
37 | WEBIM_CONNECTION_ACCEPT_JOIN_GROUP | |
38 | WEBIM_CONNECTION_DECLINE_JOIN_GROUP | |
39 | WEBIM_CONNECTION_CLOSED | |
100 | WEBIM_UPLOADFILE_BROWSER_ERROR | |
101 | WEBIM_UPLOADFILE_ERROR | |
102 | WEBIM_UPLOADFILE_NO_LOGIN | |
103 | WEBIM_UPLOADFILE_NO_FILE | |
200 | WEBIM_DOWNLOADFILE_ERROR | |
201 | WEBIM_DOWNLOADFILE_NO_LOGIN | |
202 | WEBIM_DOWNLOADFILE_BROWSER_ERROR | |
300 | WEBIM_MESSAGE_REC_TEXT | |
301 | WEBIM_MESSAGE_REC_TEXT_ERROR | |
302 | WEBIM_MESSAGE_REC_EMOTION | |
303 | WEBIM_MESSAGE_REC_PHOTO | |
304 | WEBIM_MESSAGE_REC_AUDIO | |
305 | WEBIM_MESSAGE_REC_AUDIO_FILE | |
306 | WEBIM_MESSAGE_REC_VEDIO | |
307 | WEBIM_MESSAGE_REC_VEDIO_FILE | |
308 | WEBIM_MESSAGE_REC_FILE | |
309 | WEBIM_MESSAGE_SED_TEXT | |
310 | WEBIM_MESSAGE_SED_EMOTION | |
311 | WEBIM_MESSAGE_SED_PHOTO | |
312 | WEBIM_MESSAGE_SED_AUDIO | |
313 | WEBIM_MESSAGE_SED_AUDIO_FILE | |
314 | WEBIM_MESSAGE_SED_VEDIO | |
315 | WEBIM_MESSAGE_SED_VEDIO_FILE | |
316 | WEBIM_MESSAGE_SED_FILE | |
317 | WEBIM_MESSAGE_SED_ERROR | |
400 | STATUS_INIT | |
401 | STATUS_DOLOGIN_USERGRID | |
402 | STATUS_DOLOGIN_IM | 取到token 但是没有连上xmpp server |
403 | STATUS_OPENED | |
404 | STATUS_CLOSING | |
405 | STATUS_CLOSED | |
406 | STATUS_ERROR |
上一页:iOS API 常见错误码
下一页:REST接口限流说明