paperclipai/paperclip · error
Unsupported watchdog decision
Error message
Unsupported watchdog decision
What it means
Enum guard on POST /heartbeat-runs/:runId/watchdog-decisions: the body's 'decision' is not one of the supported values (snooze, continue, dismissed_false_positive), so the watchdog decision recording is rejected with 400 before the run state changes.
Source
Thrown at server/src/routes/agents.ts:5575
agent: {
id: agent.id,
companyId: agent.companyId,
name: agent.name,
adapterType: agent.adapterType,
adapterConfig: agent.adapterConfig,
},
config: runtimeConfig,
});
res.json(result);
});
// --- Setup-token login session routes --------------------------------------
//
// The routes give the UI operations against one live login session. Every
// operation verifies the company and owner user through the session scope. A
// missing session and a cross-scope session both return the same 404. The
// confidential responses pass through the transport assessment and set
// `Cache-Control: no-store`. The routes write no prompt, code, token, or raw
// process chunk to a log or an activity detail, and they return fixed error
// text only.
//
// Operator requirement (SR-7): to serve the confidential responses behind a
// TLS-terminating reverse proxy, set `CLAUDE_LOGIN_TRUSTED_PROXIES` to the
// explicit proxy IP or CIDR allowlist — or, on a managed platform whose edge
// always terminates TLS and whose proxy peer addresses cannot be allowlisted,
// declare `CLAUDE_LOGIN_EDGE_TLS_TERMINATED=true`. The global `TRUST_PROXY`
// setting, including `TRUST_PROXY=true` and a hop-count value, does not
// satisfy the guard. A direct TLS request is always valid; a non-TLS request
// is valid only on a loopback peer in the `local_trusted` deployment mode.
//
// Each route below writes its full path as a plain string literal. The static
// OpenAPI coverage test reads the route paths from the source text; it does
// not evaluate a template variable. A shared base constant would leave the
// test with an unresolved path, so the routes repeat the base path instead.
View on GitHub (pinned to 01ad858492)
Solutions
- Use a supported watchdog decision value; check the API for the allowed set.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at server/src/routes/agents.ts:4994 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/747c60b0294f933d.
Report an issue: GitHub.