WebSocket Errors
Server will return an error message in the below format
{
"event": "ERROR", "ERROR",
"code": "400", "400",
"message": "Invalid event type provided", "Invalid event type provided",
"timestamp": "2018-09-05T01:34:39Z" "2018-09-05T01:34:39Z"
}
Error Code Summary
Error Code | Description |
400 - Bad Request | The request was unacceptable, often due to missing a required parameter. |
401 - Unauthorized | No valid OAuth2 token provided |
403 - Forbidden | Not authorized to access this resource (please contact sales about adding access to your profile) |
404 - Not Found | Requested resource not found (typically the marketId or exchangeId passed through the subscription request not found) |
There may be other types of errors that may be returned and we recommend handling the ERROR type gracefully.