Python for AIIntermediate20 September 2026
A Python service receives occasional HTTP 429 responses from an AI provider. What is the most appropriate client behavior?
Pick an answer to see the explanation.
Answer
Use bounded retries with backoff and respect retry guidance
HTTP 429 normally signals rate limiting, so bounded exponential backoff with jitter and provider retry guidance reduces repeated pressure. Unlimited immediate retries can amplify the problem and create a retry storm.
Learn more: Explore AI automation with Python →