HTTP 503
service-unavailable
A dependency of ours is unreachable.
Something we depend on is down. It is not your request, and it is not permanent. `Retry-After` says when to come back, and retrying is the correct response.
{
"type": "https://webkitapi.dev/errors/service-unavailable",
"title": "A dependency of ours is unreachable",
"status": 503,
"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 |
| Monthly quota exhausted | 402 | quota-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 bug on our side | 500 | internal-error |