paperclipai/paperclip · error
issues/count currently requires attention=blocked
Error message
issues/count currently requires attention=blocked
What it means
400 from the issue count route: the count endpoint currently only supports the blocked-attention slice, and the attention query parameter was anything other than 'blocked'.
Solutions
- Correct the request so it satisfies the condition stated in the error message, then retry; see the throwing line in the named file for the exact check.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at server/src/routes/issues.ts:6078 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@3f1d897a7c (2026-08-18).
Data as JSON: /api/errors/68bda42461bde801.
Report an issue: GitHub.
Appendix: source
Thrown at server/src/routes/issues.ts:7649
) {
if (!workspace) return null;
return {
id: workspace.id,
companyId: workspace.companyId,
projectId: workspace.projectId,
name: workspace.name,
sourceType: workspace.sourceType,
cwd: workspace.cwd,
repoUrl: workspace.repoUrl,
repoRef: workspace.repoRef,
defaultRef: workspace.defaultRef,
visibility: workspace.visibility,
setupCommand: workspace.setupCommand,
cleanupCommand: workspace.cleanupCommand,
remoteProvider: workspace.remoteProvider,
remoteWorkspaceRef: workspace.remoteWorkspaceRef,
sharedWorkspaceKey: workspace.sharedWorkspaceKey,
runtimeConfig: workspace.runtimeConfig,
isPrimary: workspace.isPrimary,
createdAt: workspace.createdAt,
updatedAt: workspace.updatedAt,
};
}
function compactIssueProject(
project: Awaited<ReturnType<typeof resolveIssueProjectAndGoal>>["project"],
) {
if (!project) return null;
return {
id: project.id,
companyId: project.companyId,
urlKey: project.urlKey,
goalId: project.goalId,
goalIds: project.goalIds,
goals: project.goals,
name: project.name,View on GitHub (pinned to 3f1d897a7c)