Open p-sumann opened 5 months ago
I have the same issue with Java SDK.
If I use old library: azure-ai-formrecognizer:4.1.4, there is no problem.
If I use new library: azure-ai-documentintelligence:1.0.0-beta.2, it returns 404 resource not found error.
Here is my code for new library:
AnalyzeDocumentRequest analyzeDocumentRequest = new AnalyzeDocumentRequest().setBase64Source(Files.readAllBytes(file.toPath()));
SyncPoller<AnalyzeResultOperation, AnalyzeResultOperation> poller = documentIntelligenceClient.beginAnalyzeDocument("prebuilt-layout", null, null, null, null, null, null, analyzeDocumentRequest);
Can you please check if your resource is in one of the 3 preview regions?
Can you please check if your resource is in one of the 3 preview regions?
- East US
- West US2
- West Europe
Yes, the problem relates to region of document intelligence instance. It is OK now.
from azure.ai.formrecognizer import DocumentAnalysisClient
This one is working fine for both online and local file upload using
But this one for normal documents mine specific use case is for Invoices and upon using it, I am getting error saying 404 resource not found. I am using this:
Error messages given by the failure
Expected/desired behavior
OS and Version?