Android
Calls Error Codes

Error Codes

SendBird Calls SDK for Android has two types of error codes:

  • Client error codes: these errors are usually caused by something the client app side did, such as incorrect or invalid parameter, or sending a request when disconnected.
  • Server error codes: these errors are usually caused by a SendBird server side issue.

Client error codes

The following errors are seven-digit integers beginning with 1800.

ErrorCodeDescription

DIAL_CANCELED

1800100

The dialing has been canceled before receiving a callback.

MY_USER_ID_NOT_ALLOWED

1800101

The caller can't call their own user ID.

ERR_REQUEST_FAILED

1800200

The request failed due to an error from the HTTP library.

ERR_NO_RESPONSE_DUE_TO_TIMEOUT

1800203

The request failed to receive a response due to timeout.

ERR_REQUEST_FAILED_DUE_TO_WEBSOCKET_CONNECTION_LOST

1800204

The request failed because the websocket connection is lost.

ERR_WRONG_RESPONSE

1800205

The response contains an unexpected object type of data.

ERR_QUERY_IN_PROGRESS

1800206

The previous query is still in progress.

INTERNAL_SERVER_ERROR

1800207

An internal server error has occurred.

ERR_MALFORMED_DATA

1800208

The data format of the response is invalid.

INVALID_PARAMETER_VALUE

1800300

The parameter specifies an invalid or empty value.

INVALID_PARAMETER_TYPE

1800301

The data type of the parameter is invalid.

INSTANCE_NOT_INITIALIZED

1800302

A SendBirdCall instance is not initialized.

USER_NOT_AUTHENTICATED

1800303

The user is not authenticated.


Server error codes

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

HTTP status codeError detail

400
(bad request)

400100 (INVALID_PARAMS)
The request specifies one or more invalid parameters.

400
(bad request)

400111 (MISSING_PARAMS)
The request is missing one or more required parameters.

400
(bad request)

400200 (NOT_FOUND)
The requested resource cannot be found.

400
(bad request)

400201 (UNIQUE_CONSTRAINT)
The requested resource already exists.

400
(bad request)

400800 (FREE_PLAN_ENDED)
The request cannot be completed because your free plan ended.

400
(bad request)

400801 (STOCK_EXCEEDED)
The request cannot be completed because you have exceeded your voice or video stock.

400
(bad request)

400802 (STOCK_EXPIRED)
The request cannot be completed because your stock has expired.

401
(unauthorized)

401120 (NOT_ALLOWED)
The request is not allowed to perform this action.

401
(unauthorized)

401121 (NOT_AUTHORIZED)
The request is not authorized to perform this operation.

500
(internal server error)

500999 (UNKNOWN_ERROR)
The server encounters an unexpected exception while trying to process the request.