Skip to content

Batch analysis result not retrievable #44572

Description

@martrdev
  • Package Name: azure-ai-documentintelligence
  • Package Version: 1.0.2
  • Operating System: Windows 10
  • Python Version: 3.13.11

Describe the bug
I tried following the sample tutorials sample_analyze_batch_documents.py and sample_analyze_batch_documents_async.py, and in both cases, the mechanism to verify whether the operation is concluded does not work.
Specifically, I always get the message "The batch analyze is still in process..." even when I know for a fact that the analysis has concluded.

I also tried implementing a solution by using the method add_done_callback but this also does not work. Unfortunately, there is no sample that illustrates the correct use of this method to monitor a batch analysis.

To Reproduce
Steps to reproduce the behavior:

  1. run the samples.

Expected behavior
The prints should reflect the status of the batch analysis operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Document IntelligenceService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions