The output option was not found: Failed to generate the analyze results in the output option format. Output option should be informed in analyze call. #38076
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Document Intelligence
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
encountered the same problem
with open("cd_0001.pdf", "rb") as f:
poller = document_intelligence_client.begin_analyze_document(
"prebuilt-layout",
AnalyzeDocumentRequest(bytes_source=f.read()),
output_content_format ="markdown",
)
result: AnalyzeResult = poller.result()
running into following error
ResourceNotFoundError: (NotFound) Resource not found.
Code: NotFound
Message: Resource not found.
Inner error: {
"code": "OutputOptionNotFound",
"message": "The output option was not found: Failed to generate the analyze results in the output option format. Output option should be informed in analyze call."
}
The text was updated successfully, but these errors were encountered: