paperclipai/paperclip · error · Error
Selected run template is no longer available. The selection
Error message
Selected run template is no longer available. The selection was reset.
What it means
Error "Selected run template is no longer available. The selection was reset." thrown in paperclipai/paperclip.
Source
Thrown at ui/src/pages/SkillStudio.tsx:2469
});
const selectedTemplate = selectedTemplateId === null
? null
: templates.find((template) => template.id === selectedTemplateId) ?? null;
const selectedTemplateName = selectedTemplateId === null
? "No template"
: selectedTemplate?.name ?? "Default test template";
const runDisabledReason = gate.reason ?? templateGateReason;
const createRunMutation = useMutation({
mutationFn: () => {
if (!templatesQuery.isSuccess) {
throw new Error(templateGateReason ?? "Run templates are not ready.");
}
const resolution = resolveRunTemplateSelection(selectedTemplateId, templates);
if (resolution.recovered) {
updateTemplateSelection(resolution.selection);
throw new Error("Selected run template is no longer available. The selection was reset.");
}
return companySkillsApi.createTestRun(companyId, skillId, buildCreateRunRequest({
agentId: selectedAgentId!,
inputId: adHocMode ? null : selectedInput?.id ?? null,
content: adHocMode ? adHocContent : selectedInput ? null : adHocContent,
templateId: resolution.selection,
}));
},
onSuccess: (run) => {
queryClient.invalidateQueries({
queryKey: queryKeys.companySkills.testRuns(companyId, skillId, filterInputId),
});
onSelectRun(run.id);
},
onError: onError("Couldn't start run"),
});
if (selectedRunId) {View on GitHub (pinned to 120ae5428f)
Solutions
- Pick a run template from the current list; the previous selection was reset because it no longer exists.
When it happens
Trigger: Thrown at ui/src/pages/SkillStudio.tsx:2469 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/fb66eaa2c9ac71a3.
Report an issue: GitHub.