paperclipai/paperclip · error

Skill not found

Error message

Skill not found

What it means

Error "Skill not found" thrown in paperclipai/paperclip.

Source

Thrown at server/src/routes/company-skills.ts:345

      folderId: firstQueryString(req.query.folderId),
      includeSubtree: optionalQueryBoolean(req.query.includeSubtree),
    }));
    res.json(result);
  });

  router.get("/companies/:companyId/skills/categories", async (req, res) => {
    const companyId = req.params.companyId as string;
    assertCompanyAccess(req, companyId);
    res.json(await svc.categoryCounts(companyId));
  });

  router.get("/companies/:companyId/skills/:skillId", async (req, res) => {
    const companyId = req.params.companyId as string;
    const skillId = req.params.skillId as string;
    assertCompanyAccess(req, companyId);
    const result = await svc.detail(companyId, skillId, skillActor(req));
    if (!result) {
      res.status(404).json({ error: "Skill not found" });
      return;
    }
    res.json(result);
  });

  router.get("/companies/:companyId/skills/:skillId/fork-precheck", async (req, res) => {
    const companyId = req.params.companyId as string;
    const skillId = req.params.skillId as string;
    assertCompanyAccess(req, companyId);
    const result = await svc.forkPrecheck(companyId, skillId, skillActor(req));
    if (!result) {
      res.status(404).json({ error: "Skill not found" });
      return;
    }
    res.json(result);
  });

  router.get("/companies/:companyId/skills/:skillId/versions", async (req, res) => {

View on GitHub (pinned to 120ae5428f)

Solutions

  1. 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.
  2. Check that the record was not deleted or archived, and that the request is scoped to the correct companyId.

When it happens

Trigger: Thrown at server/src/routes/company-skills.ts:345 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/d0839a90e9e9f1d5. Report an issue: GitHub.