> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsiam/configure-cortex-xsiam/data-management/archived-data/success-and-failure-code-responses-to-your-http-post-requests.md).

# 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 (<code>x-cortex-partition</code>) is missing or empty in the HTTP request.</li><li>The partition date value in the HTTP request (<code>x-cortex-partition</code>) isn't in the correct format of <code>YYYY-MM-DD</code>.</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><code>{ "error": "partition value is missing or empty"}</code></p></li><li><p>Partition date value isn't in the correct format of <code>YYYY-MM-DD</code>:</p><p><code>{ "error": "partition value must be in the format YYYY-MM-DD"}</code></p></li><li><p>Dataset name value is missing or empty in the HTTP request:</p><p><code>{ "error": "sourceDataset value is missing or empty"}</code></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><code>The Bulk Load configuration has been deleted and cannot be used</code></p></li><li><p>Partition date value not within the license retention period for hot and cold storage:</p><p><code>partition is less than license start date</code></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><code>exceeds daily limit of \<number> files</code></p></li><li><p>Daily ingestion file size limit exceeded:</p><p><code>Daily file size limit of \<number> GB for HTTP requests sent is exceeded</code></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`                                                                                                                                                                                                                                                                                                                                                                                                                                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/configure-cortex-xsiam/data-management/archived-data/success-and-failure-code-responses-to-your-http-post-requests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
