All error responses contain an appropriate HTTP status code and have the following format:
{
"errorCode": "InvalidRequestParameters",
"message": "Bad request. Please review errors.",
"errors": [
{
"errorCode": "InvalidHeadlineId",
"fieldName": "Exchange",
"fieldValue": null,
"message": "HeadlineId: 'abc' in HeadlineIds is invalid."
}
]
}
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. |
Error code | Notes |
---|---|
InvalidDateTimeFrom | The InvalidDateTimeFrom parameter passed in the request is invalid. See message for more details. |
InvalidDateTimeTo | The InvalidDateTimeTo parameter passed in the request is invalid. See message for more details. |
InvalidHeadlineIds | The InvalidHeadlineIds parameter passed in the request is invalid. See message for more details. |
InvalidHeadlineId | The InvalidHeadlineId parameter passed in the request is invalid. See message for more details. |
InvalidCategoryId | The InvalidCategoryId parameter passed in the request is invalid. See message for more details. |
InvalidSecurity | The InvalidSecurity parameter passed in the request is invalid. See message for more details. |
InvalidVendorCodes | The InvalidVendorCodes parameter passed in the request is invalid. See message for more details. |
InvalidVendorCode | The InvalidVendorCode parameter passed in the request is invalid. See message for more details. |
InvalidText | The InvalidText parameter passed in the request is invalid. See message for more details. |
InvalidRequestIds | The RequestIds parameter passed in the request is invalid. See message for more details. |
RequestAlreadyProcessed | The RequestId used in the X-Request-ID header has already been processed by another request. |
RequestAlreadyInUse | The RequestId used in the X-Request-ID header is already being used for a different updates subscription. |