paperclipai/paperclip · error

No UI parser available for adapter "${type}".

Error message

No UI parser available for adapter "${type}".

What it means

Capability guard on GET /api/adapters/:type/ui-parser.js: the adapter package does not export a usable self-contained UI parser module, so there is no custom run-log parsing script to serve and the route reports the absence instead of serving a stub.

Source

Thrown at server/src/routes/adapters.ts:768

      const message = err instanceof Error ? err.message : String(err);
      logger.error({ err, type }, "Failed to resolve config schema");
      res.status(500).json({ error: `Failed to resolve config schema: ${message}` });
    }
  });

  // ── GET /api/adapters/:type/ui-parser.js ─────────────────────────────────
  // Serve the self-contained UI parser JS for an adapter type.
  // This allows external adapters to provide custom run-log parsing
  // without modifying Paperclip's source code.
  //
  // The adapter package must export a "./ui-parser" entry in package.json
  // pointing to a self-contained ESM module with zero runtime dependencies.
  router.get("/adapters/:type/ui-parser.js", (req, res) => {
    // UI parsers are read-only assets for displaying existing run output.
    // Runtime-changing adapter management routes above require instance admin.
    assertBoardOrgAccess(req);
    const { type } = req.params;
    const source = getOrExtractUiParserSource(type);
    if (!source) {
      res.status(404).json({ error: `No UI parser available for adapter "${type}".` });
      return;
    }
    res.type("application/javascript").send(source);
  });

  return router;
}

View on GitHub (pinned to 5716fe907e)

Solutions

  1. The adapter has no UI parser; use its CLI/config files, or choose an adapter that provides a UI parser.
Defensive patterns

Strategy: validation

When it happens

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

Common situations: See trigger scenarios.


AI-assisted analysis of paperclipai/paperclip@5716fe907e (2026-08-18). Data as JSON: /api/errors/8f89fd0de618a5ec. Report an issue: GitHub.