{"record":{"id":"ce5001deefe52773","repo":"Kong/insomnia","slug":"plugin-window-tag-action-not-found-actionname","errorCode":null,"errorMessage":"[plugin-window] Tag action not found: ${actionName}","messagePattern":"\\[plugin-window\\] Tag action not found: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/insomnia/src/plugins/invoke-method.ts","lineNumber":195,"sourceCode":"    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    }\n\n    case 'applyRequestHooks': {\n      const { renderedRequest, projectId, environment } = args as ApplyRequestHooksArgs;\n      const newRenderedRequest = { ...renderedRequest };","sourceCodeStart":177,"sourceCodeEnd":213,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia/src/plugins/invoke-method.ts#L177-L213","documentation":"Error \"[plugin-window] Tag action not found: ${actionName}\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia/src/plugins/invoke-method.ts:195 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"}