Hi Sebastian Villa,
Thanks for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.
The "InternalServerError: An unexpected error occurred" is a generic error that can be challenging to diagnose. Here are some steps and quick workarounds that might help resolve this issue:
- Retry Model Training with a New Model ID:
- Instead of updating an existing model, try training a new model with a different ID.
- This will help determine if the issue is related to the previous model's metadata.
- Check Data Encryption & Key Vault Permissions: If you are using Customer-Managed Keys (CMK) for data encryption, ensure that:
- The Azure Key Vault is accessible and not misconfigured.
- The AI service has proper access to decrypt stored data.
- Validate Training Data Formatting: Ensure that your documents meet Azure Document Intelligence format requirements:
- PDFs and images should be under 200 pages per document.
- Use diverse and correctly labeled training samples.
- Make sure there are no duplicate bounding boxes in labeled tables.
- Use Fields.json from a Successful Model:
- If a previous model trained successfully, try copying the
fields.json
file from it. - Modify only the necessary details before retraining the model.
- If a previous model trained successfully, try copying the
- Retry Training in a Different Region:
- Check the Azure Status Page for any regional issues affecting model training.
- If issues persist, deploy and train the model in another Azure region.
If the issue persists, collect logs using Azure CLI and provide the correlation IDs from failed model attempts. This will help the me to dig into the issue.
I hope these steps help resolve your issue. If you need further assistance, feel free to ask!
Thanks