EXTRACTION_FAILURES
@forge/monorepo / backend/src / EXTRACTION_FAILURES
Variable: EXTRACTION_FAILURES
constEXTRACTION_FAILURES: readonly ["unsupported-type","too-large","too-many-pages","timed-out","encrypted","no-text-layer","malformed"]
Defined in: backend/src/documents/index.ts:54
Why a document could not be read.
Each value exists because the user-facing sentence differs. no-text-layer is not malformed: the first
means "this is a scan, OCR would help" and the second means "this file is broken". Collapsing them would
send someone to re-export a file that needed a different pipeline.