Monitor
Monitor errors
A request can be refused, a check can fail, and a monitor can be paused. Each tells you in its own way.
Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)
Request errors
A call to a Monitor endpoint that fails answers with the one error shape every endpoint uses.
| Status and code | When |
|---|---|
400 INVALID_PARAM | A field the API does not take, or a value out of range. An interval shorter than the plan and the source allow is one of these, and error.details.min_interval_minutes says the shortest that is allowed. So is a webhook_id, on create or PATCH, that is not an active endpoint of your team: one that does not exist, is still pending verification, or was disabled |
400 UNSUPPORTED_OPTION | A source a query monitor cannot watch |
401 AUTH_MISSING_KEY, 401 AUTH_INVALID_KEY | No Authorization header, or a key that is malformed, revoked or expired |
404 JOB_NOT_FOUND | No such monitor for this team. A monitor of another team is answered the same way |
429 RATE_LIMITED | Over the plan's requests a minute, or more than four checks on demand in an hour |
A check that fails
A check runs when nobody is waiting for an answer, so its failure reaches you as an event and on the monitor itself.
| What happened | What you see |
|---|---|
| A check failed | consecutive_failures goes up on the monitor. Nothing is charged |
| 3 checks in a row failed | A monitor.failed event, with code, message and consecutive_failures |
| 10 checks in a row failed | The monitor is paused, with paused_reason: "failing", and a monitor.paused event |
| A check could not be paid for, 3 times in a row | The monitor is paused, with paused_reason: "insufficient_credits", and a monitor.paused event |
| Its webhook endpoint was disabled | The monitor is paused, with paused_reason: "webhook_disabled", and a monitor.paused event |
| Every check was put off for three days, at least three of them | A monitor.failed event that says the monitor could not be checked, and the monitor is paused, with paused_reason: "unavailable", and a monitor.paused event. Nothing was charged |
Its plan no longer includes the mode of a page monitor, such as rendered | The monitor is paused, with paused_reason: "plan", and a monitor.paused event. Nothing is charged for that check |
A check we could not make because search was busy, or because a page's site was busy for us, is put off, not failed: it is free, it is tried again about two minutes later, up to three times, and it does not count towards the failures above.
A monitor you paused yourself, with status: "paused" on PATCH /v1/monitors/{id}, has paused_reason: "user". That is the one reason you set yourself.
A page monitor's own failures
A page monitor passes the same URL rules and robots.txt check as Extract on every check, not only when it is created. A site that starts to disallow our bot makes the checks fail with Extract's per-URL codes, such as ROBOTS_DISALLOWED. See Extract errors.
Starting again
Set status to active with PATCH /v1/monitors/{id} once the cause is fixed: credits added, the webhook verified again, the page reachable, or a plan that includes the monitor's mode. A monitor that was unavailable can be resumed as it is, to try again.