paperclipai/paperclip · error
status must be succeeded, failed, or review_required
Error message
status must be succeeded, failed, or review_required
What it means
Error "status must be succeeded, failed, or review_required" thrown in paperclipai/paperclip.
Solutions
- Set status to succeeded, failed, or review_required.
When it happens
Trigger: Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:552 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/08baccff9ace3338.
Report an issue: GitHub.
Appendix: source
Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:550
spaceSlug: stringField(params.spaceSlug),
projectId: stringField(params.projectId),
rootIssueId: stringField(params.rootIssueId),
maxCharacters: typeof params.maxCharacters === "number" ? params.maxCharacters : null,
maxCharactersPerSource: typeof params.maxCharactersPerSource === "number" ? params.maxCharactersPerSource : null,
backfillStartAt: stringField(params.backfillStartAt),
backfillEndAt: stringField(params.backfillEndAt),
routineRun: params.routineRun === true,
includeComments: params.includeComments !== false,
includeDocuments: params.includeDocuments !== false,
workItemId: stringField(params.workItemId),
operationIssueId: stringField(params.operationIssueId),
});
});
ctx.actions.register("record-paperclip-distillation-outcome", async (params) => {
const status = stringField(params.status);
if (status !== "succeeded" && status !== "failed" && status !== "review_required") {
throw new Error("status must be succeeded, failed, or review_required");
}
const runId = stringField(params.runId);
if (!runId) throw new Error("runId is required");
return recordPaperclipDistillationOutcome(ctx, {
companyId: readCompanyIdFromParams(params),
wikiId: stringField(params.wikiId),
spaceSlug: stringField(params.spaceSlug),
runId,
cursorId: stringField(params.cursorId),
status,
sourceHash: stringField(params.sourceHash),
sourceWindowEnd: stringField(params.sourceWindowEnd),
warning: stringField(params.warning),
costCents: typeof params.costCents === "number" ? params.costCents : null,
retryCount: typeof params.retryCount === "number" ? params.retryCount : null,
});
});
View on GitHub (pinned to 5716fe907e)