{"record":{"id":"80abe4e3ae85fd42","repo":"paperclipai/paperclip","slug":"issue-not-found","errorCode":null,"errorMessage":"Issue not found","messagePattern":"Issue not found","errorType":"http","errorClass":"AutoApprovalIssueMissingError","httpStatus":404,"severity":"error","filePath":"server/src/routes/issues.ts","lineNumber":13097,"sourceCode":"\n      await questionResponseDeliveries.deliver(interaction.id).catch((err) => {\n        logger.warn({\n          err,\n          companyId: issue.companyId,\n          issueId: issue.id,\n          interactionId: interaction.id,\n        }, \"synchronous question response delivery failed; durable outbox will retry\");\n      });\n\n      res.json(interaction);\n    },\n  );\n\n  router.post(\n    \"/issues/:id/interactions/:interactionId/verdicts\",\n    validate(submitIssueThreadInteractionVerdictsSchema),\n    async (req, res) => {\n      const id = req.params.id as string;\n      const interactionId = req.params.interactionId as string;\n      const issue = await getAccessibleResource(req, res, svc.getById(id), \"Issue not found\");\n      if (!issue) return;\n      const authorizedResolution = await getIssueThreadInteractionResolutionAuthorization(\n        req,\n        res,\n        issue,\n        interactionId,\n      );\n      if (!authorizedResolution) return;\n      const { interactionSvc, resolutionAuthorization } = authorizedResolution;\n\n      const actor = getActorInfo(req);\n      const { interaction, newlyResolvedItemIds } = await interactionSvc.submitItemVerdicts(\n        issue,\n        interactionId,\n        req.body,\n        {","sourceCodeStart":13079,"sourceCodeEnd":13115,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/server/src/routes/issues.ts#L13079-L13115","documentation":"Not-found sentinel on the issues routes: the requested issue id does not exist (or is not visible in the caller's company scope), surfaced as an HttpError 404. Callers such as the CLI access-parity tests rely on this exact message to distinguish 'missing issue' from other failures.","triggerScenarios":"Thrown at server/src/routes/issues.ts:12079 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the issue id exists in the selected company.","Check that the caller has access to the company containing the issue."],"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"}