{"record":{"id":"b89481b8dc654002","repo":"Kong/insomnia","slug":"unsupported-action-named-actionname-for-plugin","errorCode":null,"errorMessage":"Unsupported action named ${actionName} for plugin ${pluginName}","messagePattern":"Unsupported action named (.+?) for plugin (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/insomnia/src/main/templating-worker-database.ts","lineNumber":1067,"sourceCode":"  // execute the plugin exported main action with the given parameters\n  'plugin.executeBundlePluginMainAction': async (body: {\n    pluginName: string;\n    actionName: string;\n    context?: Record<string, any>;\n    params?: Record<string, any>;\n  }) => {\n    const { pluginName, actionName, context, params } = body;\n    const appBundlePluginNames = getAppBundlePlugins().map(p => p.name);\n    if (appBundlePluginNames.includes(pluginName)) {\n      const module = getBundlePluginModule(pluginName);\n      const pluginActions = module?.unsafePluginMainActions || [];\n      const targetAction = pluginActions.find(action => action.name === actionName);\n      if (targetAction) {\n        const commonContext = getPluginCommonContext({ plugin: { name: pluginName } });\n        return targetAction.action({ ...commonContext, ...context }, params);\n      }\n    }\n    throw new Error(`Unsupported action named ${actionName} for plugin ${pluginName}`);\n  },\n  'app.alert': async (body: { title: string; message?: string }) => {\n    await dialog.showMessageBox({ type: 'info', title: body.title, message: body.message || '' });\n  },\n  'app.dialog': async (body: { title: string; message?: string }) => {\n    await dialog.showMessageBox({ type: 'info', title: body.title, message: body.message || '' });\n  },\n  'app.prompt': async (body: { title: string; options?: AppPromptOptions }) => {\n    return requestPromptFromRenderer({\n      ...body.options,\n      title: body.title,\n      label: body.options?.label ?? body.title,\n      defaultValue: body.options?.defaultValue ?? '',\n    });\n  },\n  'app.getPath': async (body: { name: string }) => {\n    return app.getPath(body.name as Parameters<typeof app.getPath>[0]);\n  },","sourceCodeStart":1049,"sourceCodeEnd":1085,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia/src/main/templating-worker-database.ts#L1049-L1085","documentation":"Error \"Unsupported action named ${actionName} for plugin ${pluginName}\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia/src/main/templating-worker-database.ts:1067 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":"d9bb2b0142600f21309832daea3317942d285984","analyzedAt":"2026-08-26T18:04:05.187Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}