{"record":{"id":"0ac4040d9802578d","repo":"Kong/insomnia","slug":"plugin-window-template-tag-not-found-pluginna","errorCode":null,"errorMessage":"[plugin-window] Template tag not found: ${pluginName}/${tagName}","messagePattern":"\\[plugin-window\\] Template tag not found: (.+?)/(.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/insomnia/src/plugins/invoke-method.ts","lineNumber":191,"sourceCode":"    case 'executePluginMainAction': {\n      return executePluginMainAction(args as ExecutePluginMainActionArgs);\n    }\n\n    case 'getTemplateTags': {\n      const tags = await getTemplateTags();\n      return tags.map(({ plugin, templateTag }) => ({\n        pluginName: plugin.name,\n        // eslint-disable-next-line unicorn/prefer-structured-clone\n        templateTag: JSON.parse(JSON.stringify(templateTag)),\n      }));\n    }\n\n    case 'runTemplateTagAction': {\n      const { pluginName, tagName, actionName } = args as RunTemplateTagActionArgs;\n      const tags = await getTemplateTags();\n      const tag = tags.find(t => t.plugin.name === pluginName && t.templateTag.name === tagName);\n      if (!tag) {\n        throw new Error(`[plugin-window] Template tag not found: ${pluginName}/${tagName}`);\n      }\n      const action = tag.templateTag.actions?.find((a: any) => a.name === actionName);\n      if (!action) {\n        throw new Error(`[plugin-window] Tag action not found: ${actionName}`);\n      }\n      await action.run(pluginStore.init(tag.plugin));\n      return null;\n    }\n\n    case 'hasRequestHooks': {\n      const hooks = await getRequestHooks();\n      return hooks.length > 0;\n    }\n\n    case 'hasResponseHooks': {\n      const hooks = await getResponseHooks();\n      return hooks.length > 0;\n    }","sourceCodeStart":173,"sourceCodeEnd":209,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia/src/plugins/invoke-method.ts#L173-L209","documentation":"runTemplateTagAction could not find a template tag matching the given pluginName/tagName among the discovered plugins, so the requested tag action cannot run.","triggerScenarios":"Thrown at packages/insomnia/src/plugins/invoke-method.ts:191 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the plugin that provides the template tag is installed and enabled","Check that pluginName and tagName are spelled exactly as the plugin declares them","Confirm the plugin's template tag is registered via getTemplateTags before invoking its action"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d9bb2b0142600f21309832daea3317942d285984","analyzedAt":"2026-08-26T18:04:05.187Z","contentChangedAt":"2026-08-26T18:04:05.187Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}