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:
- 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
- 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
GET using the Operation-Location from above: 200 OK
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.
Hope this helps.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful.