System Error Codes
Note
This information is intended for developers debugging or troubleshooting RealtimeKit's flutter core system errors.
All fallible APIs in RealtimeKit return an operation-specific error type (such as MeetingError, AudioError etc.) that implements the RtkError interface. The interface has the code: Int and message: String fields that can be inspected to reveal additional information about the nature of the failure.
The table below enumerates all error codes as of v1.0.0.
| Error code | Reason |
|---|---|
| 1000 | Invalid auth token |
| 1001 | Failed to initialize meeting |
| 1002 | Invalid base URL |
| 1003 | Failed to join room |
| 1004 | Unauthorised participant |
| 1005 | Meeting is in the INACTIVE state |
| 1006 | Unknown error |
| 2100 | No permission to share audio in the meeting |
| 2101 | Microphone permission denied by the OS |
| 2102 | Transient error in enabling microphone access, please contact support if the issue persists. |
| 2200 | No permission to share camera in the meeting |
| 2201 | Camera permission denied by the OS |
| 2202 | Transient error in enabling camera access, please contact support if the issue persists. |
| 2203 | Cannot share video in this meeting type |
| 2300 | No permission to enable screen share in the meeting |
| 2301 | Screen share permission denied by the OS |
| 2302 | Screen share operation failed, please contact support if the issue persists. |
| 2303 | Maximum limit of screen shares has been reached |
| 2304 | Cannot screen share in this meeting type |
| 3000 | Pin permission denied to host |
| 3002 | Mute video permission denied to host |
| 3003 | Mute audio permission denied to host |
| 3006 | Kick permission denied to host |
| 4000 | No permission to send chat messages in the meeting |
| 4001 | Host tried to apply an invalid value to the chat configuration |
| 4002 | Rate limit breached for chat messages |
| 4101 | Chat message cannot be blank |
| 4102 | Chat message exceeded character limit |
| 4201 | File format cannot be sent in chat |
| 4202 | Failed to read the file to send in chat |
| 4203 | Failed to upload the file to chat |
| 5000 | No permission to create polls in the meeting |
| 5001 | Poll question cannot be blank |
| 5002 | Poll does not have enough options |
| 5003 | Poll option cannot be blank |
| 5004 | Cannot vote in this poll |
| 5005 | Poll ID was invalid |
| 6000 | User does not have permissions to launch/close plugins |
| 6001 | Cannot send data to an inactive plugin |
| 7000 | User does not have permission to start recording |
| 7001 | Recording operation failed, please contact support if the issue persists. |
| 7002 | There is no recording in progress |
| 7003 | Invalid recording state |
| 8000 | Stage is disabled for this meeting type |
| 8001 | Permission denied for stage operation |
| 8003 | User has not requested stage access |
| 8004 | Action is invalid for user's current stage status |