Hello Bret Smith,
When you encounter a 500 Internal Server Error after batch processing with Azure AI Document Intelligence, especially when processing more than ~45 documents at a time (even though the limit is documented as 10,000), it typically indicates a backend issue. This is not due to the document format or corruption, since different documents succeed in different reruns and failures seem to occur in grouped patterns.
Here’s what you need to know:
Possible Causes: This error might be triggered by service throttling, temporary internal limits, or constraints on concurrent compute resources. Even though the platform technically supports 10,000 documents per batch, practical throughput may be lower due to backend resource management and how the requests are segmented for processing.
Adjusting Limits: Currently, you cannot change internal batch processing limits directly from the Azure portal. Microsoft’s processing cap is set by the system, not per-user, and batch size reduction is your immediate workaround.
Best Practices: Limit your batch submission to smaller sizes—try 40 or fewer documents per batch—and if necessary, implement a retry logic for failed documents. This can help avoid overload and mitigate issues that arise from service-side batch handling.
Billing Policy: In general, Microsoft’s billing is tied to attempted document processing. If a document is submitted but not processed due to internal server error, you may not be charged; however, you should confirm this policy either via your usage dashboard or by contacting Microsoft support, as billing rules may be updated and can differ for preview or production services. Always review your invoice or monitor resource usage in your Azure subscription for clarity.
Further Steps: If this issue persists even with reduced batch sizes, raise it with Microsoft support, sharing your batch payload details, request IDs, and error responses. You can also review the platform’s documentation for batch analysis and processing for additional troubleshooting guidance and follow service advisories for backend improvements or bug fixes. If this helps you kindly approve the answer.
Best Regards,
Jerald Felix