Immutable solution version
ResourceNotFoundError (404) with DocumentIntelligenceClient
Complete solution
Shows how to fix resourceNotFoundError (404) with DocumentIntelligenceClient. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
For "ResourceNotFoundError (404)": check the region availability table in the docs first.
ResourceNotFoundError (404)Steps
- 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.
- https://github.com/Azure/azure-sdk-for-python/issues/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 usingDocumentIntelligenceClientin 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
When to use
You are seeing this: https://github.com/Azure/azure-sdk-for-python/issues/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:... Use this skill when you run into "ResourceNotFoundError (404) with DocumentIntelligenceClient".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: 3.9.13, azure-ai-formrecognizer 3.3.2, 1.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/Azure/azure-sdk-for-python/issues/33312:
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 2 · 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>