IM SDK ErrorCode Definition
Server Error
The error code reported by the JMessage server may appear in the SDK of each platform.
Code | Error Message | Instructions |
---|---|---|
898000 | Server internal error | Internal error |
898001 | User exist | User already exists |
898002 | No such user | User does not exist,and message contains users who does not exist |
898003 | Parameter invalid! | The request parameter is illegal |
898004 | Password error | Password update operation, user password error |
898006 | Group id invalid | Group id does not exist |
898007 | Missing authen info | Check information is empty |
898008 | Basic authentication failed. | Failed to verify |
898009 | Appkey not exists | Appkey does not exist |
898010 | Token expired | The API request token expired. The SDK will automatically reacquire the token under normal circumstances. |
898011 | no auth to query other appkey's user or appkey no exist | The queried appkey does not have cross-application permissions or appkey does not exist |
898030 | Server response time out, please try again later | The system is busy and try again later |
899000 | Server internal error | Internal system error |
899001 | User exist | User already exists |
899002 | No such user | User does not exist |
899003 | parameter invalid | Parameter error. Request Body parameter does not meet the requirements; resend value does not meet the requirements; user name or password is not legal; Group id is illegal |
899006 | Group id invalid | Group id does not exist |
899007 | Missing authen info | Check information is empty |
899008 | Basic authentication failed | Failed to verify |
899009 | Appkey not exit | Appkey does not exist |
899011 | Repeat to add the members | Repeatly adding members |
899012 | No enough space for members | No enough place to add members of this request |
899013 | User list is bigger than 500 | Registration list is greater than 500, and maximum length of batch registration is 500 |
899014 | User list is bigger than 500 | Add operation succeeds. In the remove operation, there is username not exist in the discussion group, the removal fails. |
899015 | User 's group are full can not continue | Groups the user joins reach the upper limit. |
899016 | No authority to send message | User does not have administrator rights to send information. |
899017 | There are usernames exist in blacklist | The user has been added to the blacklist. |
899018 | Admin can not be added into blacklist | Administrators cannot be added to the blacklist. |
899019 | Here are usernames not exist in blacklist | Deleted target blacklist user does not exist in the blacklist. |
899020 | no auth to operating other appkey | Cross application fails. |
899021 | should use cross app api | Query fails. Should use cross-application APIs |
899043 | duplicate add user | This user has been set to messages Do-Not-Disturb. Error of repeated settings. |
899044 | user is not exist in setting | The user does not exist in the current setting when canceling the Do-Not-Disturb user. |
899045 | group is not exist | The group does not exist in the system when setting group message Do-Not-Disturb. |
899046 | user is not in group | The user is not in the group when the group message is set to Do-Not-Disturb. |
899047 | duplicate add group | This group has been set to message Do-Not-Disturb. Error of repeated settings. |
899048 | already open global | Has been set to global Do-Not-Disturb. Error of repeated settings. |
899049 | group is not exist in setting | The group does not exist in the current settings when canceling the Do-Not-Disturb groups. |
899050 | already close global | Has been set to global Do-Not-Disturb. Error of repeated settings. |
899070 | The added friend already exists in the buddy list. | |
899071 | The updated friend does not exist in the buddy list. | |
899030 | Server response time out, please try again later | The system is busy and try again later |
899081 | room id no exist | Chat room ID does not exist |
899082 | user not in room | The user is not in the chat room |
800003 | appkey not exist | Appkey is not registered |
800005 | user not exist | User ID is not registered (appkey does not have this UID) |
800006 | user not exist | User ID does not exist (the UID is not in the database) |
800008 | invalid request | Request type can not be recognized. |
800009 | system error | Server system error |
800012 | user never login | The initiated user is in the logout status and never logged in after registering the account. You need to log in first. |
800013 | user logout | The initiated user is in the logout state and the requested user has logged out. You need to log in first. |
800014 | appkey not match | Initiated user appkey does not match the target. |
800016 | device not match | The user equipment initiated does not match, which is caued by the mismatch of the current requesting device and the device last logged in. Need to log in first. |
800017 | beyond the frequency limit | Frequency of sending request exceeds system limit. |
800018 | group id not exist | Group ID does not exist |
800019 | req user not in group | The requesting user is not in the group |
800020 | request user no permission | Request user has no operation permission |
801003 | user not exist | Login user name is not registered, and the login fails. |
801004 | invalid password | Login user password is incorrect, and login fails. |
801005 | invalid device | Login user device is incorrect and the login fails. |
801006 | user disabled | Logged user is disabled, and login fails |
801007 | multi channel online error | Multi-channel simultaneous login error, and login fails. |
802002 | username not match | Logout user name is not matched login user name, and logout fails. |
803001 | system error | Failed to send message, since storage status is abnormal. |
803002 | system error | Failed to send message, since system network is abnormal |
803003 | target user not exist | Failed to send message, since target user is not registered or does not exist |
803004 | target group not exist | Failed to send message, since target discussion group does not exist |
803005 | user not in group | Failed to send message, since the initiator is not in target group. |
803006 | user not permitted | Failed to send message, due to insufficient privilege of initiator, or mismatched category. |
803007 | length of message exceed limit | Failed to send message, since the length of the message exceeds the limit. |
803008 | user in blacklist | Failed to send message, since the sender has been blacklisted by the receiver, which is only for single chat |
803009 | the message contains sensitive word: the word | Failed to send the message. The message contains sensitive vocabulary: specific sensitive words |
803010 | beyond the frequency limit | Failed to send the message. The sending frequency exceeds the system limit and cannot sent. The client limits 60 messages per minute. |
803011 | msg content json error | Failed to send message, due to misconfigured message format. |
803012 | can not chat while silent | Failed to send the message, since the requesting user is banned by the administrator. |
805001 | target user not exist | Target user does not exist. |
805002 | already is friend | Failed to add friends. Already friends |
805003 | user not friend | Failed to delete friend. The target user is not your friend. |
805004 | invalid friend memo | Failed to modify the friend's comment. The comment is invalid and cannot be modified |
805006 | invitation event is not valid | Failed to add friend. Invitation event is invalid. |
808001 | group name invalid | Group name was empty when creating a group, and group creation fails. |
808002 | user not permitted to create group | The user did not have the permission to create a group, and the creation fails. |
808003 | amount of group exceed limit | Groups the user has reach the maximum number and can no longer be created. |
808004 | length of group name exceed limit | Length of group name exceeds the limit and the group creation fails. |
808005 | length of group desc exceed limit | The length of the group description exceeds the limit and the group creation fails |
810002 | add member list is null | The added member list is empty |
810005 | have member not register | Added member list contains unregistered members |
810007 | repeated added member | Added members list has duplicated members. |
810008 | amount of member exceed group limit | The number of added members exceeds the maximum number of the group |
810009 | amount of group exceed member limit | The number of groups owned by a member in the added member list has reached the upper limit |
811002 | del member list is null | The deleted member list is empty. |
811005 | have member not register | There is the member in the deleted member list is not registered. |
811006 | member of group not permitted deleted | The user does not have permission to delete some member in the deleted member list. |
811007 | repeated deleted member | Members in the deleted member list is deleted again. |
811008 | have member not in group | Members in the deleted members list are not in this group. |
812003 | length of group name exceed limit | Group name exceeds the maximum length. |
812004 | length of group desc exceed limit | Group description exceeds the limit. |
818001 | zero member | When the user adds a blacklist, the member list is empty and the addition fails |
818002 | member not exist | When the user adds a blacklist, the member in the member list does not exist and the addition fails. |
818003 | member not permitted added | When the user adds a blacklist, members in the member list cannot be added and the addition fails. |
819001 | zero member | When the user removes friends from the blacklist, the member list is empty and the operation fails |
819002 | member not exist | When the user deletes the blacklist, the member in the member list does not exist and the deletion fails. |
831001 | member already set | The member is already in the Do-Not-Disturb state when the user adds the member message Do-Not-Disturb. |
832001 | member never set | The user is not in the Do-Not-Disturb state when he deletes the member message Do-Not-Disturb. |
833001 | group not exist | The group does not exist when the user adds the group message Do-Not-Disturb. |
833002 | user not in group | The user does not exist in the group when he adds the group message Do-Not-Disturb. |
833003 | group already set | The group is already in the Do-Not-Disturb state when the user adds the group message Do-Not-Disturb. |
834001 | group never set | The group is not in the Do-Not-Disturb state when the user deletes the group message Do-Not-Disturb. |
835001 | already set | The user is in the global Do-Not-Disturb state when he adds the global Do-Not-Disturb. |
836001 | never set | The user is not in the global Do-Not-Disturb state when he deletes the global Do-Not-Disturb. |
842001 | group not exist | The group does not exist when the user adds a group message blocking. |
842002 | user not in group | The user is not in this group when he adds a group message blocking. |
842003 | group already set | The group is already in a message blocking state when the user adds a group message blocking |
843001 | group never set | The group is not in message blocking state when the user deletes the group message blocking |
847001 | user not in chatroom | Failed to send chat room message, since the sender is not in the chat room. |
847002 | user baned to post | Failed to send the chat room message, since the sender is banned in the chat room. |
847003 | chatroom not exist | Failed to send chat room message, since the chat room does not exist. |
847004 | length of chatroom message exceed limit | Failed to send chat room message, since message length exceeds limit |
847005 | chatroom msg content json error | Failed to send chat room message with incorrect message content format |
850001 | chatroom not exist | Delete non-existent chat rooms |
851001 | repeated invit chatroom member | When inviting members to a chat room, there are duplicate members in the list of invited members and the invitation fails. |
851002 | invit member not exist | When inviting members to the chat room, the invited member list has unregistered members and the invitation fails |
851003 | member has in the chatroom | When inviting or joining a chat room, the invited or joined member is already in the chat room, and the invitation or join fails. |
851004 | chatroom not exist | Invite or join a non-existent chat room |
851005 | zero member | When inviting members to the chat room, the list of invited members is empty, and the invitation fails. |
851006 | amount of member exceed chatroom limit | The number of invited people exceeds the number of people remaining in the chat room when inviting or joining a chat |
852001 | user not in chatroom | When kicking out or exiting the chat room, the user is not actually in the chat room and kicking or exiting the chat room fails. |
852002 | chatroom not exist | Kick out or exit a non-existent chat room |
852003 | zero member | When kicking out the member, the kicking out member list is empty and kicking out the member fails. |
852004 | owner can not leave chatroom | There is an owner user exiting the chat room when kicking or leaving the chat room |
853001 | chatroom not exist | Update non-existent chat room information |
853002 | owner not in chatroom | The new owner is not in the chat room when updating the owner of chat room. |
855001 | out of time | Failed to withdraw the message. Exceeds the withdrawal time. |
855002 | request user is not message sender | Failed to withdraw the message. The requesting party is not the sender of the message. |
855003 | request message not exist | Failed to withdraw the message. The message requested to withdraw does not exist. |
855004 | message already retract | Failed to withdraw the message. The message has been withdrawn |
856001 | this request already process | Approval expired. The invitation for adding members has been processed |
856002 | invalid request data | Request data is invalid. |
857001 | target group not exist | Target group does not exist |
857002 | target not online | The goal is not online. |
857003 | target user not exist | Target user does not exist. |
857004 | length of trans cmd exceed limit | Length of transmitted message exceeds the limit. |
857005 | user not in group | The request user is not in the group. |
857006 | target can't be self | The goal cannot be yourself. |
859001 | user already in the group | The user is already in the target group. |
859002 | group type not support | Target group type does not support the application. |
765001 | target not in group | Target user is not in the group. |
765002 | request user no permission | Request user has no operation permission. |