Client error codes

The following errors are six-digit integers beginning with 800 and 900.

Error Code Description
INVALID_INITIALIZATION 800100 The initialization of the SendBird object failed because the assigned value to the appId parameter of the initializing method is not valid.
CONNECTION_REQUIRED 800101 The request from a client app failed because the device is not connected to the server.
CONNECTION_CANCELED 800102 The connection is cancelled or the disconnecting method is called while the SendBird object is trying to connect to the server via the connecting method.
INVALID_PARAMETER 800110 The parameter of the method specifies an invalid value.
NETWORK_ERROR 800120 The connection failed due to the unstable network or an unexpected error in the SDK network library.
NETWORK_ROUTING_ERROR 800121 The request routing to the server failed.
MALFORMED_DATA 800130 The data format of the server response is invalid.
MALFORMED_ERROR_DATA 800140 The data format of the error message is invalid due to the problem with the request.
WRONG_CHANNEL_TYPE 800150 The specified channel type in the request is invalid.
MARK_AS_READ_RATE_LIMIT_EXCEEDED 800160 The interval between the successive mark-messages-as-read requests is less than a second.
QUERY_IN_PROGRESS 800170 A retrieval request is arriving while the server is still processing the previous retrieval request for channels, messages, or users, and in preparation to send the response.
ACK_TIMEOUT 800180 The server fails to send a response for the request in 10 seconds (timed-out).
LOGIN_TIMEOUT 800190 The server fails to send a response for the SendBird object's login request in 10 seconds (timed-out).
WEBSOCKET_CONNECTION_CLOSED 800200 The request failed due to being submitted while disconnected from the server.
WEBSOCKET_CONNECTION_FAILED 800210 The websocket connection to the server failed to establish.
REQUEST_FAILED 800220 The server fails to process the request due to an internal reason.
FILE_UPLOAD_CANCEL_FAILED 800230 The server fails to process the file-upload cancellation request due to an internal reason.
REQUEST_CANCELLED 800240 The server fails to process the request due to the cancellation.
USER_LOGIN_REQUIRED 900010 The request failed because the user is not logged in to the server.
USER_NOT_MEMBER 900020 The request failed because the user is not a member of the channel.
USER_DEACTIVATED 900021 The request failed becuase the user is deactivated in the service.
USER_NOT_OWNER_OF_MESSAGE 900022 The request failed because the user has no permission to edit the other user's message.
PENDING_USER_SEND_NOT_ALLOWED 900023 The request failed because the user is trying to send the messages in the channel of which they are not the member yet.
INVALID_MENTION_FOR_MESSAGE 900025 The specified mention type in the request is invaild.
INVALID_PUSH_OPTION_FOR_MESSAGE 900026 The specified push option in the request is invalid.
TOO_MANY_META_KEY_FOR_MESSAGE 900027 The request failed because it specifies more meta data keys for the message than allowed.
TOO_MANY_META_VALUE_FOR_MESSAGE 900028 The request failed because it specifies more meta data values for the message than allowed.
INVALID_META_ARRAY_FOR_MESSAGE 900029 The request failed because it specifies an invalid value in the meta data for the message.
GUEST_NOT_ALLOWED 900030 The request failed because the guest is not allowed to perform this operation.
MUTED_USER_IN_APP_SEND_NOT_ALLOWED 900040 The request failed because the user is muted in the application and is not allowed to send the message.
MUTED_USER_IN_CH_SEND_NOT_ALLOWED 900041 The request failed because the user is muted in the channel and is not allowed to send the message.
CHANNEL_FROZEN 900050 The request failed because the channel is frozen and no one can send the message to the channel.
PROFANITY_MESSAGE_BLOCKED 900060 The request failed because it specifies the message containing a profanity word.
BANNED_URLS_BLOCKED 900061 The request failed because message it specifies the message containing a URL that is not allowed.
RESTRICTED_DOMAIN_BLOCKED 900065 The request failed because it comes from the domain that is not allowed.
MODERATED_FILE_BLOCKED 900066 The request failed because it contains the file violating at least one of the content management policies.
ENTER_DELETED_CHANNEL 900070 The request failed because the user is trying to enter a deleted channel.
BLOCKED_USER_RECEIVE_NOT_ALLOWED 900080 The request failed because the blocking user is trying to send the message to the blocked user in a 1-on-1 distinct channel.
DEACTIVATED_USER_RECEIVE_NOT_ALLOWED 900081 The request failed because the user is trying to send the message to the deactivated user in a 1-on-1 distinct channel.
WRONG_CHANNEL_TYPE 900090 The request failed because it specifies a wrong channel type.
BANNED_USER_SEND_NOT_ALLOWED 900100 The request failed because the user is banned from the channel and is not allowed to send the message.
TOO_MANY_REQUESTS 900200 The number of the requests exceeds the allowed amount.
MESSAGE_NOT_FOUND 900300 The request failed because the message to edit cannot be retrieved.
TOO_MANY_PARTICIPANT 900400 The number of the channel's participants exceeds the allowed amount.
CHANNEL_NOT_FOUND 900500 The request failed because there is no channel to perform this operation.

