n8n-io/n8n · error · NodeTypeNotFoundError
NODE_TYPE_NOT_FOUND
NODE_TYPE_NOT_FOUND
Error message
Node type "${nodeType}" not found What it means
Error "Node type "${nodeType}" not found" thrown in n8n-io/n8n.
Source
Thrown at packages/@n8n/ai-workflow-builder.ee/src/tools/connect-nodes.tool.ts:118
targetNodeId: validatedInput.targetNodeId,
foundSource: !!matchedSourceNode,
foundTarget: !!matchedTargetNode,
},
};
reporter.error(error);
return createErrorResponse(config, error);
}
// Find node type descriptions
const sourceNodeType = nodeTypes.find((nt) => nt.name === matchedSourceNode!.type);
const targetNodeType = nodeTypes.find((nt) => nt.name === matchedTargetNode!.type);
if (!sourceNodeType || !targetNodeType) {
const missingType = !sourceNodeType ? matchedSourceNode.type : matchedTargetNode.type;
const typeError = new NodeTypeNotFoundError(missingType);
const error = {
message: typeError.message,
code: 'NODE_TYPE_NOT_FOUND',
details: {
sourceType: matchedSourceNode.type,
targetType: matchedTargetNode.type,
},
};
reporter.error(error);
return createErrorResponse(config, error);
}
// Determine connection type
reportProgress(reporter, 'Inferring connection type...');
logger?.debug('\n=== Connect Nodes Tool ===');
logger?.debug(
`Attempting to connect: ${matchedSourceNode.name} -> ${matchedTargetNode.name}`,
);
const inferResult = inferConnectionType(View on GitHub (pinned to 5ac6606e81)
When it happens
Trigger: Thrown at packages/@n8n/ai-workflow-builder.ee/src/tools/connect-nodes.tool.ts:118 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of n8n-io/n8n@5ac6606e81 (2026-08-12).
Data as JSON: /api/errors/611132db514d74f3.
Report an issue: GitHub.