Skip to content

Errors

Could Not Parse File

SignatureAPI could not read the uploaded file as a PDF or DOCX. Check that the file opens locally and that Content-Type matches its format.

What Happened

SignatureAPI could not read the uploaded file as a PDF or DOCX. The file may be corrupted or in another format, or the Content-Type may not match the file contents. The detail property says which format it tried.

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.