DOCUMENTATION
エラーと制限
主な HTTP ステータスと対処方法。
| Status | Error | What to do |
|---|---|---|
| 401 | Unauthorized | API キーが無効、または失効しています。コンソールで再発行してください。 |
| 403 | Forbidden | モデルまたはグループへのアクセス権がありません。契約内容を確認してください。 |
| 429 | Too Many Requests | RPM / TPM の上限に達しました。指数バックオフで再試行してください。 |
| 500 | Internal Server Error | 一時的な障害です。ステータスページを確認し、解決しない場合はお問い合わせください。 |
Retry policy
Retry on 429 and 5xx with exponential backoff and jitter. Do not retry 401 or 403 without changing the key or contract.
delay = min(30, 2 ** attempt) + random.uniform(0, 1)
Request IDs
Every response includes a request ID. Include it when contacting support so we can trace the request.