{"record":{"id":"a1b027b1a593866b","repo":"paperclipai/paperclip","slug":"feedback-trace-not-found","errorCode":null,"errorMessage":"Feedback trace not found","messagePattern":"Feedback trace not found","errorType":"http","errorClass":null,"httpStatus":404,"severity":"error","filePath":"server/src/routes/issues.ts","lineNumber":12762,"sourceCode":"        const approvalResult = await opts.approveToolActionRequest({\n          companyId: issue.companyId,\n          issueId: issue.id,\n          interactionId: interaction.id,\n          actionRequestId: toolAction.actionRequestId,\n          actor: {\n            agentId: actor.agentId,\n            userId: actor.actorType === \"user\" ? actor.actorId : null,\n          },\n        });\n        const approval = readObject(approvalResult);\n        const executionStatus = readToolActionExecutionStatus(approval.status);\n        if (executionStatus) {\n          const currentResult = readObject(interaction.result);\n          continuationInteraction = {\n            ...interaction,\n            result: {\n              ...currentResult,\n              toolAction: {\n                version: 1,\n                status: executionStatus,\n                errorMessage: readNonEmptyString(approval.error),\n                resultSummary: readNonEmptyString(approval.resultSummary),\n                updatedAt: new Date().toISOString(),\n              },\n            } as typeof interaction.result,\n          };\n        }\n      }\n      if (\n        interaction.kind === \"request_confirmation\"\n        && interaction.status === \"accepted\"\n        && typeof secretProposal?.proposalId === \"string\"\n      ) {\n        const resolvedByUserId = actor.actorType === \"user\" ? actor.actorId : \"board\";\n        try {\n          if (opts.approveSecretProposal) {","sourceCodeStart":12744,"sourceCodeEnd":12780,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/server/src/routes/issues.ts#L12744-L12780","documentation":"404 from GET /feedback-traces/:traceId. Fires when no trace with that id exists, or the trace exists but its company is not among the actor's accessible companies — hidden rather than leaked.","triggerScenarios":"Thrown at server/src/routes/issues.ts:11750 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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."],"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"}