HTTP 400
invalid-request
Malformed payload.
The payload could not be read. The `detail` field says which field and why. Send JSON, with the field the endpoint documents.
{
"type": "https://webkitapi.dev/errors/invalid-request",
"title": "Malformed payload",
"status": 400,
"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 |
| 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 |
| A bug on our side | 500 | internal-error |