Error codes

Updated at:

ErrorCode

The SDK provides a detailed map of error codes and their corresponding messages through the ErrorCodeAndMsgMap object.

Error code

Description

Description

INVALID_PARAM

Invalid parameter

A parameter does not meet the requirements.

INVALID_TOKEN

Invalid token

The provided token is expired or malformed.

TOKEN_EXPIRED

Token expired

The provided token has expired.

CHANNEL_NOT_FOUND

Channel not found

The specified channel ID does not exist.

UID_ALREADY_IN_USE

UID already in use

The specified UID is already in use on another client.

NETWORK_ERROR

Network error

A network error occurred.

PERMISSION_DENIED

Permission denied

Permission to access the camera or microphone was denied.

DEVICE_NOT_FOUND

Device not found

The specified audio or video device was not found.

PUBLISH_FAILED

Publish failed

The SDK failed to publish an audio or video track.

SUBSCRIBE_FAILED

Subscribe failed

The SDK failed to subscribe to a remote track.

JOIN_FAILED

Join failed

The SDK failed to join the channel.