{"record":{"id":"85d8ac846c8f369e","repo":"paperclipai/paperclip","slug":"issues-count-does-not-accept-limit-or-offset","errorCode":null,"errorMessage":"issues/count does not accept limit or offset","messagePattern":"issues/count does not accept limit or offset","errorType":"http","errorClass":null,"httpStatus":400,"severity":"error","filePath":"server/src/routes/issues.ts","lineNumber":6388,"sourceCode":"      companyId: workspace.companyId,\n      projectId: workspace.projectId,\n      name: workspace.name,\n      sourceType: workspace.sourceType,\n      cwd: workspace.cwd,\n      repoUrl: workspace.repoUrl,\n      repoRef: workspace.repoRef,\n      defaultRef: workspace.defaultRef,\n      visibility: workspace.visibility,\n      setupCommand: workspace.setupCommand,\n      cleanupCommand: workspace.cleanupCommand,\n      remoteProvider: workspace.remoteProvider,\n      remoteWorkspaceRef: workspace.remoteWorkspaceRef,\n      sharedWorkspaceKey: workspace.sharedWorkspaceKey,\n      runtimeConfig: workspace.runtimeConfig,\n      isPrimary: workspace.isPrimary,\n      createdAt: workspace.createdAt,\n      updatedAt: workspace.updatedAt,\n    };\n  }\n\n  function compactIssueProject(project: Awaited<ReturnType<typeof resolveIssueProjectAndGoal>>[\"project\"]) {\n    if (!project) return null;\n    return {\n      id: project.id,\n      companyId: project.companyId,\n      urlKey: project.urlKey,\n      goalId: project.goalId,\n      goalIds: project.goalIds,\n      goals: project.goals,\n      name: project.name,\n      description: project.description,\n      status: project.status,\n      leadAgentId: project.leadAgentId,\n      targetDate: project.targetDate,\n      color: project.color,\n      icon: project.icon,","sourceCodeStart":6370,"sourceCodeEnd":6406,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/server/src/routes/issues.ts#L6370-L6406","documentation":"400 from the issue count route: limit or offset query parameters were supplied, but the count endpoint performs no pagination and rejects both.","triggerScenarios":"Thrown at server/src/routes/issues.ts:6082 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the offending parameter to satisfy the constraint stated in the error message (type, range, or allowed values), then retry.","Refer to the route's request validation in the named file and the shared validators for the accepted format."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"01ad8584922b5d85292b1723cae71fa0d9b07a19","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}