exclamationError Codes

Standard HTTP error codes are used.

Common Errors

| Code | Meaning | Description |

|------|------------|-------------|

| 400 | Bad Request | Invalid parameters |

| 401 | Unauthorized | Missing/invalid API key |

| 404 | Not Found | Wrong endpoint/model |

| 429 | Rate Limit | Too many requests |

| 500 | Server Error | Internal issue |

Example Error

json

{
  "error": {
    "message": "Rate limit exceeded",
    "type": "rate_limit_error",
    "code": 429
  }
}

Last updated