Exceptions
This exception is thrown when an operation fails
Error code | Description |
---|---|
TOO_MUCH_DATA | The operation requested too much data, exceeding the Market Data Request Limits. |
INVALID_INPUT_DATA | Invalid input data |
INVALID_SESSION_INFORMATION | The session token hasn't been provided, is invalid or has expired. |
NO_APP_KEY | An application key header ('X-Application') has not been provided in the request |
NO_SESSION | A session token header ('X-Authentication') has not been provided in the request |
UNEXPECTED_ERROR | An unexpected internal error occurred that prevented successful request processing. |
INVALID_APP_KEY | The application key passed is invalid or is not present |
TOO_MANY_REQUESTS | There are too many pending requests e.g. a listMarketBook with Order/Match projections is limited to 3 concurrent requests. The error also applies to listCurrentOrders, listMarketProfitAndLoss and listClearedOrders if you have 3 or more requests currently in execution |
SERVICE_BUSY | The service is currently too busy to service this request |
TIMEOUT_ERROR | Internal call to downstream service timed out |
REQUEST_SIZE_EXCEEDS_LIMIT | The request exceeds the request size limit. Requests are limited to a total of 100 betId’s/marketId’s (or a combination of both) |
Other parameters | Type | Required | Description |
---|---|---|---|
errorDetails | String | the stack trace of the error | |
requestUUID | String |
Error Code | Description |
---|---|
-32700 | Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text. |
-32601 | Method not found |
-32602 | Problem parsing the parameters, or a mandatory parameter was not found |
-32603 | Internal JSON-RPC error |