service · inferred from evidence
Textract
AWS service for document text and data extraction.
- Textract rejects local PDFs: `Exception: PDF must be in S3 bucket`
Textract rejects local PDFs: `Exception: PDF must be in S3 bucket`. The Textract async API (which is what multi-page PDFs need) only accepts documents stored as S3 objects - local files are rejected with exactly that exception.
- textractor raises `KeyError: 'Geometry'` when an expense field has an empty value
What this covers: I call `textract.start_expense_analysis` on a multi-page invoice PDF stored in S3. The fix that worked: This was a real bug in textractor's expense parser.