{"record":{"id":"f1e92840c47e92c7","repo":"paperclipai/paperclip","slug":"no-data-handler-registered-for-key-params-key","errorCode":null,"errorMessage":"No data handler registered for key \"${params.key}\"","messagePattern":"No data handler registered for key \"(.+?)\"","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/plugins/sdk/src/worker-rpc-host.ts","lineNumber":1889,"sourceCode":"        await registration.fn(event);\n      } catch (err) {\n        // Log error but continue processing other handlers so one failing\n        // handler doesn't prevent the rest from running.\n        notifyHost(\"log\", {\n          level: \"error\",\n          message: `Event handler for \"${registration.name}\" failed: ${\n            err instanceof Error ? err.message : String(err)\n          }`,\n          meta: { eventType: event.eventType, stack: err instanceof Error ? err.stack : undefined },\n        });\n      }\n    }\n  }\n\n  async function handleRunJob(params: RunJobParams): Promise<void> {\n    const handler = jobHandlers.get(params.job.jobKey);\n    if (!handler) {\n      throw new Error(`No handler registered for job \"${params.job.jobKey}\"`);\n    }\n    await handler(params.job);\n  }\n\n  async function handleWebhook(params: PluginWebhookInput): Promise<void> {\n    if (!plugin.definition.onWebhook) {\n      throw Object.assign(\n        new Error(\"handleWebhook is not implemented by this plugin\"),\n        { code: PLUGIN_RPC_ERROR_CODES.METHOD_NOT_IMPLEMENTED },\n      );\n    }\n    await plugin.definition.onWebhook(params);\n  }\n\n  async function handleApiRequest(params: PluginApiRequestInput): Promise<unknown> {\n    if (!plugin.definition.onApiRequest) {\n      throw Object.assign(\n        new Error(\"handleApiRequest is not implemented by this plugin\"),","sourceCodeStart":1871,"sourceCodeEnd":1907,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/packages/plugins/sdk/src/worker-rpc-host.ts#L1871-L1907","documentation":"Dispatch guard in the worker RPC host (handleGetData): the host requested a data handler for params.key, but no data handler was registered under that key by the plugin. The key/protocol are correct; the plugin simply does not expose that data source, so the RPC request is rejected.","triggerScenarios":"Thrown at packages/plugins/sdk/src/worker-rpc-host.ts:1838 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register a data handler for the key, or request a registered key."],"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"}