paperclipai/paperclip · error · Error
Import failed on the server.
Error message
Import failed on the server.
What it means
Terminal-state branch in watchImportJob: the polled import job's status flipped to 'failed' on the server (the import pipeline rejected the package), so the watch loop surfaces the server-side failure message to the user.
Source
Thrown at ui/src/pages/CompanyImport.tsx:836
// server-side, so keep watching rather than reporting a failure that
// may not exist.
}
if (job?.status === "succeeded") {
clearStoredImportJob(storageKey);
if (!job.importResult) {
// The server confirmed success but retained only the compact summary
// (a cloud tenant job, or a board job whose full result aged out of
// memory). Still a success — navigate by the summary's company id.
return {
status: "completed-expired",
companyId: job.result?.companyId ?? null,
};
}
return { status: "completed", result: job.importResult };
}
if (job?.status === "failed") {
clearStoredImportJob(storageKey);
throw new Error(job.error?.message ?? "Import failed on the server.");
}
await waitForNextImportJobPoll();
}
}
// ── Main page ─────────────────────────────────────────────────────────
export function CompanyImport() {
const {
selectedCompanyId,
selectedCompany,
setSelectedCompanyId,
} = useCompany();
const { setBreadcrumbs } = useBreadcrumbs();
const { pushToast } = useToastActions();
const queryClient = useQueryClient();
const packageInputRef = useRef<HTMLInputElement | null>(null);
const { data: session } = useQuery({View on GitHub (pinned to a7e689b3c3)
Solutions
- Check the server logs for the import failure reason, fix it, and retry the import.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at ui/src/pages/CompanyImport.tsx:836 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@a7e689b3c3 (2026-08-18).
Data as JSON: /api/errors/f1a12aedbfd54eae.
Report an issue: GitHub.