Common Errors
This guide provides solutions to frequently encountered errors in Document Automation.
Installation and Setup Errors
Error: "App installation failed with dependency errors"
Cause: Required dependencies are missing or incompatible
Solution:
- Verify Q-Team Authenticator app is installed
- Check Business Central version compatibility
- Ensure appropriate installation permissions
- Contact system administrator for dependency resolution
Prevention:
- Review system requirements before installation
- Install dependencies in correct order
- Maintain current Business Central version
Error: "Setup page not accessible after installation"
Cause: Missing user permissions or role configuration
Solution:
- Verify Document Automation permission set is assigned
- Refresh Business Central session
- Search for "Document Automation Setup" using tell me function
- Check with administrator about role permissions
Prevention:
- Assign appropriate permission sets during installation
- Document user role requirements
- Test user access after installation
OCR Service Errors
Error: "Service connection failed"
Cause: Cannot connect to OCR service
Solution:
- Check internet connectivity and firewall settings
- Verify service credentials are correct and current
- Confirm service URL is accessible from network
- Test connection using "Test Connection" action
Prevention:
- Maintain current service credentials
- Monitor service status and availability
- Configure firewall rules for OCR service access
Error: "Document format not supported"
Cause: File type incompatible with OCR processing
Solution:
- Verify file format is PDF, JPEG, PNG, or TIFF
- Check file is not corrupted or password protected
- Convert file to supported format if necessary
- Ensure file size is within configured limits
Prevention:
- Document supported file formats for users
- Configure email filters for supported types
- Implement file validation procedures
Error: "OCR processing timeout"
Cause: Document processing exceeded time limits
Solution:
- Check document size and complexity
- Retry processing during off-peak hours
- Split large documents into smaller files
- Contact support if timeouts persist
Prevention:
- Monitor processing times and patterns
- Configure appropriate timeout settings
- Optimize document quality before processing
Email Integration Errors
Error: "Email authentication failed"
Cause: Invalid email credentials or expired authentication
Solution:
- Verify email account credentials are correct
- Check OAuth token expiration and refresh
- Confirm email account permissions and access
- Test email connection using setup wizard
Prevention:
- Regular credential rotation and updates
- Monitor authentication token expiration
- Maintain email account security settings
Error: "Inbox synchronization failed"
Cause: Cannot access or sync email inbox
Solution:
- Check email server connectivity and settings
- Verify inbox folder names and permissions
- Confirm email account has appropriate access rights
- Test with smaller batch sizes
Prevention:
- Regular inbox configuration testing
- Monitor email server status and changes
- Configure backup email accounts if possible
Error: "Attachment processing failed"
Cause: Cannot download or process email attachments
Solution:
- Check file size limits and restrictions
- Verify attachment file types are supported
- Confirm network connectivity for downloads
- Review email security settings and filters
Prevention:
- Configure appropriate file size limits
- Document supported attachment types
- Monitor attachment processing success rates
Document Processing Errors
Error: "Vendor not found"
Cause: System cannot identify vendor from document
Solution:
- Manually select correct vendor from lookup
- Update identification rules for this vendor
- Verify vendor master data completeness
- Check document contains clear vendor information
Prevention:
- Maintain accurate vendor master data
- Regular review and update of identification rules
- Train users on manual vendor selection procedures
Error: "Posting group not defined"
Cause: Required posting groups missing or incorrect
Solution:
- Configure default posting groups in setup
- Update preferred vendor setup for specific vendors
- Verify posting group configuration in Business Central
- Check G/L account assignments and mappings
Prevention:
- Complete posting group configuration during setup
- Regular review of vendor posting configurations
- Document posting group requirements and mappings
Error: "Amount validation failed"
Cause: Extracted amounts don't match validation rules
Solution:
- Verify document image quality and clarity
- Check currency settings and decimal separators
- Review VAT calculation configuration
- Manually correct amounts if necessary
Prevention:
- Ensure high-quality document scanning
- Configure appropriate validation thresholds
- Regular review of amount extraction accuracy
Performance Issues
Error: "System running slowly"
Cause: Performance degradation due to various factors
Solution:
- Check system resource utilization
- Review document processing queue size
- Optimize database performance and indexing
- Consider processing during off-peak hours
Prevention:
- Regular performance monitoring and optimization
- Implement capacity planning procedures
- Configure appropriate processing schedules
Error: "PDF viewer not loading"
Cause: Browser or viewer configuration issues
Solution:
- Clear browser cache and cookies
- Disable browser extensions temporarily
- Try alternative browser or incognito mode
- Check JavaScript and plugin settings
Prevention:
- Maintain current browser versions
- Document browser compatibility requirements
- Regular testing of viewer functionality
Error: "Search performance degraded"
Cause: Large dataset affecting search performance
Solution:
- Use specific search criteria to narrow results
- Filter by date ranges to reduce search scope
- Consider archiving older documents
- Contact support for database optimization
Prevention:
- Implement document archiving policies
- Regular database maintenance and optimization
- Monitor search performance metrics
Data Issues
Error: "Master data synchronization failed"
Cause: Cannot sync with Business Central master data
Solution:
- Verify Business Central connectivity and permissions
- Check user access to vendor and customer data
- Review integration configuration settings
- Test master data access from setup page
Prevention:
- Regular integration testing and validation
- Monitor master data changes and updates
- Maintain appropriate user permissions
Error: "Document posting failed"
Cause: Validation errors preventing document posting
Solution:
- Review posting error messages and details
- Verify all required fields are completed
- Check posting group and account configurations
- Validate document data against Business Central rules
Prevention:
- Complete configuration validation during setup
- Regular testing of posting procedures
- Monitor posting success rates and error patterns
Network and Connectivity Issues
Error: "External service unavailable"
Cause: Cannot connect to external services
Solution:
- Check internet connectivity and network status
- Verify external service status and availability
- Review firewall and proxy configurations
- Test connectivity from alternative network location
Prevention:
- Monitor external service status and notifications
- Configure backup service connections where possible
- Implement network redundancy and failover procedures
Error: "Connection timeout"
Cause: Network timeouts during service communication
Solution:
- Check network latency and bandwidth
- Configure appropriate timeout settings
- Retry during different time periods
- Contact network administrator for assistance
Prevention:
- Regular network performance monitoring
- Configure appropriate timeout and retry settings
- Implement network optimization procedures
Security and Access Issues
Error: "Access denied"
Cause: Insufficient permissions for requested operation
Solution:
- Verify user has appropriate permission sets
- Check object-level and field-level permissions
- Confirm user account is active and valid
- Contact administrator for permission review
Prevention:
- Document permission requirements clearly
- Regular review of user permissions and roles
- Implement least privilege access principles
Error: "Authentication token expired"
Cause: Security tokens have expired and need renewal
Solution:
- Refresh authentication tokens through setup
- Re-authenticate with external services
- Update stored credentials and tokens
- Test authentication after renewal
Prevention:
- Implement automatic token renewal where possible
- Monitor token expiration and renewal schedules
- Configure appropriate token lifetime settings
Getting Additional Help
Diagnostic Information to Collect
System Information:
- Business Central version and build number
- Document Automation app version
- Operating system and browser information
- Network configuration details
Error Details:
- Complete error messages and codes
- Screenshots of error conditions
- Steps to reproduce the problem
- Time and frequency of occurrence
Configuration Information:
- Setup configuration export
- User permission assignments
- Integration configuration details
- Recent configuration changes
Support Contacts
Q-Team Solutions Support:
- Email: support@q-teamsolutions.com
- Support Portal: http://support.q-teamsolutions.com
- Phone: Available during business hours
- Emergency Support: For critical production issues
Self-Service Resources:
- Online documentation and knowledge base
- Video tutorials and training materials
- User community forums and discussions
- Diagnostic tools and utilities
Escalation Procedures
Level 1 Support:
- Initial troubleshooting and basic configuration issues
- Standard error resolution and user assistance
- Documentation and training resources
Level 2 Support:
- Complex configuration and integration issues
- Performance optimization and tuning
- Advanced troubleshooting and diagnostics
Level 3 Support:
- Critical system issues and outages
- Complex integration and customization issues
- Product enhancement and feature requests