Kong/insomnia · error · Error

Unsupported action named

Error message

Unsupported action named ${actionName} for plugin ${pluginName}

What it means

Guard in the 'plugin.executeBundlePluginMainAction' IPC handler: the named plugin's exported unsafePluginMainActions list contains no action with the requested actionName, so the plugin main-action invocation is rejected.

Solutions

  1. Verify the action name matches one exported in the plugin's unsafePluginMainActions
  2. Update or reload the plugin so the action list is current
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at packages/insomnia/src/main/templating-worker-database.ts:1067 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Kong/insomnia@d9bb2b0142 (2026-08-26). Data as JSON: /api/errors/b89481b8dc654002. Report an issue: GitHub.

Appendix: source

Thrown at packages/insomnia/src/main/templating-worker-database.ts:1067

  // execute the plugin exported main action with the given parameters
  'plugin.executeBundlePluginMainAction': async (body: {
    pluginName: string;
    actionName: string;
    context?: Record<string, any>;
    params?: Record<string, any>;
  }) => {
    const { pluginName, actionName, context, params } = body;
    const appBundlePluginNames = getAppBundlePlugins().map(p => p.name);
    if (appBundlePluginNames.includes(pluginName)) {
      const module = getBundlePluginModule(pluginName);
      const pluginActions = module?.unsafePluginMainActions || [];
      const targetAction = pluginActions.find(action => action.name === actionName);
      if (targetAction) {
        const commonContext = getPluginCommonContext({ plugin: { name: pluginName } });
        return targetAction.action({ ...commonContext, ...context }, params);
      }
    }
    throw new Error(`Unsupported action named ${actionName} for plugin ${pluginName}`);
  },
  'app.alert': async (body: { title: string; message?: string }) => {
    await dialog.showMessageBox({ type: 'info', title: body.title, message: body.message || '' });
  },
  'app.dialog': async (body: { title: string; message?: string }) => {
    await dialog.showMessageBox({ type: 'info', title: body.title, message: body.message || '' });
  },
  'app.prompt': async (body: { title: string; options?: AppPromptOptions }) => {
    return requestPromptFromRenderer({
      ...body.options,
      title: body.title,
      label: body.options?.label ?? body.title,
      defaultValue: body.options?.defaultValue ?? '',
    });
  },
  'app.getPath': async (body: { name: string }) => {
    return app.getPath(body.name as Parameters<typeof app.getPath>[0]);
  },

View on GitHub (pinned to d9bb2b0142)