{"record":{"id":"8d6985ef7c2f884b","repo":"paperclipai/paperclip","slug":"invalid-extract-search-query","errorCode":null,"errorMessage":"Invalid extract search query","messagePattern":"Invalid extract search query","errorType":"http","errorClass":null,"httpStatus":400,"severity":"error","filePath":"server/src/routes/issues.ts","lineNumber":5860,"sourceCode":"              }\n            : {}),\n          updatedAt: now,\n        })\n        .where(and(\n          eq(issueRows.id, input.issue.id),\n          locked.queueRun && remainingIds.length === 0\n            ? eq(issueRows.executionRunId, locked.queueRun.id)\n            : undefined,\n        ));\n\n      return {\n        deleted,\n        queue: await buildQueuedCommentQueue({\n          executor: tx,\n          issue: input.issue,\n          activeRun: locked.activeRun,\n          actor: input.actor,\n          queueState: nextQueueState,\n        }),\n      };\n    });\n  }\n\n  function operatorInterruptCancelOptions(input: { issueId: string; actor: ReturnType<typeof getActorInfo> }) {\n    return {\n      errorCode: \"operator_interrupted\",\n      resultJson: {\n        operatorInterrupted: true,\n        interruptionSource: \"issue_comment_interrupt\",\n        interruptedIssueId: input.issueId,\n        interruptedByActorType: input.actor.actorType,\n        interruptedByActorId: input.actor.actorId,\n      },\n      eventMessage: \"run interrupted by board comment\",\n      eventPayload: {\n        issueId: input.issueId,","sourceCodeStart":5842,"sourceCodeEnd":5878,"githubUrl":"https://github.com/paperclipai/paperclip/blob/5716fe907e596ce73501408fc6efdb19fb61edf2/server/src/routes/issues.ts#L5842-L5878","documentation":"400 from the extract search route: companySearchExtractQuerySchema failed to parse the query string; the schema's own first issue message is used, falling back to this generic text.","triggerScenarios":"Thrown at server/src/routes/issues.ts:5713 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":"5716fe907e596ce73501408fc6efdb19fb61edf2","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}