paperclipai/paperclip · error
Comment not found
Error message
Comment not found
What it means
404 from GET /issues/:id/comments/:commentId. Fires when svc.getComment returns no comment for the id, or the comment exists but belongs to a different issue than the one in the URL — the comment is scoped under the issue path.
Source
Thrown at server/src/routes/issues.ts:12548
targetRunId: req.body.targetRunId,
turnId: acknowledgedTurnId,
duplicate,
},
});
res.json(await runRedactions.redactForIssue(issue.companyId, issue.id, queue));
},
);
router.delete(
"/issues/:id/queued-comments/:commentId",
validate(queuedCommentMutationTargetSchema),
async (req, res) => {
assertBoard(req);
if (!req.actor.userId) throw forbidden("Board user context required");
const id = req.params.id as string;
const commentId = req.params.commentId as string;
const issue = await getAccessibleResource(req, res, svc.getById(id), "Issue not found");
if (!issue) return;
const actor = getActorInfo(req);
const { queue } = await discardQueuedComment({
issue,
actor,
commentId,
queueId: req.body.queueId,
revision: req.body.revision,
});
res.json(await runRedactions.redactForIssue(issue.companyId, issue.id, queue));
},
);
router.get("/issues/:id/interactions", async (req, res) => {
const id = req.params.id as string;
const issue = await getAccessibleResource(req, res, getIssueById(req, id), "Issue not found");
if (!issue) return;
if (!(await assertIssueReadAllowed(req, res, issue))) return;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:11544 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/88e54ea55cef5b0d.
Report an issue: GitHub.