Server error codes

The following errors are six-digit integers beginning with 400 and 500.

Code Description
400100 The request specifies one or more parameters in an unexpected data type. The data type of the parameters should be string.
400101 The request specifies one or more parameters in an unexpected data type. The data type of the parameters should be number.
400102 The request specifies one or more parameters in an unexpected data type. The data type of the parameters should be list.
400103 The request specifies one or more parameters in an unexpected data type. The data type of the parameters should be JSON.
400104 The request specifies one or more parameters in an unexpected data type. The data type of the parameters should be boolean.
400105 The request is missing one or more required parameters.
400106 The parameter specifies an invalid negative number. Its value should be a positive number.
400107 The parameter specifies an invalid positive number. Its value should be a negative number.
400108 The request is not authorized and cannot access the requested resource.
400109 The value of the token parameter for pagination has expired.
400110 The length of the parameter value is too long.
400111 The request specifies an invalid value.
400112 The two parameters of the request, which should have unique values, specify the same value.
400151 The request specifies an illegal value containing special character, empty string, or white space.
400201 The resource identified with the request's resourceId parameter cannot be found.
400202 The resource identified with the request's resourceId parameter already exists.
400203 The parameter specifies more items than allowed.
400300 The request cannot retrieve the deactivated user data.
400301 The user identified with the request's userId parameter cannot be found.
400302 The access token provided for the request specifies an invalid value.
400303 The session key provided for the request specifies an invalid value.
400304 The application identified with the request's appId parameter cannot be found.
400305 The length of the userId parameter value is too long.
400306 The request cannot be completed because you have exceeded your paid quota.
400307 The request cannot be completed because it came from the restricted domain.
400401 The API token provided for the request specifies an invalid value.
400402 The request is missing one or more necessary parameters.
400403 The request body is an invalid JSON.
400404 The request specifies an invalid URL that cannot be accessed.
400500 The number of the user's websocket connections exceeds the allowed amount.
400501 The number of the application's websocket connections exceeds the allowed amount.
400700 The request cannot be completed because the blocked user is trying to send a message to the blocking user.
400701 The request cannot be completed because the blocking user is trying to invite the blocked user to a channel.
400702 The request cannot be completed because the blocked user is trying to invite the blocking user to a channel.
400750 The request cannot be completed because the user is trying to enter a banned channel.
400751 The request cannot be completed because the user is trying to enter a banned custom type channel.
400800 The request cannot be completed because you have exceeded your free quota.
500601 The server encounters an error while trying to register the user's push token. Please retry the request.
500602 The server encounters an error while trying to unregister the user's push token. Please retry the request.
500901 The server encounters an unexpected exception while trying to process the request. Please retry the request.
500910 The request cannot be completed because you have exceeded your rate limits.
500920 The request is not authorized because you are not allowed to perform this operation.
503 The request failed due to a temporary failure of the server. Please retry the request.