Error codes
ErrorCode
The SDK provides a detailed map of error codes and their corresponding messages through the ErrorCodeAndMsgMap object.
Error code | Description | Description |
| Invalid parameter | A parameter does not meet the requirements. |
| Invalid token | The provided token is expired or malformed. |
| Token expired | The provided token has expired. |
| Channel not found | The specified channel ID does not exist. |
| UID already in use | The specified UID is already in use on another client. |
| Network error | A network error occurred. |
| Permission denied | Permission to access the camera or microphone was denied. |
| Device not found | The specified audio or video device was not found. |
| Publish failed | The SDK failed to publish an audio or video track. |
| Subscribe failed | The SDK failed to subscribe to a remote track. |
| Join failed | The SDK failed to join the channel. |