{"record":{"id":"1cb6a6e03f08b128","repo":"paperclipai/paperclip","slug":"touchedbyuserid-me-requires-board-authentication","errorCode":null,"errorMessage":"touchedByUserId=me requires board authentication","messagePattern":"touchedByUserId=me requires board authentication","errorType":"http","errorClass":null,"httpStatus":403,"severity":"error","filePath":"server/src/routes/issues.ts","lineNumber":6134,"sourceCode":"      );\n    }\n    return resolved.agent.id;\n  }\n  function toValidTimestamp(value: Date | string | null | undefined) {\n    if (!value) return null;\n    const timestamp = value instanceof Date ? value.getTime() : new Date(value).getTime();\n    return Number.isFinite(timestamp) ? timestamp : null;\n  }\n\n  function isQueuedIssueCommentForActiveRun(params: {\n    comment: {\n      authorAgentId?: string | null;\n      createdAt?: Date | string | null;\n    };\n    activeRun: {\n      agentId?: string | null;\n      startedAt?: Date | string | null;\n      createdAt?: Date | string | null;\n    };\n  }) {\n    const activeRunStartedAtMs =\n      toValidTimestamp(params.activeRun.startedAt) ?? toValidTimestamp(params.activeRun.createdAt);\n    const commentCreatedAtMs = toValidTimestamp(params.comment.createdAt);\n\n    if (activeRunStartedAtMs === null || commentCreatedAtMs === null) return false;\n    if (params.comment.authorAgentId && params.comment.authorAgentId === params.activeRun.agentId) return false;\n    return commentCreatedAtMs >= activeRunStartedAtMs;\n  }\n  async function getClosedIssueExecutionWorkspace(issue: { executionWorkspaceId?: string | null }) {\n    if (!issue.executionWorkspaceId) return null;\n    const workspace = await executionWorkspacesSvc.getById(issue.executionWorkspaceId);\n    if (!workspace || !isClosedIsolatedExecutionWorkspace(workspace)) return null;\n    return workspace;\n  }\n\n  // Reopen the closed isolated workspace that a guard found, so the request can","sourceCodeStart":6116,"sourceCodeEnd":6152,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/server/src/routes/issues.ts#L6116-L6152","documentation":"403 from the issue list route: the query used touchedByUserId=me, which requires a resolvable board user, but no such user context exists for the actor.","triggerScenarios":"Thrown at server/src/routes/issues.ts:5828 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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."],"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-14T00:17:10.932Z"}