{"record":{"id":"8381395ba4370872","repo":"Wox-launcher/Wox","slug":"dynamic-setting-not-found-settingkey","errorCode":null,"errorMessage":"dynamic setting not found: ${settingKey}","messagePattern":"dynamic setting not found: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"wox.plugin.host.nodejs/src/jsonrpc.ts","lineNumber":226,"sourceCode":"  const settingKey = request.Params.Key\n  const settingValue = request.Params.Value\n  const callbackId = request.Params.CallbackId\n  plugin.API.settingChangeCallbacks.get(callbackId)?.(ctx, settingKey, settingValue)\n}\n\nasync function onGetDynamicSetting(ctx: Context, request: PluginJsonRpcRequest) {\n  const plugin = pluginInstances.get(request.PluginId)\n  if (plugin === undefined || plugin === null) {\n    logger.error(ctx, `plugin not found: ${request.PluginName}, forget to load plugin?`)\n    throw new Error(`plugin not found: ${request.PluginName}, forget to load plugin?`)\n  }\n\n  const settingKey = request.Params.Key\n  const callbackId = request.Params.CallbackId\n  const setting = plugin.API.getDynamicSettingCallbacks.get(callbackId)?.(ctx, settingKey)\n  if (setting === undefined || setting === null) {\n    logger.error(ctx, `dynamic setting not found: ${settingKey}`)\n    throw new Error(`dynamic setting not found: ${settingKey}`)\n  }\n\n  return setting\n}\n\nasync function onDeepLink(ctx: Context, request: PluginJsonRpcRequest) {\n  const plugin = pluginInstances.get(request.PluginId)\n  if (plugin === undefined || plugin === null) {\n    logger.error(ctx, `plugin not found: ${request.PluginName}, forget to load plugin?`)\n    throw new Error(`plugin not found: ${request.PluginName}, forget to load plugin?`)\n  }\n\n  const callbackId = request.Params.CallbackId\n  const params = JSON.parse(request.Params.Arguments) as MapString\n  plugin.API.deepLinkCallbacks.get(callbackId)?.(ctx, params)\n}\n\nasync function onUnload(ctx: Context, request: PluginJsonRpcRequest) {","sourceCodeStart":208,"sourceCodeEnd":244,"githubUrl":"https://github.com/Wox-launcher/Wox/blob/1659730fcb37154f26497e07308b1f8789d659fe/wox.plugin.host.nodejs/src/jsonrpc.ts#L208-L244","documentation":"Error \"dynamic setting not found: ${settingKey}\" thrown in Wox-launcher/Wox.","triggerScenarios":"Thrown at wox.plugin.host.nodejs/src/jsonrpc.ts:226 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1659730fcb37154f26497e07308b1f8789d659fe","analyzedAt":"2026-08-15T23:31:07.596Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}