API errors
Every error from the API is JSON in one envelope. Branch on the code, never on the message text, and send the request_id if you ask for help. A markdown version of this list is served by the API at /docs/errors.md.
What does an error look like?
json
{
"error": {
"code": "check_limit",
"message": "The account has reached its plan limit of checks.",
"fix": "Delete checks you no longer need, or move to a plan with more checks, then retry.",
"docs_url": "YOUR_API_BASE_URL/docs/errors.md#check_limit",
"retryable": false,
"request_id": "…"
}
}The X-Request-Id response header matches request_id. retryable says whether trying again later can help.
Which codes are there?
| Code | Status | Meaning |
|---|---|---|
| unauthorized | 401 | The key is missing, malformed, revoked or unknown |
| forbidden | 403 | The key may not do this: a read-only key on a write endpoint, or another project's check |
| invalid_input | 400 | A field or the body is invalid; the message names the field |
| not_found | 404 | No such check, project, channel or key for this caller |
| unknown_product | 404 | No such endpoint or tool |
| method_not_allowed | 405 | The endpoint does not take that method |
| conflict | 409 | A name is taken, or a project or channel limit was reached |
| not_paused | 409 | Resume was called on a check that is not paused |
| payload_too_large | 413 | The body is over 64 KB on the API or 16 KB on the free tools |
| rate_limited | 429 | Too many requests; wait for Retry-After |
| check_limit | 403 | The account is at the check limit of its plan |
| plan_limit, subscription_required, trial_expired | 402 | The plan does not allow this, needs an active plan, or the trial ended |
| signature_invalid | 400 | A webhook or Telegram secret header is missing or wrong |
| provider_unavailable | 503 | A dependency such as sign-in or billing did not answer |
| internal_error | 500 | An unexpected error; retry once, then report the request_id |
Try it on one job
Create a check, copy its ping URL into the job, and watch the first ping arrive.
Start monitoring