Market Data Api Errors

Error Format

All error responses contain an appropriate HTTP status code and have the following format:

{
    "errorCode": "InvalidRequestParameters",
    "message": "Bad request. Please review errors.",
    "errors": [
        {
            "errorCode": "InvalidExchange",
            "fieldName": "Exchange",
            "fieldValue": null,
            "message": "Exchange cannot be empty."
        }
    ]
}

  • errorCode: Top level errorCode. This unique code identifies the type of top level error it is.
  • message: Human readable message describing the error.
  • errors: An array of errors specific to invalid request parameters passed by the client. Note, this might be null.
  • error.errorCode: Parameter level errorCode. This unique code identifies the type of parameter error it is.
  • error.fieldName: The name of the field in the request.
  • error.fieldValue: The value passed in the field by the client.
  • error.message: Human readable message describing the error.

Top level errors

HTTP status code Error code Notes
400 RequestMissing The entire request is missing and needs to be set by the client.
400 InvalidRequestParameters The request contains invalid parameters. The errors with the invalid parameters will be in the errors array (see parameters level errors reference below for more details).
403 AccessDenied Your client doesn't have access to this endpoint, try calling the "DELETE /sessions/application/v1" endpoint and try again, if still not working please contact support.
404 EndpointNotFound The endpoint called does not exist.
429 ApiCallsFrequencyExceeded The number of requests made to the API exceeds the maximum allowed for the period of time (eg: 30 calls per second).
429 ActiveApiCallsExceeded The number of active requests made to the API exceeds the maximum allowed. Active requests are requests that haven't returned yet and are still processing. Those also include subscriptions to updates.
429 MaxUpdatesQueuedExceeded Too many updates were queued since the last call. Call the update endpoint more often and or break down the request in ones returning less updates.
500 InternalServerError An unhandled error occured in the API. If it still happens after retrying please contact support with the request made.
503 ServiceUnavailable A temporary error occured in the API. If it still happens after retrying please contact support with the request made.

Parameter level errors

Error codeNotes
InvalidExchangeThe Exchange parameter passed in the request is invalid. See message for more details.
InvalidDateFromThe DateFrom parameter passed in the request is invalid. See message for more details.
InvalidDateToThe DateTo parameter passed in the request is invalid. See message for more details.
InvalidDateTimeFromThe DateTimeFrom parameter passed in the request is invalid. See message for more details.
InvalidDateTimeToThe DateTimeTo parameter passed in the request is invalid. See message for more details.
InvalidConsolidationIntervalThe ConsolidationInterval parameter passed in the request is invalid. See message for more details.
InvalidSecurityThe Security parameter passed in the request is invalid. See message for more details.
InvalidSecuritiesThe Securities parameter passed in the request is invalid. See message for more details.
InvalidDataTypesThe DataTypes parameter passed in the request is invalid. See message for more details.
InvalidDataTypeThe DataType parameter passed in the request is invalid. See message for more details.
InvalidRequestIdsThe RequestIds parameter passed in the request is invalid. See message for more details.
RequestAlreadyProcessedThe RequestId used in the X-Request-ID header has already been processed by another request.
RequestAlreadyInUseThe RequestId used in the X-Request-ID header is already being used for a different updates subscription.
RequestNotFoundThe RequestId used in the X-Request-ID header to retrieve updates could not be found. You will need to restart the updates subscription flow.
InvalidSystemListNameThe SystemListName parameter passed in the request is invalid. See message for more details.
InvalidUpdatesThe Updates header parameter passed in the request is invalid. See message for more details.
InvalidMarketsThe Markets parameter passed in the request is invalid. See message for more details.
InvalidMarketThe Market parameter passed in the request is invalid. See message for more details.
InvalidAskLevelMaxThe AskLevelMax parameter passed in the request is invalid. See message for more details.
InvalidBidLevelMaxThe BidLevelMax parameter passed in the request is invalid. See message for more details.