Hello @kang wang , I hope you are doing well,
Welcome to Microsoft Q&A!
The HTTP 429 indicates that Azure DevOps has temporarily throttled the requests because the usage threshold was exceeded.
Azure DevOps uses a resource-consumption model based on Throughput Units (TSTUs) rather than only a fixed requests-per-second limit. The global consumption limit is currently 200 TSTUs within a sliding 5-minute window. Bursty or expensive API operations can therefore trigger throttling even when the raw request count does not appear unusually high.
To reduce the likelihood of hitting the limit just to name a few things :
- Reduce request concurrency and avoid large bursts.
- Spread requests over time instead of sending them simultaneously.
- Avoid unnecessary polling or repeated API calls.
- Implement exponential backoff when a 429 is returned.
- Honor the
Retry-Afterresponse header when present. - Monitor the
X-RateLimit-*response headers, particularly the remaining limit, cost, and reset values.
Reference:
I hope this helps. If you have any further questions, please feel free to let us know.
If this answer helped resolve the issue, please consider accepting it as the answer. This can also help other members of the community find the solution more easily.