paperclipai/paperclip · error

Unsupported inbox item key

Error message

Unsupported inbox item key

What it means

Error "Unsupported inbox item key" thrown in paperclipai/paperclip.

Source

Thrown at server/src/routes/inbox-dismissals.ts:106

          kind: dismissal.kind,
          dismissedAt: dismissal.dismissedAt,
          snoozedUntil: dismissal.snoozedUntil,
        },
      });

      res.status(201).json(dismissal);
    },
  );

  router.delete("/companies/:companyId/inbox-dismissals/:itemKey", async (req, res) => {
    const companyId = req.params.companyId as string;
    assertCompanyAccess(req, companyId);
    const userId = requireBoardUser(req, res);
    if (!userId) return;

    const itemKey = req.params.itemKey as string;
    if (!ITEM_KEY_RE.test(itemKey)) {
      res.status(400).json({ error: "Unsupported inbox item key" });
      return;
    }

    const restored = await svc.restore(companyId, userId, itemKey);
    if (restored) {
      const actor = getActorInfo(req);
      await logActivity(db, {
        companyId,
        actorType: actor.actorType,
        actorId: actor.actorId,
        agentId: actor.agentId,
        runId: actor.runId,
        agentApiKeyId: actor.agentApiKeyId,
        action: "inbox.restored",
        entityType: "company",
        entityId: companyId,
        details: {
          userId,

View on GitHub (pinned to 120ae5428f)

Solutions

  1. Correct the request so it satisfies the condition stated in the error message, then retry; see the throwing line in the named file for the exact check.

When it happens

Trigger: Thrown at server/src/routes/inbox-dismissals.ts:106 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/68b27124508e5594. Report an issue: GitHub.