Project

General

Profile

ALBest practice for retrying a 429?

Added by Anna Lindqvist 5 months ago

We poll three endpoints on a schedule and occasionally get a 429. Is there a header that tells us how long to wait, or should we just back off exponentially and hope?


Replies (3)

TB RE: Best practice for retrying a 429? - Added by Tomas Brandt 4 months ago

Retry-After is set on every 429 and it is authoritative — use it rather than guessing. If it is absent that is a bug; please file it.

HT RE: Best practice for retrying a 429? - Added by Hiro Tanabe 4 months ago

Adding to that: the limit is per tenant per route class, so spreading the same volume over more clients will not help. If you need a higher limit, a Support issue with your expected request rate is the way.

LF RE: Best practice for retrying a 429? - Added by Luca Ferraro 4 months ago

Thanks, both. Retry-After was there, our client was ignoring it.

    (1-3/3)