Python SDK — Error Handling
Python SDK — Error Handling
Exception hierarchy
Import paths:
All error classes expose:
Catching errors
Retrying
The SDK does not retry automatically. For idempotent operations, retry on 5xx errors or network failures with exponential backoff. Check e.status_code to distinguish server errors from client errors, and inspect e.headers for a Retry-After value on rate-limit responses:

