Skip to main content
All DocIntell API errors follow RFC 7807 (Problem Details) format for consistent handling.

Error Response Format

HTTP Status Codes

Common Errors

Authentication Errors (401)

Fix: Check your API key and ensure it has the Bearer prefix.

Rate Limit Errors (429)

Fix: Wait for the retry_after duration, or upgrade your plan.

Validation Errors (400)

Fix: Ensure you’re uploading PDF files only.

Not Found Errors (404)

Fix: Verify the ID and ensure it belongs to your tenant.

Retry Strategy

Implement exponential backoff for transient errors (429, 5xx):

Best Practices

Check Status Codes

Always check HTTP status codes before parsing response body

Log Errors

Log the full error response including details for debugging

Implement Retries

Use exponential backoff for 429 and 5xx errors

Handle Gracefully

Show user-friendly messages, not raw error responses