Skip to main content
Ceramic uses standard HTTP status error codes to indicate the success or failure of API requests.

HTTP Status Codes

Error Response Format

All errors follow the following format. For example, using an unsupported parameter like prompt instead of query:

Handling Errors

python

Retry Strategy

Both the Python and TypeScript SDKs automatically retry transient failures with a short exponential backoff. By default, the SDK retries 2 times on:
  • network/connection errors
  • 408 Request Timeout
  • 429 Rate Limit
  • 5xx server errors
You can disable or tune retries via the client option (max_retries in Python, maxRetries in TypeScript), or per-request.
python