Web IM API 常见错误码


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