Hi Vijay Madireddy,
The error message you're seeing – "InvalidContentSourceFormat: Invalid content source: Could not read build content" – typically indicates that Azure Document Intelligence is unable to access or interpret the training content from the specified storage location. This can happen due to a few common reasons. Please ensure that the container structure follows the expected format, where each document type is placed inside its own subfolder (e.g., invoice/, receipt/), and that these subfolders contain at least one supported file format such as JPEG, PNG, TIFF, or PDF. Files should not be placed directly in the root of the container. Also, confirm that the SAS URL you’re using is correct and includes the necessary permissions — specifically, Read (r) and List (l) access. The names of the subfolders should exactly match the document types specified in your classifier training request. Additionally, check that the files are not corrupted or empty, and that the API call is correctly configured with the right endpoint and parameters. Verifying these details should help resolve the issue. Reference thread: https://learn.microsoft.com/en-us/answers/questions/1422925/invalidcontentsourceformat-invalid-content-source
For more information: Build and train a custom classification model