Skip to main content

Standard Error Response Format

All error responses follow this format:

HTTP Status Codes

  • 200 OK: Request successful
  • 201 Created: Resource created successfully
  • 204 No Content: Request successful, no content to return
  • 400 Bad Request: Invalid request data
  • 401 Unauthorized: Authentication required
  • 403 Forbidden: Insufficient permissions
  • 404 Not Found: Resource not found
  • 402 Payment Required: Insufficient credits/balance
  • 429 Too Many Requests: Rate limit exceeded
  • 500 Internal Server Error: Server error

Common Error Responses

401 Unauthorized

403 Forbidden

404 Not Found

400 Validation Error

402 Payment Required