paperclipai/paperclip · error
Invalid attention source identity
Error message
Invalid attention source identity
What it means
Error "Invalid attention source identity" thrown in paperclipai/paperclip.
Source
Thrown at server/src/routes/decision-queues.ts:139
key: req.params.key as string,
sourceKind: req.body.sourceKind,
sourceId: req.body.sourceId,
authActor: req.actor,
actor: mutationActor(req),
});
res.status(result.created ? 201 : 200).json(result.item);
},
);
router.delete(
"/companies/:companyId/decision-queues/:key/items/:sourceKind/:sourceId",
validate(removeDecisionQueueItemSchema),
async (req, res) => {
const companyId = req.params.companyId as string;
await assertDecisionAccess(db, req, companyId, "decision_queue:manage");
const source = sourceParams(req);
if (!source) {
res.status(400).json({ error: "Invalid attention source identity" });
return;
}
res.json(await svc.removeItem({
companyId,
key: req.params.key as string,
...source,
reason: req.body.reason,
authActor: req.actor,
actor: mutationActor(req),
}));
},
);
router.get("/companies/:companyId/decision-triage/:sourceKind/:sourceId", async (req, res) => {
const companyId = req.params.companyId as string;
await assertDecisionAccess(db, req, companyId, "decision_queue:read");
const source = sourceParams(req);
if (!source) {View on GitHub (pinned to 120ae5428f)
Solutions
- Fix the offending parameter to satisfy the constraint stated in the error message (type, range, or allowed values), then retry.
- Refer to the route's request validation in the named file and the shared validators for the accepted format.
When it happens
Trigger: Thrown at server/src/routes/decision-queues.ts:139 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@120ae5428f (2026-08-18).
Data as JSON: /api/errors/1fe3702b5db3928d.
Report an issue: GitHub.