Troubleshooting
This article is currently under review. Some content may be incomplete or inaccurate.
Common issues and solutions when working with DocAI Fabric.
Classification Problems
Documents Always Classified as "Unknown"
Symptoms: All or most documents get the "Unknown" class despite having defined classes.
Solutions:
- Check class descriptions are detailed enough, including key identifying features
- Ensure classes cover the document types you're uploading
- Verify descriptions mention distinguishing characteristics (headers, logos, specific sections)
- Review confidence thresholds in project settings
Ask the AI Assistant: "Show me my current document classes and their descriptions" to quickly review your setup.
Wrong Classification
Symptoms: Documents are assigned to incorrect classes.
Solutions:
- Make class descriptions more distinct, emphasizing unique features of each class
- Add distinguishing features to each class (e.g., "Invoices always have line items and a total due")
- Review similar classes for overlapping descriptions
- Reclassify affected documents manually and review the results
Low Classification Confidence
Symptoms: Documents are classified correctly but with low confidence scores.
Solutions:
- Add more detail to class descriptions
- Include format-specific hints (e.g., "typically a single-page document with a table")
- Ensure each class is clearly different from other classes
Extraction Problems
Missing Field Values
Symptoms: Fields return empty or null when data exists in the document.
Solutions:
- Improve field descriptions with more context about what to look for
- Add location hints: "Usually found in the top-right corner of the first page"
- Specify expected format: "Date in format MM/DD/YYYY"
- Check if the field type matches the data (e.g., use
datetype for dates, nottext)
Incorrect Field Values
Symptoms: Wrong data extracted for fields.
Solutions:
- Make field descriptions more specific about what to extract
- Clarify what NOT to extract (e.g., "The invoice total, not the subtotal or tax")
- Check for similar fields that might confuse the AI
- Verify the field type is appropriate
Repeating Groups Not Detected
Symptoms: Tables or line items not properly extracted as groups.
Solutions:
- Ensure the group is defined as a repeating type
- Add column/field descriptions for each table column
- Describe the table structure in the group description
- Check if table format varies across documents
Processing Issues
Transaction Stuck in "Processing"
Symptoms: Status stays at "processing" for an extended time.
Solutions:
- Check status.docaifabric.com for any ongoing incidents
- Check if the processing queue is running
- Review error logs for failures
- Verify Azure OpenAI endpoint connectivity
- Check for resource limits (memory, API quotas, rate limits)
Failed Transactions
Symptoms: Transaction status shows "failed".
Solutions:
- Check file format is supported (PDF, JPEG, PNG, TIFF)
- Verify the file is not corrupted
- Ensure file size is within limits
- Review error messages in the transaction detail view
Connection Issues
Before diving into configuration, check status.docaifabric.com to rule out an ongoing service incident.
If you see API authentication errors (401/403):
- Verify your API key is valid
- Check tenant/project access permissions
- Ensure your session is active (for the web interface)
- Refresh authentication if expired
Best Practices
Writing Good Field Descriptions
The field description is the most important factor for extraction quality:
- Be specific: "The unique invoice identifier, usually starting with 'INV-'"
- Include location hints: "Usually found in the top-right corner of the first page"
- Mention format: "Date in format MM/DD/YYYY"
- Clarify ambiguity: "The total amount due including tax, not the subtotal"
Writing Good Class Descriptions
- Include key identifying features: "Invoices from vendors requesting payment, typically showing line items, totals, and payment terms"
- Mention distinguishing characteristics: "Receipts showing proof of purchase with date and amount paid"
- Be specific enough to differentiate from similar classes
Testing Changes
- Make one change at a time
- Test with sample documents after each change
- Compare before/after extraction results
- Roll back if quality decreases
Regular Maintenance
- Review low-confidence classifications periodically
- Update field and class descriptions based on common errors
- Monitor the processing queue for backlogs