Azure / Azure/autorest.powershell
What is the expected behavior when polling a LRO fails?
Open
- Dominant language
- C#
- Stars
- 123
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Case: EdgeOrder service, when creating a resources, which is a long running operation, polling request fails with 400 Bad Request.
Current behavior: after 400, we send an **extra** GET request to get the resource; service returns 404 Not Found, we throw the error.
Service team's expectation: user should be able to see the error message in response of 400, not response of 404.
Question:
- Should we terminate polling and do not send extra GET when there is an error?
- Or should we print the error can continue the current behavior?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.