Error codes
This topic describes common Real-Time Communication (RTC) error codes and their solutions.
Common error codes that occur during client integration:
Hexadecimal | Decimal | Error description | Cause analysis | Solution |
0x02010201 | 33620481 | AppId is not exist | The AppId does not exist. | Create an application in the console. |
0x02010202 | 33620482 | AppId is invalid | The application is disabled. | Enable the application in the console. |
0x02010204 | 33620484 | channel is not exist | Failed to join the channel because the channel does not exist. For example, if the channel initiator joins and then quickly leaves, a second user who tries to join later will find that the channel no longer exists. | Try to join the channel again. |
0x02010203 | 33620483 | channel is invalid | Failed to join the channel. The channel has expired. Channels are valid for 48 hours. | Regenerate the channel authentication token. |
0x02010205 | 33620485 | token is invalid | Failed to join the channel. The token is invalid. | Regenerate the channel authentication token. |
0x01030202 | 16974338 | join error | Failed to join the channel. | Check if the authentication information is correct and the network connectivity is normal. |
0x01030106 | 16974086 | log directory error | The root path of the log module is incorrect. | Check if the path exists or has write permissions. |
Common audio device error codes that occur after the client is published:
Hexadecimal | Decimal | Error description | Cause analysis | Solution |
0x01040404 | 17040388 | failed to open audio record device or audio device occupied | The audio capture device failed to initialize, the media service for the capture device is abnormal, or the audio device is occupied. | On macOS and Windows, check the audio device's energy bar in System Settings. On iOS and Android, confirm that the device is not being used by another application. If everything is normal, restart the device. |
0x01040405 | 17040389 | failed to open audio play device or audio device occupied | The audio playback device failed to initialize, the media service for the playback device is abnormal, or the audio device is occupied. | On macOS and Windows, check the audio device's energy bar in System Settings. On iOS and Android, confirm that the device is not being used by another application. If everything is normal, restart the device. |
0x01040406 | 17040390 | audio recording error or audio device occupied | Insufficient system performance, the media service for the capture device is abnormal, or the audio device is occupied. | Restart the application or the device. |
0x01040407 | 17040391 | audio playing error or audio device occupied | Insufficient system performance, the media service for the playback device is abnormal, or the audio device is occupied. | Restart the application or the device. |
0x01040408 | 17040392 | no audio recording permission | The microphone permission is not granted. | Go to System Settings, grant the microphone permission, and then rejoin the channel. |
0x01040409 | 17040393 | no audio recording device found | The microphone is abnormal. | Check if an active microphone is connected and if the device is disabled in System Settings. |
0x01040410 | 17040400 | no audio play device found | The playback device is abnormal. | Check if active speakers or headphones are connected and if the device is disabled in System Settings. |
Common video device error codes that occur after the client is published:
Hexadecimal | Decimal | Error description | Cause analysis | Solution |
0x01040104 | 17039620 | failed to open camera due to no permission or camera device occupied | Failed to open the camera. The camera is unavailable or may be occupied by another application. | Check if the system camera is available and if another mobile app is using the camera. |
0x01040106 | 17039622 | camera capturing happens error | The camera is not working correctly. For example, on a macOS or Windows computer, the camera's capture light turns off, and the device is forcibly disconnected. | Rejoin the channel or restart the app. |
Common network-related error codes that occur after the client is published:
Hexadecimal | Decimal | Error description | Cause analysis | Solution |
0x01020204 | 16908804 | join timeout | The join request did not receive a response for a long time, causing a timeout. | Check if the network connectivity is normal. |
0x01050201 | 17105409 | failed to create media connection | Failed to create the media channel. | Check if the network connectivity is normal. |
0x01050202 | 17105410 | failed to reconnect media connection | Failed to reconnect to the media channel. | Check if the network connectivity is normal. |
0x0102020C | 16908812 | signal heartbeat is timeout | The signaling heartbeat timed out. | Check if the network connectivity is normal. |
0x01050301 | 17105665 | signal connect fail | The signaling connection failed. | Check if the signaling network connection is normal. |