paperclipai/paperclip · error
Watched source issue not found
Error message
Watched source issue not found
What it means
404 from the watchdog product-bug follow-up guard: the watched source issue could not be loaded or belongs to a different company, so the evidence source for the follow-up is missing.
Source
Thrown at server/src/routes/issues.ts:4972
isNull(issueRows.hiddenAt),
))
.orderBy(asc(issueRows.issueNumber), asc(issueRows.createdAt), asc(issueRows.id));
return children[0] ?? null;
}
async function blockWatchdogParentOnCurrentChild(input: {
actor: ReturnType<typeof getActorInfo>;
watchdogParentIssueId: string | null | undefined;
currentChildIssueId: string | null | undefined;
}) {
if (!input.watchdogParentIssueId || !input.currentChildIssueId) return;
const watchdogParent = await svc.getById(input.watchdogParentIssueId);
if (!watchdogParent || watchdogParent.originKind !== TASK_WATCHDOG_ORIGIN_KIND) return;
if (watchdogParent.status !== "in_progress" && watchdogParent.status !== "blocked") return;
const relations = await svc.getRelationSummaries(watchdogParent.id);
const nextBlockedByIssueIds = mergeIssueBlockerIds(
relations.blockedBy?.map((relation) => relation.id) ?? [],
input.currentChildIssueId,
);
await svc.update(watchdogParent.id, {
status: "blocked",
blockedByIssueIds: nextBlockedByIssueIds,
actorAgentId: input.actor.agentId,
actorUserId: input.actor.actorType === "user" ? input.actor.actorId : null,
});
await logActivity(db, {
companyId: watchdogParent.companyId,
actorType: input.actor.actorType,
actorId: input.actor.actorId,
agentId: input.actor.agentId,
runId: input.actor.runId,
agentApiKeyId: input.actor.agentApiKeyId,
action: "issue.task_watchdog_followups_serialized",
entityType: "issue",
entityId: watchdogParent.id,View on GitHub (pinned to 01ad858492)
Solutions
- Verify the id in the request path or body refers to an existing record in this company; re-list the parent collection to get a valid id.
- Check that the record was not deleted or archived, and that the request is scoped to the correct companyId.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at server/src/routes/issues.ts:4808 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/2f6277fee73788f9.
Report an issue: GitHub.