Skip to end of metadata
Go to start of metadata

Exceptions

APINGException

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

The data input is invalid. A specific description is returned via errorDetails as shown below.

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

The Internal call to downstream service timed out. Please note: If a TIMEOUT_ERROR error occurs on a placeOrders/replaceOrders request, you should check listCurrentOrders to verify the status of your bets before placing further orders. Please allow up to 2 minutes for timed out order to appear.

REQUEST_SIZE_EXCEEDS_LIMITThe request exceeds the request size limit. Requests are limited to a total of 250 betId’s/marketId’s (or a combination of both).
ACCESS_DENIEDThe calling client is not permitted to perform the specific action e.g. they have an App Key restriction in place or attempting to place a bet from a restricted jurisdiction.

 

 

Other parameters

Type

Required

Description

Values

errorDetails

String

 

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"

requestUUID

String

   
Generic JSON-RPC Exceptions
Error CodeDescription
-32700

Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.

-32601Method not found
-32602

Problem parsing the parameters, or a mandatory parameter was not found

-32603Internal JSON-RPC error
  • No labels