Unable to invoke Azure Document Intelligence API for Document Training

Bipin 0 Reputation points
2025-11-25T16:15:28.7966667+00:00

We are experiencing an issue with creating a Custom Classifier model for Azure Document Intelligence through API. We followed the documentation and tried both approaches (listing individual JSONL files and specifying a folder path using the prefix parameter). When we upload the training files to storage and send the request to the API endpoint, the response says that no files are found at the given path. However, when we try the same files and folders in the Azure portal, it works correctly. After using the portal, if we go back to the original code, the API works as expected with the same files and path.

Endpoint name: https://{endpoint}/documentintelligence/documentClassifiers:build?api-version=2024-11-30

API: v4.0 2024-11-30 (GA) API.

Azure AI Document Intelligence
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.