logo
In-app Chat
On this page

Return codes


Public return codes

CodeDescriptionPossible reasonsSuggested actions
0Request successful.--
1Request failed.Server busy.Please try again later.
2Input parameter error.Input parameter error.Please enter the correct parameters.
3Authentication failed.Authentication failed.Please contact ZEGO technical support.
7The number of requests per second exceeds the system setting value.Service request overload.Please try again later.
50014Login failed.UserName exceeds the limit.Please confirm the UserName length, the maximum length is 256 bytes.
51102User does not exist.User not logged in ZIM.User needs to log in ZIM.
105001Request failed.Request DB failed.Please contact ZEGO technical support.
100000000Host error in request URL header.Host error in URL address.Please confirm whether the request URL is correct.
100000001AppId field format error.AppId field format error.Please confirm whether AppId is entered correctly.
100000002Timestamp field is empty.Timestamp is empty.Please fill in the Timestamp.
100000003Timestamp field format error.Timestamp format error.Please check whether the timestamp format is correct.
100000004Signature expired.Signature expired.Please try again.
100000005Signature error.Signature expired.Please try again.
100000006Action is empty.Action is empty.Please confirm whether the request URL is correct.
100000007Unsupported Action.Action error.Please confirm whether the request URL is correct.
100000008SignatureNonce field is empty.SignatureNonce field is empty.Please try again.
100000009Signature field is empty.Signature field is empty.Please try again.
100000010Get ServerSecret failed.Internal error.Please contact ZEGOCLOUD Technical Support.
100000011Get App configuration failed.Internal error.Please contact ZEGOCLOUD Technical Support.
100000012Read HTTP packet body failed.Internal error.Please contact ZEGOCLOUD Technical Support.
100000013SignatureVersion field is empty.SignatureVersion field is empty.Please try again.
100000014Unsupported SignatureVersion.Unsupported SignatureVersion.Please confirm whether SignatureVersion is correct.
100000015Gateway internal error.Internal error.Please contact ZEGO technical support.
100000016App not configured for formal environment.App not configured for formal environment.Please confirm whether AppId is configured for formal environment.
100000017App not enabled for this service.App not enabled for this service.Please contact ZEGOCLOUD Technical Support.

Business-specific return codes

