promptdojo_

when the pipeline breaks — error bodies, retries, and backoff — step 2 of 8

Your script calls an API in a loop and one response comes back 429 Too Many Requests with a Retry-After: 2 header. 429 is a 4xx — and the rule says 4xx means your request is wrong, don't retry. What's the right move here?