Calls Platform API v1
Calls Platform API
Calls Platform API
Version 1

Error codes

Copy link

This page contains the following information:

  • Error response: a JSON format which is used for Sendbird server to send an error response to a client's request.
  • Error codes: these errors are usually caused by something the client did and an Sendbird server-side issue. These errors are accompanied by a 400/500-series HTTP response code.

Error response

Copy link

All errors return a 400 or 500 HTTP response. The details of each error are included in the message field.

{
    "error": boolean,
    "code": int,
    "type": string,
    "message": string
}

Error codes

Copy link

The following table lists client/server errors that Call Platform API returns in response to calls.

HTTP status codeDetail

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)

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

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.

429
(too many request)

429100 (RATE_LIMIT_EXCEEDED)
The request cannot be completed because your application has excceded the rate limits.

500
(internal server error)

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