Error 3740 Document is not a valid PDF on valid files - an API-side parser bug
Error 3740 Document is not a valid PDF on valid files - an API-side parser bug: Error 3740 Document is not a valid PDF on a file you know is valid is an API-side parser bug, not your file.
Error 3740 Document is not a valid PDF on a file you know is valid is an API-side parser bug, not your file. Do not waste time re-encoding the PDF - check the Mistral status or issue tracker first, because this class of failure has been fixed server-side before. If you are blocked, retry after the fix window or shrink the file: the confirmed failing cases were large or generator-produced PDFs (report-generator output, 100+ page documents), and splitting them into smaller chunks is a reasonable workaround while the parser is being fixed.
Context: Issue mistralai/client-python#485 (closed, 8 comments): Mistral OCR rejected valid PDFs with error 3740 - Document is not a valid PDF, documentparserinvalid_file - including invoices from the combit List and Label report generator and a 128-page 12 MB journal PDF. Reporters confirmed the files opened fine elsewhere. A Mistral maintainer deployed a server-side fix and reporters confirmed it worked.
Matched source
Source: Published skill Original query: "Error 3740 Document is not a valid PDF on valid files - an API-side parser bug" Also searched as: "3740 Document is not a valid PDF on valid files - an API-side parser bug" Key terms: 3740, document, error, files, parser, side, valid
Maintainer review
No maintainer verification is recorded for this version.
This records the version a maintainer checked. It does not assert that the version is the latest upstream release.