Error Response Format
HTTP Status Codes
Error Codes Reference
Authentication Errors
Example:
Validation Errors
Example:
Resource Errors
Example:
GET /flows to list available flows.
Billing Errors
Example:
Execution Errors
Example:
Rate Limit Errors
Example:
X-RateLimit-Reset header for when to retry.
Server Errors
Example:
Error Handling Best Practices
Retry Logic
Implement retries with exponential backoff for transient errors:Idempotency
Use idempotency keys to safely retry failed requests:Error Logging
Log errors with context for debugging:Next Steps
Run Flow
Execute flows with proper error handling
SDK Client
Use the SDK for automatic retries