ERR_CONVERSION_EMPTY_OUTPUT β Conversion Empty Output
HTTP Status: 500 Retryable: Yes Automatic retry: None. However, retrying with a different quality tier may produce different results.
What the User Sees
The conversion produced no output. This may happen with scanned or image-only PDFs. (ERR_CONVERSION_EMPTY_OUTPUT)
What Causes This Error
The AI model returned valid responses but the extracted HTML content is empty or trivially small (below a minimum character threshold). The system detects this condition in routes/convert.ts after all conversion steps complete.
Common causes include: scanned documents where OCR fails to extract text, image-only PDFs with no text layer (photographs, artwork, hand-drawn diagrams), heavily stylized documents with unusual fonts or text rendering that confuses the vision model, and extremely low-resolution scans where text is not legible even to AI vision models.
When this error occurs, the system sends both an admin notification email and a user notification email with details. Credits are NOT deducted for empty conversions β the file is marked as failed with autoRefunded: true.
This is one of the few errors where retrying with a different quality tier can make a meaningful difference, as different models have different strengths with OCR and image recognition.
Resolution Steps
For Users
- Try the βpremiumβ quality tier, which uses more sophisticated vision models that may handle difficult documents better.
- Ensure the PDF has a text layer. Try selecting text in a PDF viewer (Adobe Acrobat, Chrome) β if you cannot select text, the PDF is image-only.
- If the PDF is a scan, use dedicated OCR software (Adobe Acrobat Pro, ABBYY FineReader, or online OCR tools) to add a text layer before converting.
- Verify the PDF content is legible β very low-resolution scans or heavily degraded copies may not produce usable output.
- Your credits were not deducted for this failed conversion.
For Administrators
- Check the conversion failure alert email for details including token usage, cost, and file ID.
- The file is marked as failed with
autoRefunded: truein the metadata, confirming credits were not charged. - Review the pipeline log for the failed conversion via Admin > Files. Check which chunks (if any) produced output and which were empty.
- If this error is frequent for a specific document type, consider adding pre-conversion checks to detect image-only PDFs and warn users before they attempt conversion.
- Monitor the error rate in Grafana. A sudden increase may indicate a regression in the AI modelβs OCR capabilities.
- The minimum output threshold is defined in
routes/convert.tsβ adjust if the threshold is too aggressive.
Related Errors
- ERR_CONVERSION_TIMEOUT β Conversion exceeded time limit