paperclipai/paperclip · error

This adapter does not support a setup-token login.

Error message

This adapter does not support a setup-token login.

What it means

The setup-token route's capability guard found the adapter registry declares no setup-token login capability (transport/claim) for this adapter; the route serves adapters by capability, and this adapter has none.

Source

Thrown at server/src/routes/agents.ts:5226

  router.delete("/agents/:id", async (req, res) => {
    assertBoard(req);
    const id = req.params.id as string;
    if (!(await getAccessibleAgent(req, res, id))) {
      return;
    }
    const agent = await svc.remove(id);
    if (!agent) {
      res.status(404).json({ error: "Agent not found" });
      return;
    }

    await logActivity(db, {
      companyId: agent.companyId,
      actorType: "user",
      actorId: req.actor.userId ?? "board",
      action: "agent.deleted",
      entityType: "agent",
      entityId: agent.id,
    });

    res.json({ ok: true });
  });

  router.get("/agents/:id/keys", async (req, res) => {
    assertBoard(req);
    const id = req.params.id as string;
    const agent = await getAccessibleAgent(req, res, id);
    if (!agent) {
      return;
    }
    const keys = await svc.listKeys(id);
    res.json(keys);
  });

  router.post("/agents/:id/keys", validate(createAgentKeySchema), async (req, res) => {
    assertBoard(req);

View on GitHub (pinned to 01ad858492)

Solutions

  1. Use the login flow the adapter actually supports
  2. Verify the adapter registry entry declares the setup-token capability
  3. Update the adapter package if a newer version adds setup-token support
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at server/src/routes/agents.ts:4689 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-21). Data as JSON: /api/errors/4d5d616abdc8f6e7. Report an issue: GitHub.