REST errors are { "code": "…", "message": "…" }; the WebSocket error frame is { "status": "error", "error": { "code": "…", "message": "…" } }.
| Code | Meaning |
|---|
rtc-access-denied | The caller is not a member of the chat |
rtc-invalid-payload | Malformed request/frame body |
rtc-invalid-action | Unknown WebSocket action |
rtc-invalid-action-payload | The action’s body is invalid |
rtc-invalid-message | The message is invalid |
rtc-invalid-block-type | An unsupported message block type |
rtc-invalid-timestamp | Bad since timestamp |
rtc-invalid-state | The chat/connection is in a state that doesn’t allow this |
rtc-empty-user-obejct / rtc-user-not-found | The user could not be resolved |
rtc-invalid-oneonone-chat-members / rtc-invalid-group-chat-members / rtc-invalid-participants | The chat’s member list is invalid for its type |
| Code | Meaning |
|---|
rtc-chat-not-found | Unknown chat |
rtc-chat-thread-not-found / rtc-thread-not-found | Unknown thread |
rtc-threadmessage-not-found | Unknown message |
rtc-bot-not-found | Unknown bot |
rtc-subscription-not-found | No such subscription |
| Code | Meaning |
|---|
rtc-invalid-websocket-connection | The connection could not be established/upgraded |
rtc-websocket-send-failed | A frame could not be sent to the client |
rtc-websocket-conn-closed | The client connection is closed |
rtc-stream-init-failed | The message bus could not be initialized |
rtc-stream-subscription-failed / rtc-stream-existing-subscription / rtc-subscription-exists | Subscription error |
rtc-stream-sending-failed | Publish to the bus failed |
rtc-invalid-stream-impl | Misconfigured stream manager |
rtc-invalid-chat-subscription-key / rtc-invalid-channel-subscription-key | Malformed subscription key |
rtc-message-mashal-error | Message could not be serialized |
| Code | Meaning |
|---|
rtc-entity-manager-not-found | The tenant’s data engine could not be resolved |
rtc-failed-to-save-message | Message persistence failed |
rtc-invalid-config | Invalid service/tenant configuration |
rtc-server-already-initialized | The server was initialized twice |