paperclipai/paperclip · error
Paperclip ingestion policy denied ${purpose}: space "${space
Error message
Paperclip ingestion policy denied ${purpose}: space "${space.slug}" is ${space.status}. What it means
Error "Paperclip ingestion policy denied ${purpose}: space "${space.slug}" is ${space.status}." thrown in paperclipai/paperclip.
Source
Thrown at packages/plugins/plugin-llm-wiki/src/wiki/core.ts:474
async function requirePaperclipIngestionPolicy(
ctx: PluginContext,
input: { companyId: string; wikiId: string; spaceSlug?: string | null },
purpose: PaperclipIngestionPolicyPurpose,
options: { requireEnabledProfile?: boolean } = {},
): Promise<WikiSpace> {
const space = await resolveSpace(ctx, {
companyId: input.companyId,
wikiId: input.wikiId,
spaceSlug: input.spaceSlug,
});
const profile = await profileForSpace(ctx, input.companyId, space);
const decision = evaluatePaperclipProfilePolicy({
space,
profile,
purpose,
requireEnabledProfile: options.requireEnabledProfile,
});
if (!decision.allowed) throw new Error(decision.message);
return decision.space;
}
function assertPaperclipSourceScopePayload(input: { projectId?: string | null; rootIssueId?: string | null }) {
if (input.projectId && input.rootIssueId) {
throw new Error("Paperclip source scope must specify either projectId or rootIssueId, not both.");
}
}
function assertRequestedCharacterLimit(name: string, value: unknown, max: number) {
if (value == null) return;
if (typeof value !== "number" || !Number.isFinite(value) || value < 1) {
throw new Error(`${name} must be a positive number.`);
}
if (Math.floor(value) > max) {
throw new Error(`${name} exceeds the hard Paperclip ingestion cap of ${max} characters.`);
}
}View on GitHub (pinned to 5716fe907e)
Solutions
- Reactivate the wiki space (set status to active) or use an active space before ingesting.
When it happens
Trigger: Thrown at packages/plugins/plugin-llm-wiki/src/wiki/core.ts:475 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/204ad6e376b775b5.
Report an issue: GitHub.