/ SDKs / Unity
SDKs
Calls SDKs Unity v1
Calls SDKs Unity
Calls SDKs
Unity
Version 1

Error codes

Copy link

Sendbird Calls SDK for Unity has two types of error codes:

  • Client error codes: These errors are caused by the client app, such as incorrect or invalid parameter, or sending a request when disconnected.
  • Server error codes: These errors are caused by the Sendbird server.

Client error codes

Copy link

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

ErrorCodeDescription

RequestFailed

1800200

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

WrongResponse

1800205

The response contains an unexpected object type of data.

QueryInProgress

1800206

The previous query is still in progress.

MalformedData

1800208

The data format of the response is invalid.

InvalidParameterValue

1800300

The parameter specifies an invalid or empty value.

NotAuthenticated

1800303

The user is not authenticated.

ParticipantAlreadyEntered

1800700

The participant is trying to enter the same room they're already in.

EnteringRoomStillInProgress

1800701

The participant is trying to enter the room while the previous request is still in progress.

LocalParticipantLostConnection

1800706

The local participant exited the room due to lost connection.


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 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.

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.

400
(bad request)

1400126 (INVALID_ROOM)
The request cannot be processed because the room ID doesn't exist or was deleted.

500
(internal server error)

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