HTTP status codes
Error response format
Processing errors vs. API errors
- API errors (4xx): the request itself failed. No document was processed.
- Processing errors (in the
errorsfield of a200response): the document was processed but some fields couldn’t be extracted or validated.
status: "completed_with_errors" is still a 200 OK:
Retry strategy
For503 (high load) responses, implement exponential backoff: