by rix0r · 10y ago · 0 comments
It renders simple middleware logic like "retry on a 5xx, don't retry on a 4xx" invalid.
If you'd call it "Server Over Capacity" you could just as well argue for a 5xx code.
Your simple middleware logic is going to have to examine the 400 error in more detail in order to adjust its request rate e.g. exponential back off.
It's not that the "server is over capacity", its that the specific client is making "too many requests".
Probably it's a thin line between client problem and server problem.
429 = Too many requests (rate limited)