Error codes
Errors use RFC 9457 application/problem+json with two extensions: code (stable, ASCII, English, lower snake case; never translated) and request_id.
HTTP errors
HTTP statusCodeMeaning
Rejection codes
Intake rejection codes are not HTTP errors; they appear in the document’s rejection.code. Only file_too_large is also an HTTP 413 (before the document record exists).
CodeMeaning
unsupported_typeThis file type is not supported.file_too_largeThe file is too large.file_corruptThe file could not be opened; it may be corrupt.password_requiredThe PDF is password-protected; upload it without a password.unsafe_xmlThe XML is unsafe (DOCTYPE or external reference).malware_detectedMalicious content was found in the file.low_resolutionThe image resolution is too low.blurryThe image is blurry; take it again.poor_lightingLighting is poor or there is glare.incomplete_frameThe whole document is not in the frame.unrecognized_documentThe document type was not recognised.out_of_scope_documentThis document type is out of scope.multiple_documentsThe file holds several documents; upload them separately.