Error Codes
Complete table of API error codes and HTTP status codes.
All errors use this envelope:
{
"error": {
"code": "error_code_string",
"message": "Human-readable description."
}
}| HTTP Status | Code | Scenario |
|---|---|---|
401 | invalid_api_key | Missing, invalid, or revoked API key |
402 | insufficient_credits | Insufficient credits for job/run creation |
404 | not_found | Resource not found or not owned by you |
409 | job_not_ready | Job not in ready status for run/schedule creation |
422 | validation_error | Request body validation failed |
429 | rate_limited | Rate limit exceeded |
Notes
404is returned for resources that belong to another user (never403) to prevent enumeration.401is identical whether the key never existed or was revoked.