{"record":{"id":"a028f3215914535f","repo":"langgenius/dify","slug":"plugin-debug-failed","errorCode":null,"errorMessage":"Plugin debug failed","messagePattern":"Plugin debug failed","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"web/app/components/workflow/nodes/_base/hooks/use-one-step-run.ts","lineNumber":616,"sourceCode":"          pluginSingleRunAbortRef.current = null\n        })\n\n      if (!pluginSingleRunActiveRef.current || token !== pluginSingleRunTokenRef.current)\n        return null\n\n      if (requestError) {\n        if (controller.signal.aborted) return null\n\n        toast.error(requestError.message)\n        cancelPluginSingleRun()\n        throw requestError\n      }\n\n      if (!response) {\n        const message = 'Plugin debug failed'\n        toast.error(message)\n        cancelPluginSingleRun()\n        throw new Error(message)\n      }\n\n      if (response?.status === 'waiting') {\n        const delay = Number(response.retry_in) || 2000\n        if (!pluginSingleRunActiveRef.current || token !== pluginSingleRunTokenRef.current)\n          return null\n\n        await new Promise<void>((resolve) => {\n          const timeoutId = window.setTimeout(resolve, delay)\n          pluginSingleRunTimeoutRef.current = timeoutId\n          pluginSingleRunDelayResolveRef.current = resolve\n          controller.signal.addEventListener(\n            'abort',\n            () => {\n              window.clearTimeout(timeoutId)\n              resolve()\n            },\n            { once: true },","sourceCodeStart":598,"sourceCodeEnd":634,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/web/app/components/workflow/nodes/_base/hooks/use-one-step-run.ts#L598-L634","documentation":"Error \"Plugin debug failed\" thrown in langgenius/dify.","triggerScenarios":"Thrown at web/app/components/workflow/nodes/_base/hooks/use-one-step-run.ts:616 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":"ef8544b173fd6cd7a8e71df2cab576e52bebbfbc","analyzedAt":"2026-08-12T05:15:17.394Z","schemaVersion":2},"datasetVersion":"2026-08-12T13:17:24.610Z"}