Live SDKs Android v1
Live SDKs Android
Live SDKs
Android
Version 1

Error codes

Copy link

Sendbird Live 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

Copy link

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

ErrorDetail

RequestFailed

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

NoResponseDueToTimeout

1800203
The request failed to receive a response due to timeout.

WrongResponse

1800205
The response contains an unexpected object type of data.

QueryInProgress

1800206
The previous query is still in progress.

InternalServerError

1800207
An internal server error has occurred.

MalformedData

1800208
The data format of the response is invalid.

InvalidParameterValue

1800300
The parameter specifies an invalid or empty value.

InvalidParameterType

1800301
The data type of the parameter is invalid.

NotAuthenticated

1800303
The user isn't authenticated.

liveEventIdNotFound

2800100
The live event ID isn't found.

actionNotAllowedInCurrent
State

2800101
The user is trying to control a live event that isn't ongoing by trying to perform actions such as muting audio or stopping video.

actionNotAllowedFor
Participant

2800102
The participant is trying to perform actions only allowed for host.

userNotEnteredLiveEvent

2800103
The user is trying to perform actions on a live event without entering. Enter the live event before performing these actions.

streamNotStarted

2800104
User can't end streaming because the user doesn't have an active stream.

connectionToMediaStreamFailed

2800105
The connection to media stream has failed.

userAlreadyEnteredLiveEvent

2800106
The user is already in the live event.

unknownNetworkError

2800400
Unknown network error has occurred.

queryInProgress

2800900
The last query is in progress.

openChannelNotFetched

2800901
The open channel for the live event isn't fetched.


Server error codes

Copy link

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

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 can't be found.

400
(bad request)

400201 (UNIQUE_CONSTRAINT)
The requested resource already exists.

400
(bad request)

400800 (FREE_PLAN_ENDED)
The request can't be completed because your free plan ended.

400
(bad request)

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

400
(bad request)

400802 (STOCK_EXPIRED)
The request can't be completed because your stock has expired.

400
(bad request)

1400144 (NO_HOST_IN_LIVE_EVENT)
The request can't be processed because host hasn’t entered the live event.

401
(unauthorized)

401120 (NOT_ALLOWED)
The request isn't allowed to perform this action.

401
(unauthorized)

401121 (NOT_AUTHORIZED)
The request isn't authorized to perform this operation.

500
(internal server error)

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