HTTP 500
internal-error
A bug on our side.
Our bug. The detail is deliberately empty because the message would leak internals; the specifics are in our logs. Retrying is reasonable once. If it persists, the response and the time it happened are enough for us to find it.
{
"type": "https://webkitapi.dev/errors/internal-error",
"title": "A bug on our side",
"status": 500,
"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 dependency of ours is unreachable | 503 | service-unavailable |