Format
You will receive an error message in JSON format when there is.
Response
Field Name | Description | Type |
---|---|---|
error | Error object | Object |
error.name | Type of the error | String |
error.message | Error message | String |
Type of the error
INVALID_AUTH
- In case you requested without authentication although it is a private type.
*Please refer to the Make Websocket Request page to find authentication method.
{"error":{"name":"INVALID_AUTH","message":"Invalid authentication."}}
WRONG_FORMAT
{"error":{"name":"WRONG_FORMAT","message":"Requested using wrong format"}}
NO_TICKET
{"error":{"name":"NO_TICKET","message":"Ticket field must be contained."}}
NO_TYPE
{"error":{"name":"NO_TYPE","message":"type field not exists."}}
NO_CODES
{"error":{"name":"NO_CODES","message":"codes field not exists."}}
INVALID_PARAM
If the 'Codes' field is empty:
{"error":{"name":"INVALID_PARAM","message":"codes field is empty."}}
If the format is not supported:
{"error":{"name":"INVALID_PARAM","message":"format $format is not supported."}}
If the type is not supported:
{"error":{"name":"INVALID_PARAM","message":"type $type is not supported."}}