Support

Troubleshooting

Most failures are actionable before you retry. Reuse the same Idempotency-Key only when replaying the exact same logical request after a timeout or transport error.

Support
View as Markdown

Parse

Parse And Resume Failures

CodeFix
invalid_pdfConfirm the upload is a real PDF. The gateway checks magic bytes, not the extension.
corrupt_pdfRe-export or repair the file, then resubmit.
password_protectedDecrypt the PDF before uploading. Password submission is not part of this lane.
ocr_requiredRun OCR upstream, then resubmit the text-native PDF.
invalid_page_rangeUse a selector like 1-3,5 that resolves inside the document bounds.
page_limit_exceededNarrow page_range or move to a plan with a higher parse cap.

Output quality

The Job Succeeded But The Output Is Wrong

SymptomTry
Text in the wrong orderreading_order=off for less reconstruction, reading_order=xycut for more.
Tables missing cell groupingstable_method=cluster.
Headings and sections not detecteduse_struct_tree=true if the PDF is tagged.
Line breaks collapsedkeep_line_breaks=true.
Page headers and footers missinginclude_header_footer=true.
Figures missing from Markdownformats=markdown_with_images.

Batch

Batch Download States

StatusCodeMeaning
400The requested format was never requested for this batch.
425batch_not_readyThe batch or file has not reached a terminal state yet.
409batch_file_failedThat file failed after enqueue. Other files may still download.
410output_expiredThe one-hour artifact TTL has passed.

Transient

Capacity And Retries

  • server_busy and backend_unavailable are temporary. Back off, then retry with the same Idempotency-Key for the exact same request.
  • 503 on the batch lane carries Retry-After. Honor it.
  • Fix 400 failures before retrying — the same invalid input is rejected again.
  • Log request_id from the error body or the x-request-id header in every support report.