AI Automation · interactive
Retries and error handling
An automated workflow calls an API and gets an error. Some errors go away if you wait, some need you to slow down, and some will never succeed. The retry policy should depend on which.
Attempts, 0 to 12 s
503503200
- attempt 1 at 0 s503
- attempt 2 at 0.8 s503
- attempt 3 at 3.4 s200
Outcome: succeeded
Waits grow (about 1 s, then 2 s…) with random jitter so clients don't retry in sync. Succeeded at 3.4 s.
The API returns
Retry policy
Step 2 of 4 · read left to right
In production
Tools and technologies
Workflow tools have retries built in; the policy is yours to set.
Not tied to one language — use these names when you search docs or design a system.