paperclipai/paperclip · error · Error
Run templates are not ready.
Error message
Run templates are not ready.
What it means
Error "Run templates are not ready." thrown in paperclipai/paperclip.
Source
Thrown at ui/src/pages/SkillStudio.tsx:2464
title: "Template deleted",
body: `${template.name} was removed from Skills Studio runs.`,
});
},
onError: onError("Couldn't delete template"),
});
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);View on GitHub (pinned to 120ae5428f)
Solutions
- Wait for run templates to finish loading, then retry.
When it happens
Trigger: Thrown at ui/src/pages/SkillStudio.tsx:2464 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/bc97b3271a4f100d.
Report an issue: GitHub.