HTTP 402
quota-exceeded
Monthly quota exhausted.
The monthly allowance for this endpoint is spent, and `resets_at` says when it returns. Retrying will not help before then, which is why this is 402 and not 429. Change plan or wait.
{
"type": "https://webkitapi.dev/errors/quota-exceeded",
"title": "Monthly quota exhausted",
"status": 402,
"detail": "..."
}
The API reference has the request shapes, and the error index has the rest of the codes.
Other errors
The rest of them.
| Situation | Status | Type |
|---|---|---|
| Key missing or malformed | 401 | invalid-api-key |
| Key revoked | 401 | revoked-api-key |
| Key not allowed on this endpoint | 403 | endpoint-not-allowed |
| Malformed payload | 400 | invalid-request |
| Per-minute rate exceeded | 429 | rate-limit-exceeded |
| Batch too large | 413 | batch-too-large |
| Job unknown, expired, or owned by another account | 404 | job-not-found |
| The request could not be served as sent | 400 | request-failed |
| A dependency of ours is unreachable | 503 | service-unavailable |
| A bug on our side | 500 | internal-error |