This exception is thrown when an operation fails
The operation requested too much data, exceeding the Market Data Request Limits. You must adjust your request parameters to stay with the documented limits.
The data input is invalid. A specific description is returned via errorDetails as shown below.
The session token hasn't been provided, is invalid or has expired. Login again to create a new session
An application key header ('X-Application') has not been provided in the request.
A session token header ('X-Authentication') has not been provided in the request
An unexpected internal error occurred that prevented successful request processing.
The application key passed is invalid or is not present
There are too many pending (in-flght) requests e.g. a listMarketBook with Order/Match projections is limited to 3 concurrent requests. The error also applies to:
The service is currently too busy to service this request.
The Internal call to downstream service timed out. Please note: If a TIMEOUT_ERROR a TIMEOUT error occurs on a placeOrdersa placeOrders/replaceOrders requestreplaceOrders request, you should check listCurrentOrders to check listCurrentOrders to verify the status of your bets before placing further orders. Please Please Note: Timeouts will occur after 5 seconds of attempting to process the bet but please allow up to 2 minutes 15 seconds for a timed out order to appear. After this time any unprocessed bets will automatically be Lapsed and no longer be available on the Exchange.
|REQUEST_SIZE_EXCEEDS_LIMIT||The request exceeds the request size limit. Requests are limited to a total of 250 betId’s/marketId’s (or a combination of both).|
|ACCESS_DENIED||The calling client is not permitted to perform the specific action e.g. the using a Delayed App Key when placing bets they have an App Key restriction in place or attempting to place a bet from a restricted jurisdiction.|
the stack trace of the error
"market id passed is invalid"
"locale must use valid iso-639 locale names"
"currency must use valid iso2 currency code name"
"country code must use valid iso2 country code name"
"text query has invalid content"
"language must use valid iso language name"
| || || |