paperclipai/paperclip · error · Error

No project selected.

Error message

No project selected.

What it means

Error "No project selected." thrown in paperclipai/paperclip.

Source

Thrown at ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx:353

    const token = ++scanTokenRef.current;
    companySkillsApi
      .scanProjects(companyId, { projectIds: [project.id], mode: "preview" })
      .then((result) => {
        if (token !== scanTokenRef.current) return;
        setScanResult(result);
        setSelection(defaultSelection(result.candidates));
        setStep("select");
      })
      .catch((error) => {
        if (token !== scanTokenRef.current) return;
        setScanError(error);
        setStep("select");
      });
  }

  const importMutation = useMutation({
    mutationFn: () => {
      if (!selectedProject) throw new Error("No project selected.");
      const selectionInput = Array.from(selection.values());
      return companySkillsApi.scanProjects(companyId, {
        projectIds: [selectedProject.id],
        mode: "import",
        selection: selectionInput,
      });
    },
    onSuccess: async (result) => {
      setImportResult(result);
      setStep("result");
      await queryClient.invalidateQueries({
        queryKey: queryKeys.companySkills.list(companyId),
      });
      const importedCount = result.imported.length;
      toast.pushToast({
        tone: importedCount > 0 ? "success" : "warn",
        title: importedCount > 0 ? "Skills imported" : "Nothing imported",
        body:

View on GitHub (pinned to 120ae5428f)

Solutions

  1. Select a project before importing skills from it.

When it happens

Trigger: Thrown at ui/src/pages/skills/ImportSkillsFromProjectDialog.tsx:353 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/8fa4aa22c6d71236. Report an issue: GitHub.