CodeDescriptionPossible reasonsSuggested actions
660000001Business-specific error.Server error.Please try again, or contact ZEGO technical support.
660000002Input parameter error.Input parameter error.Please check the input parameters.
660000003Logic processing error.Server processing exception.Please try again, or contact ZEGO technical support.
660000011User count exceeds limit.Input user list is too large.Please check the input user list.
660200001User ID does not exist, or user has logged out.User ID does not exist, or user has logged out.Please confirm whether the user ID exists or the user has logged out of ZIM service.
660000012UserID length exceeds limit.UserID maximum length is 32 bytes.Please confirm UserID length.
660000022Message not found, possibly because the message has been deleted or does not exist.Please check whether the message has been deleted, and whether MsgSeq is correct.
660000023Message has been withdrawn.Please confirm whether the message has been withdrawn.
- If confirmed, the message has been withdrawn, do not process.
- If confirmed, the message has not been withdrawn, please contact ZEGO technical support to troubleshoot the problem.
660000024Message withdrawal time exceeded.If you need to withdraw messages within a longer period of time, please contact ZEGO technical support for configuration.
660000025Failed to send the message after IsBase64 is set to 1 in MessageBody when calling the server-side interface to send signaling messages.Message content is not base64 encoded.Please confirm:
- Whether IsBase64 needs to be 1, that is, whether a binary type signaling message needs to be sent.
- Whether the Message content is base64 encoded.
660000026The message to be withdrawn does not match FromUserId.Please check whether the FromUserId field is correct.
660000027The message saving room message configuration is not enabled, so the message cannot be withdrawn.Please open ZIM Ultimate Edition service.
660000028This feature is not supported by ZIM free edition users.Please contact ZEGO technical support to upgrade the package.
660300001Room does not exist.The input RoomId does not exist or the room has been destroyed.Please confirm whether the input RoomId is correct or the room has been destroyed.
660300002User not in room.The input UserId does not exist or is not in the room.Please confirm whether the input UserId is correct.
660300005The frequency of calling the interface exceeds the AppID level limit.Please try again later, or refer to the relevant documentation to understand the call frequency.
660300006The frequency of calling the interface exceeds the group/room limit.Please try again later, or refer to the relevant documentation to understand the call frequency.
660300007Get room failed.Internal error.Please contact ZEGO technical support.
660300008Get room user list failed.The room user list is empty, usually due to the room delay destruction period.Do not process.
660300012User not in specified room.User not in specified room.Do not process.
660300014Room already exists.Check if the room has been created.
660300015Room count exceeds limit.Check if the room count exceeds the limit, or contact technical support to expand.
660400001Message size exceeds limit.Input message is too large.Please check the input message size.
660500002Operator user not registered.Operator user not logged in SDK.Please let the operator register ZIM service first.
660500003The frequency of calling the SendMessageToAllUsers interface exceeds the limit.The frequency of calling the interface exceeds the limit.Default 1 time/second, 100 times per 24 hours, please try again later.
660500004Text audit request error.Text audit request error.Please contact ZEGO technical support.
660500005The text message sent has not passed the audit.The text message sent has not passed the audit.Please do not send this message.
660500006Image audit request error.Image audit request error.Please contact ZEGO technical support.
660500007The image message sent has not passed the audit.The image message sent has not passed the audit.Please do not send this message.
660500009Your business background determines that this message should be "silent sent".After receiving the "message sending before callback", your business background returns 2, and this message is silently sent.Do not process.
660500010Your business background determines that this message should not be sent.After receiving the "message sending before callback", your business background returns 3, and this message is rejected.Do not process.
660600001Group does not exist.The input GroupId does not exist.Please confirm whether the input GroupId is correct.
660600003Query group member list error.Server processing exception.Please contact ZEGO technical support.
660600004The frequency of calling the QueryGroupMemberList interface exceeds the limit.The frequency of calling the interface exceeds the limit.The call frequency is 20 times/second, please do not exceed the limit.
660600005The frequency of calling the KickoutGroupUser interface exceeds the limit.The frequency of calling the interface exceeds the limit.The call frequency is 20 times/second, please do not exceed the limit.
660600006Query group list data error.Server processing exception.Please contact ZEGO technical support.
660600007The frequency of calling the QueryAppGroupList interface exceeds the limit.The frequency of calling the interface exceeds the limit.The call frequency is 1 time/second, please try again later.
660600008The user to be removed is not in the group.The user has left the group.Do not process.
660600009Get group related information failed.The group may not exist.Please confirm whether the GroupID is correct. If correct, please contact ZEGO technical support.
660600010The frequency of calling the CreateGroup interface exceeds the limit.The frequency of calling the interface exceeds the limit.Please try again later.
660600011Group already exists.The GroupID of the existing group is used.Please use other GroupID.
660600012Group count exceeds limit.The number of groups created has reached the package limit.Please upgrade the package.
660600013Group owner does not exist.The user ID of the group owner is incorrect.Please check whether the user ID of the group owner is correct.
660600014Modify group owner list error.Modify group owner list error.Please contact ZEGO technical support.
660600015ZIM service execution db operation error.ZIM service execution db operation error.Please contact ZEGO technical support.
660600016Group member count exceeds limit.The maximum number of users added at one time when creating a group is 100.
660600020The Key or Value length of the attribute is incorrect.The length limit of Key is 16 bytes, and the length limit of Value is 1024 bytes.Please check the length of the related parameters.
660600021Send message parameter error.Send message parameter error.Please check the parameters.
660600022Send multimedia message, get redirect address failed.Send multimedia message, get redirect address failed.Please contact ZEGO technical support to handle.
660600023Message length exceeds limit.Message length exceeds limit.Please reduce the message length.
660600024The user is not in the group.Please check the user or add the user as a group member.
660600029Role cannot be set to 1.Please modify Role.
660600030FromUserId cannot be equal to ToUserId.Please modify ToUserId.
660600032FromUserId does not have permission.FromUserId needs to be the group owner or administrator.
660600033All specified users' operations failed.Please check UserIds.
660700001The frequency of calling the UserRegister interface exceeds the limit.The frequency of calling the interface exceeds the limit.Please try again later.
660700002User already exists.The UserID of the request is already registered.Please avoid registering the same UserID again.
660700006UserName length exceeds limit.UserName length maximum is 256 bytes.Please confirm UserName length.
660700007UserAvatar address length exceeds limit.UserAvatar address length maximum is 500 bytes.Please confirm UserAvatar length.
660700008Get user information error.User ID error.Please check whether the User ID is correct.
660700012User does not exist.Please register the user first.
660700013Query user information error.Please contact ZEGO technical support.
660700015User not registered.Please register the user first.
660700016Synchronize user information error.Please contact ZEGO technical support.
660700017Update user information error.Please contact ZEGO technical support.
660800001When setting a single chat session as top, the user corresponding to the ConvID of the target session is not registered.Please confirm whether the user corresponding to the ConvId is registered:
- If confirmed, please contact ZEGO technical support to troubleshoot.
- If confirmed, please register this user.
660800002When clearing the unread message count of a session, the session does not exist, or the session does not apply to this interface (not one of the latest 1000 sessions).Please confirm whether the session ID is correct.
660800019The number of single batch operations exceeds the limit.Please reduce the number of single batch operations.
660800020Cannot add FromUserId as a friend, that is, the UserId in FriendInfos cannot be the same as FromUserId.Please modify the UserId in FriendInfos that is the same as FromUserId.
660800021FriendAlias or Wording exceeds the length limit.Please reduce the length of the related fields.
660800022The user ID related parameters in the parameters are repeated.Please delete or modify the duplicate parameters.
660800023The Key value of Attributes does not belong to k0 ~ k4.Please modify the Key value.
660800024The total length of all Key and Value of Attributes exceeds the length limit.Please reduce the length of the related fields.
660800025All friends are not registered, interface call failed.Please register the target user first.
660800026Friend attribute parameter error.Please check the input parameters.
660800027The target user is already a friend, no need to add again.Do not process.
660800028The number of friends of FromUserId has reached the upper limit.Do not process.
660800030The user's do not disturb list exceeds the length limit, default 500.Please shorten the list, or contact technical support to increase the upper limit, the maximum is 1000.
660800032Attributes has duplicate Key.Please modify Key.
660800033The string in UserIds cannot be the same as FromUserIdPlease modify the string in UserIds that is the same as FromUserId.
660800034The target user is not a friend of FromUserId.Please add this user as a friend first if you need to modify the remark for this user.
660800037The user has been blacklisted, no need to repeat the operation.Do not process.
660800038Cannot blacklist FromUserId or remove FromUserId from the blacklist.Please modify UserIds.
660800039The number of input users exceeds the limit.Please shorten the input user list.
660800040The blacklist of FromUserId has reached the upper limit, cannot blacklist more users.Do not process.
660800041Blacklist all specified users failed.Please refer to the SubCode of the response parameter ErrList for processing.
660800042All specified users failed to remove from the blacklist.Please refer to the SubCode of the response parameter ErrList for processing.
660800043This user has been removed from the blacklist.Do not process.
660800044This user is not in the blacklist.Do not process.
660800045The message sender has been blacklisted by the message receiver, causing message sending failure.Do not process.
660800046The passed timestamp is greater than the current time.Can be left blank, the default is the current time.
660800048The length of the top list exceeds the limit (100, not configurable).Do not process.
660800051The session has been set to do not disturb, cannot be set to do not disturb again.Do not process.
660800052The session has been cancelled from do not disturb, cannot be cancelled again.Do not process.
660800053Query session list failed.Please contact ZEGO technical support.
660900003All called users need to be registered.Please check the registration status of the called users or try again later.
660900004Get call information failed.Please check whether the call exists or try again later.
660900005The call has ended, cannot be operated.Do not process.
660900006The call invitation has timed out, cannot be operated.Do not process.
660900007The length of the called user list exceeds the limit.Please shorten the length of the called user list, or contact ZEGO technical support to increase the upper limit.
660900008The call does not have an invitation operation user, cannot be operated.Do not process.
661000001The editing time has exceeded the limit.If you need to edit earlier historical messages, please contact ZEGO technical support for configuration.
661000005Edit failed.Please contact ZEGO technical support.

Previous

Authenticating server-to-server callbacks

Next

Debugging guide of server API operations