Kong/insomnia · error · Error

[plugin-window] Template tag not found: ${pluginName}/${tagN

Error message

[plugin-window] Template tag not found: ${pluginName}/${tagName}

What it means

Error "[plugin-window] Template tag not found: ${pluginName}/${tagName}" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia/src/plugins/invoke-method.ts:191

    case 'executePluginMainAction': {
      return executePluginMainAction(args as ExecutePluginMainActionArgs);
    }

    case 'getTemplateTags': {
      const tags = await getTemplateTags();
      return tags.map(({ plugin, templateTag }) => ({
        pluginName: plugin.name,
        // eslint-disable-next-line unicorn/prefer-structured-clone
        templateTag: JSON.parse(JSON.stringify(templateTag)),
      }));
    }

    case 'runTemplateTagAction': {
      const { pluginName, tagName, actionName } = args as RunTemplateTagActionArgs;
      const tags = await getTemplateTags();
      const tag = tags.find(t => t.plugin.name === pluginName && t.templateTag.name === tagName);
      if (!tag) {
        throw new Error(`[plugin-window] Template tag not found: ${pluginName}/${tagName}`);
      }
      const action = tag.templateTag.actions?.find((a: any) => a.name === actionName);
      if (!action) {
        throw new Error(`[plugin-window] Tag action not found: ${actionName}`);
      }
      await action.run(pluginStore.init(tag.plugin));
      return null;
    }

    case 'hasRequestHooks': {
      const hooks = await getRequestHooks();
      return hooks.length > 0;
    }

    case 'hasResponseHooks': {
      const hooks = await getResponseHooks();
      return hooks.length > 0;
    }

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia/src/plugins/invoke-method.ts:191 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/0ac4040d9802578d. Report an issue: GitHub.