Skip to main content

Overview

TrueParser returns standard HTTP status codes together with JSON error bodies for most API failures. The most common error payload shape is:
Some endpoints may also return route-specific fields such as detail.

Authentication Errors

These errors happen when a request is missing a valid access token or the token does not satisfy API policy.

Document Submission Errors

These errors happen during document ingestion.

Result and Status Errors

These errors happen when checking status or retrieving parsed results.

Health and Overload Responses

TrueParser also exposes health and overload signals: When a node is overloaded, the API may return a response like:

Quota and Processing Failures

Background processing failures may eventually surface through status polling or result retrieval. Common examples include:
  • quota_exceeded
  • document_quota_exceeded
  • job_timeout
  • processing_failed
  • transient_infrastructure_failure

What Clients Should Do

  • treat the HTTP status code as the primary signal
  • inspect the error field when present
  • use retry with backoff for 429 and appropriate 503 responses
  • poll status for asynchronous jobs instead of assuming immediate completion
Last modified on April 1, 2026