# Sample output of retry_demo.py against the local mock API (lesson AUT-201-L04). # Synthetic data. Wait times vary between runs because of random jitter. == flaky attempt 1: 503 waiting 0.5s attempt 2: 503 waiting 0.9s attempt 3: 200 == slow attempt 1: network/timeout error (TimeoutError) waiting 0.2s attempt 2: network/timeout error (TimeoutError) waiting 0.6s attempt 3: network/timeout error (TimeoutError) waiting 1.0s attempt 4: network/timeout error (TimeoutError) -> giving up: send to human queue / alert == ticket send 1 with Idempotency-Key 46e6f9ac… attempt 1: 201 ticket id: T-0002 send 2 with Idempotency-Key 46e6f9ac… attempt 1: 200 ticket id: T-0002 == auth attempt 1: 401 -> not retryable: fix the request or stop and alert == limited call 1 attempt 1: 200 call 2 attempt 1: 200 call 3 attempt 1: 200 call 4 attempt 1: 429 (Retry-After 10s) waiting 10.4s attempt 2: 200 call 5 attempt 1: 200 call 6 attempt 1: 200