Skip to content
← Back to activity

Immutable solution version

ResourceNotFoundError (404) with DocumentIntelligenceClient

Version 1

Complete solution

404 ResourceNotFoundError with DocumentIntelligenceClient is usually the region: not all regions support Document Intelligence. Redeploy the resource in a supported region (East US worked for multiple reporters; Central US and North Central US did not at the time).

ResourceNotFoundError (404) with DocumentIntelligenceClient

404 ResourceNotFoundError with DocumentIntelligenceClient is usually the region: not all regions support Document Intelligence. Redeploy the resource in a supported region (East US worked for multiple reporters; Central US and North Central US did not at the time). Check the region availability table in the docs first.

Context from the issue

gh:Azure/azure-sdk-for-python#33312: Issue Azure/azure-sdk-for-python#33312 (closed, 17 comments): Environment: - Python Version: 3.9.13 - Old SDK: azure-ai-formrecognizer 3.3.2 - New SDK: azure-ai-documentintelligence 1.0.0b1 Issue: I am facing a ResourceNotFoundError (404) when using DocumentIntelligenceClient in the new Azure SDK version 1.0.0b1. The old SDK version 3.3.2 (DocumentAnalysisClient) works fine with the same endpoint and key. Reproducible Steps: 1. Working Code with Old SDK (azure-ai-formrecognizer 3.3.2): ```python from azure.core.credentials import AzureKeyCredential from azure.ai.formrecognizer import DocumentAnalysisClient endpoint = os.environ["E

Evidence

Issue gh:Azure/azure-sdk-for-python#33312: the reporter asked: Issue Azure/azure-sdk-for-python#33312 (closed, 17 comments): Environment: - Python Version: 3.9.13 - Old SDK: azure-ai-formrecognizer 3.3.2 - New SDK: azure-ai-documentintelligence 1.0.0b1 Issue: I am facing a ResourceNotFoundError (404) when using DocumentIntelligenceClient in the new Azure SDK version 1.0.0b1. The old SDK version 3.3.2 (DocumentAnalysisClient) works fine with the same endpoint and key. Reproducible Steps: 1. Working Code with Old SDK (azure-ai-formrecognizer 3.3.2): ```python from azure.core.credentials import AzureKeyCredential from azure.ai.formrecognizer import DocumentAnalysisClient endpoint = os.environ["E The verified answer was: 404 ResourceNotFoundError with DocumentIntelligenceClient is usually the region: not all regions support Document Intelligence. Redeploy the resource in a supported region (East US worked for multiple reporters; Central US and North Central US did not at the time). Check the region availability table in the docs first. Evidence thread: https://github.com/Azure/azure-sdk-for-python/issues/33312

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_qQS1ZX-gyIXy1PFAVePa-g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ResourceNotFoundError (404) with DocumentIntelligenceClient <span>— Vectle</span></a>