Error Messages
Errors are sent from server to client in the following format:
{
"event": "error",
"error": {
"errorCode": 9007,
"errorLabel": "INVALID_API_KEY",
"errorDescription": "Invalid API key or IP not allowed"
}
}Common Error Codes
| Code | Label | Description |
|---|---|---|
| 9003 | SERVICE_UNAVAILABLE | Service temporarily unavailable |
| 9004 | TOO_MANY_REQUESTS | Too many requests |
| 9005 | INTERNAL_SERVER_ERROR | Internal server error |
| 9006 | MISSING_API_KEY | Missing X-APIKEY header |
| 9007 | INVALID_API_KEY | Invalid API key or IP not allowed |
| 1003 | INVALID_JSON | Invalid JSON |
Behavior notes:
- For authentication/connection-level errors, server sends an error payload and closes the connection.
- For
INVALID_JSON, server sends an error payload and keeps the connection open.
Updated 13 days ago
