{"record":{"id":"1211e3b7c27c258a","repo":"n8n-io/n8n","slug":"error-on-node-connectednode-name-which-is-con","errorCode":null,"errorMessage":"Error on node \"${connectedNode.name}\" which is connected via input \"${parameters.connectionType}\"","messagePattern":"Error on node \"(.+?)\" which is connected via input \"(.+?)\"","errorType":"exception","errorClass":"NodeOperationError","httpStatus":null,"severity":"error","filePath":"packages/@n8n/ai-utilities/src/utils/log-wrapper.ts","lineNumber":72,"sourceCode":"\t\t\tfunctionality: 'configuration-node',\n\t\t});\n\n\t\tconst metadata = parseErrorMetadata(error);\n\t\tparameters.executeFunctions.addOutputData(\n\t\t\tparameters.connectionType,\n\t\t\tparameters.currentNodeRunIndex,\n\t\t\terror,\n\t\t\tmetadata,\n\t\t);\n\n\t\tif (error.message) {\n\t\t\tif (!error.description) {\n\t\t\t\terror.description = error.message;\n\t\t\t}\n\t\t\tthrow error;\n\t\t}\n\n\t\tthrow new NodeOperationError(\n\t\t\tconnectedNode,\n\t\t\t`Error on node \"${connectedNode.name}\" which is connected via input \"${parameters.connectionType}\"`,\n\t\t\t{ functionality: 'configuration-node' },\n\t\t);\n\t}\n}\n\nexport function callMethodSync<T>(\n\tthis: T,\n\tparameters: {\n\t\texecuteFunctions: IExecuteFunctions;\n\t\tconnectionType: NodeConnectionType;\n\t\tcurrentNodeRunIndex: number;\n\t\tmethod: (...args: any[]) => T;\n\t\targuments: unknown[];\n\t},\n): unknown {\n\ttry {","sourceCodeStart":54,"sourceCodeEnd":90,"githubUrl":"https://github.com/n8n-io/n8n/blob/5ac6606e81f67bb9534255570cd4e86fd8101eee/packages/@n8n/ai-utilities/src/utils/log-wrapper.ts#L54-L90","documentation":"Generic wrapper error from callMethodAsync in the log-wrapper utility. It fires when an error propagating out of a connected sub-node (an attached model, tool, or memory node) either has no message, in which case this sentinel is raised, or is rethrown with its message copied into the description after being reported on the connection output. It attributes the failure to the connected node and the input connection type rather than the calling node.","triggerScenarios":"Thrown at packages/@n8n/ai-utilities/src/utils/log-wrapper.ts:72 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the connected sub-node named in the message and the connection type; the real failure happened there and was re-thrown with this wrapper.","Check the sub-node's credentials, parameters, and model configuration, then re-run the workflow.","If the wrapped error carries a description, use it — the original error object is thrown with its message copied into description."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5ac6606e81f67bb9534255570cd4e86fd8101eee","analyzedAt":"2026-08-12T05:26:35.080Z","contentChangedAt":"2026-08-12T05:26:35.080Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}