Running form recogniser analyze results, status is stuck in 'running'

David Rubin 0 Reputation points
2024-04-02T05:02:59.7766667+00:00

Hi,

When running an analyze result get request, after running a successful analyze post, the status is stuck at 'running.'

The endpoint is EastUs and the model is 'prebuilt-layout'.

Status that I see from the Get Request is 200 OK.

Thanks,

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,405 questions
{count} votes

1 answer

Sort by: Most helpful
  1. dupammi 7,050 Reputation points Microsoft Vendor
    2024-04-02T05:55:07.79+00:00

    Hi @David Rubin

    Thank you for using the Microsoft Q&A forum.

    Based on your query, it seems that you are facing an issue where the status of the analyze result get request is stuck at 'running' even after running a successful analyze post.

    To resolve this issue, you can try the following steps:

    1. Check if the operation location URL that you received in the response of the POST request is correct and complete. It should be in the format.
         https://{endpoint}/documentintelligence/documentModels/prebuilt-layout/analyzeResults/{resultId}?api-version=2023-10-31-preview
      
      1. Ensure that you are using the correct subscription key and content-type in the headers of the GET request. 3. Check if the result ID in the operation location URL is correct and matches the result ID in the response of the POST request.

    Repro I tried :
    POST : 202 Accepted
    User's image

    GET using the Operation-Location from above: 200 OK
    User's image

    Usually for scenarios where the model is stuck, you could raise a support case to have the service team lookup the status from backend and advise. To resolve this, I suggest submitting a feedback item with a screenshot of the error to the service team.

    If you have a support plan, navigate to the endpoint page, click the smiley icon in the top right corner, and provide details of the issue. Select the "include screenshot" option and provide contact information for feedback. This will allow the team to address your request and contact you for further information.

    User's image

    Hope this helps.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.