Success and failure code responses to your HTTP POST requests ↗
The following table provides the various success and failure code responses to your HTTP POST requests, which can help you troubleshoot any problems with your HTTP collector configuration.
| Success/failure response code | Description | Output code displayed (if applicable) |
|---|---|---|
| 200 | Success code that indicates there are no errors and the request was successful. The last_used field timestamp is updated accordingly. |
{ "ok": "true"} |
| 400 | <p>Error code that indicates that there is a problem with any of the following:</p><ul><li>The partition date value (x-cortex-partition) is missing or empty in the HTTP request.</li><li>The partition date value in the HTTP request (x-cortex-partition) isn't in the correct format of YYYY-MM-DD.</li><li>Dataset name value (x-cortex-source-dataset) is missing or empty in the HTTP request.</li></ul> |
<ul><li><p>Partition date value missing or empty in HTTP request:</p><p>{ "error": "partition value is missing or empty"}</p></li><li><p>Partition date value isn't in the correct format of YYYY-MM-DD:</p><p>{ "error": "partition value must be in the format YYYY-MM-DD"}</p></li><li><p>Dataset name value is missing or empty in the HTTP request:</p><p>{ "error": "sourceDataset value is missing or empty"}</p></li></ul> |
| 401 | Unauthorized error code that indicates an incorrect authorization key for the HTTP collector is being used. | { "error": "Failed to validate authentication detail"} |
| 403 | <p>Error code that indicates one of the following:</p><ul><li>Wrong header key for the HTTP collector is in the HTTP request and cannot be used.</li><li>Partition date value (x-cortex-partition) in the HTTP request is not within the license retention period for hot and cold storage.</li></ul> | <ul><li><p>Wrong header key in HTTP request:</p><p>The Bulk Load configuration has been deleted and cannot be used</p></li><li><p>Partition date value not within the license retention period for hot and cold storage:</p><p>partition is less than license start date</p></li></ul> |
| 413 | Error code indicating the request entity is too large as the request size is more than the 25 MB limit. | Request entity too large as the size is more than 25 MB limit |
| 429 | <p>Error code indicating too many requests as the ingestion limits are reached for one of the following reasons:</p><ul><li>Daily ingestion limit of <number> files is exceeded.</li><li>Daily file size ingestion limit of <number> GB is exceeded.</li></ul> | <ul><li><p>Daily ingestion file limit exceeded:</p><p>exceeds daily limit of <number> files</p></li><li><p>Daily ingestion file size limit exceeded:</p><p>Daily file size limit of <number> GB for HTTP requests sent is exceeded</p></li></ul> |
| 500 | Error code indicating an unexpected internal error while processing the bulk load HTTP request. | Unexpected error while processing bulk load request |