Hello Johan Coens,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are getting an Internal Server Error on Azure Cognitive services.
To resolve that, execute the below steps in order:
- Switch your Vision endpoint to a healthy region (e.g., West Europe/East US). - https://learn.microsoft.com/en-us/answers/questions/2115918/quickstart-optical-character-recognition-%28ocr%29-int
- Keep Read v3.2 with
model-version=2022-04-30(documented GA) on/vision/v3.2/read/analyze. Do not use2023-02-01-previewfor Read v3.2—it’s not in the official list. - https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/how-to/call-read-api - Add 3 retries (exp backoff), plus a circuit breaker to stay on the secondary region while the primary is degraded. - https://learn.microsoft.com/en-us/answers/questions/5747009/azure-openai-doesnt-work-region-sweden-central
- Log request IDs (
x-ms-request-id,apim-request-id) and open a Severity A ticket with exact timestamps and comparison data (legacy/other region). - https://learn.microsoft.com/en-us/answers/questions/1497324/internal-server-error-when-calling-cognitive-servi, https://learn.microsoft.com/en-us/answers/questions/5742974/we-are-encountering-an-internalservererror-%28http-5 - Enable Service/Resource Health alerts to get real‑time notifications and model lifecycle notices for proactive changes. - https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/model-retirements?view=foundry-classic
This plan above will restore service within the hour and it align strictly with current Microsoft documentation and incident reports.
I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.