Error Reference
Public API errors are JSON and usually include
error and optional msg. Some 500 responses can contain raw database error strings from the current runtime.Error response shape
json
{
"error": "validation_error",
"msg": "target_url is required"
}Error codes
| Status | Error key | Meaning |
|---|---|---|
400 | validation_error | A required field is missing, has an invalid value, or target_url resolves to a blocked (private/loopback) address |
401 | api_key_missing | Authorization header is absent or malformed |
401 | invalid_api_key | Key not found or has been revoked |
401 | unauthorized | General unauthorized response shape from shared middleware paths |
403 | insufficient_scope | API key does not have the required scope for this action |
403 | job_limit_exceeded | Plan job limit reached — upgrade to create more jobs |
403 | key_limit_exceeded | Plan API key limit reached |
404 | not_found | Resource does not exist or belongs to a different account |
500 | db_unavailable | Database binding missing or unavailable |
500 | db_error | Internal database error — try again shortly |
500 | auth_error | API key auth database lookup failed |
Example responses
Missing key
json
{
"error": "api_key_missing",
"msg": "API key authentication failed"
}Insufficient scope
json
{
"error": "insufficient_scope",
"msg": "Missing scope: jobs:read"
}Troubleshooting
401 invalid_api_key
Check that the key exists and is not revoked. Ensure header format is exactly `Authorization: Bearer <key>`. Keys are case-sensitive.
403 insufficient_scope
The key lacks required scope for that endpoint. Recreate with required scopes (for updates use `jobs:update` or `jobs:write`; for reads use `jobs:read`).
403 job_limit_exceeded
You have reached the maximum number of jobs for your current plan. Delete unused jobs or upgrade your subscription on the Subscription page.
400 validation_error
Check `msg` for exact field issue. In current public create flow, both `target_url` and `schedule_cron` are required.
500 db_error / db_unavailable
Usually indicates a server-side binding or SQL issue. Retry once; if persistent, capture the response body and contact support with timestamp and endpoint.