paperclipai/paperclip · error
Label not found
Error message
Label not found
What it means
404 sentinel passed to getAccessibleResource on DELETE /labels/:labelId: no label with that id was found, so there is nothing to delete.
Source
Thrown at server/src/routes/issues.ts:6495
cleanupEligibleAt: workspace.cleanupEligibleAt,
cleanupReason: workspace.cleanupReason,
config: workspace.config
? {
environmentId: workspace.config.environmentId,
provisionCommand: workspace.config.provisionCommand,
runtimeProvisionCommand: workspace.config.runtimeProvisionCommand,
teardownCommand: workspace.config.teardownCommand,
cleanupCommand: workspace.config.cleanupCommand,
workspaceRuntime: workspace.config.workspaceRuntime,
desiredState: workspace.config.desiredState,
serviceStates: workspace.config.serviceStates,
}
: null,
metadata: null,
runtimeServices: (workspace.runtimeServices ?? [])
.filter((service) =>
service.status === "provisioning" || service.status === "starting" || service.status === "running"
)
.map(compactIssueRuntimeService),
createdAt: workspace.createdAt,
updatedAt: workspace.updatedAt,
};
}
// Resolve issue identifiers (e.g. "PAP-39") to UUIDs for all /issues/:id routes
router.param("id", async (req, res, next, rawId) => {
try {
req.params.id = await resolveIssueRouteId(rawId);
next();
} catch (err) {
next(err);
}
});
// Resolve issue identifiers (e.g. "PAP-39") to UUIDs for company-scoped attachment routes.
router.param("issueId", async (req, res, next, rawId) => {View on GitHub (pinned to 01ad858492)
Solutions
- Verify the id in the request path or body refers to an existing record in this company; re-list the parent collection to get a valid id.
- Check that the record was not deleted or archived, and that the request is scoped to the correct companyId.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at server/src/routes/issues.ts:6189 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/9f30541f9be4accd.
Report an issue: GitHub.