paperclipai/paperclip · error
Project not found
Error message
Project not found
What it means
Error "Project not found" thrown in paperclipai/paperclip.
Source
Thrown at server/src/routes/projects.ts:291
companyId,
actorType: actor.actorType,
actorId: actor.actorId,
agentId: actor.agentId,
action: "project.created",
entityType: "project",
entityId: project.id,
details: {
name: project.name,
workspaceId: createdWorkspaceId,
envKeys: project.env ? Object.keys(project.env).sort() : [],
},
});
const telemetryClient = getTelemetryClient();
if (telemetryClient) {
trackProjectCreated(telemetryClient);
}
res.status(201).json(hydratedProject ?? project);
});
router.patch("/projects/:id", validate(updateProjectSchema), async (req, res) => {
const id = req.params.id as string;
const existing = await getAccessibleResource(req, res, svc.getById(id), "Project not found");
if (!existing) return;
const body = { ...req.body };
assertNoAgentHostWorkspaceCommandMutation(
req,
collectProjectExecutionWorkspaceCommandPaths(body.executionWorkspacePolicy),
);
await assertProjectEnvironmentSelection(
existing.companyId,
readProjectPolicyEnvironmentId(body.executionWorkspacePolicy),
);
if (typeof body.archivedAt === "string") {
body.archivedAt = new Date(body.archivedAt);
}
if (body.env !== undefined) {View on GitHub (pinned to 01ad858492)
Solutions
- Verify the project id in the URL is correct and belongs to the current company.
- List projects for the company to find the correct id; the project may have been deleted.
When it happens
Trigger: Thrown at server/src/routes/projects.ts:245 when the library encounters an invalid state.
Common situations: Returned when the requested project id does not exist within the caller's company scope.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/a68929c4befc23d0.
Report an issue: GitHub.