When an error occurs, the Parse API returns a structured error response with the following fields:
We provide custom error codes to make it easier for your system to know what happened in case of a failure. There will also be a retryable=true|false field in the response body, but you can also find a breakdown below. Most errors are not retryable and are client errors related to the file provided for parsing.
Corresponding http error codes for different types of failures. We generally recommend relying on our custom error codes for programmatic handling.
Returned when:
file)url is not provided in the file objecturl is invalidconfig contains invalid values (e.g., unsupported target format or chunking strategy)Returned when:
Returned when:
Returned when:
Returned when:
Here are examples of how to handle errors from the Parse API: