Platform API
Calls Error Codes

Error Codes

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

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

Response (JSON)
Light Color Skin
Copy
{
    "error": boolean,
    "code": int,
    "type": string,
    "message": string
}

Error codes

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

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.