Skip to main content
Last updated: 2026-06-06

HTTP Status Codes

Error Response Format

Common Errors

401 - Authentication Failed

Solution: Verify that your API Key is correct and starts with sk-.

429 - Rate Limited

Solution: Reduce your request frequency, or contact support to increase your limit.

403 - Insufficient Balance

Solution: Visit the top-up page to add funds.

Retry Recommendations

  • For 429 errors, use exponential backoff retry
  • For 500/502/503 errors, wait a few seconds before retrying
  • For 400/401/403 errors, check your request parameters and authentication credentials