Recommended Pattern
- Generate and persist a stable
event_id. - Retry only on transient failures (
429,5xx, timeouts). - Reuse the same
event_idacross retries.
Retry Backoff
- Attempt 1: immediate
- Attempt 2: 1s
- Attempt 3: 2s
- Attempt 4: 4s
- Attempt 5: 8s
400/401/403/422 and fix payload/auth first.