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.
The following errors are seven-digit integers beginning with 1800.
The dialing has been canceled before receiving a callback.
The caller can't call their own user ID.
The request failed due to an error from the HTTP library.
The request failed to receive a response due to timeout.
The request failed because the websocket connection is lost.
The response contains an unexpected object type of data.
The previous query is still in progress.
An internal server error has occurred.
The data format of the response is invalid.
The parameter specifies an invalid or empty value.
The data type of the parameter is invalid.
The user is not authenticated.
Capturing a video view isn't allowed while on an audio call.
A video view isn't ready to be captured.
A video call isn't connected yet therefore can't capture a video view.
An error occurred while getting an image form the video stream.
A call isn’t connected yet therefore can’t start media recording.
A wrong recording type is selected in an audio call.
An ongoing recording session is already in progress.
A recording file cannot be opened due to an error.
A recording session cannot be started due to an error.
A recording session cannot be stopped due to an error.
Media recording is not supported on the operating system version.
Screen share is restricted from audio calls.
A call isn't connected yet, but the request for screen share has been made.
The user is trying to share the screen while the previous request is still in progress.
Screen share doesn't exist but the request to stop sharing the screen has beem made.
The operating system version doesn't support screen share.
The participant is trying to enter the same room they're already in.
The participant is trying to enter the room while the previous request is still in progress.
The participant is not in the room and the request can't be processed.
The local participant exited the room due to lost connection.
The following errors are six-digit integers beginning with 400 and 500.