Errors

Could Not Parse File

Error

What Happened

The uploaded file could not be parsed as the expected format. The file may be corrupted, in an unsupported format, or the Content-Type header may not match the actual file contents.

The response includes a detail property with more information about this error.

How to Fix

  • Verify the file is a valid PDF or DOCX by opening it locally in a PDF viewer or word processor.
  • Ensure the Content-Type header in your request matches the actual file format (application/pdf for PDF, application/vnd.openxmlformats-officedocument.wordprocessingml.document for DOCX).
  • Try re-saving or re-exporting the file from its original application and uploading again.
  • If the file was generated programmatically, verify the output is well-formed.

  Still stuck? Contact support.