Hi everyone!
I recently updated to n8n 2.3.4 using the official Docker image, and now none of the AI Agent tools are working.
When I try to use any tool (like PostgresTool, HTTP Tool, CalculatorTool, etc), I get this error: Unrecognized node type: n8n-nodes-base.postgresTool
The tools show up in the UI when I add them to an Agent, but when the Agent tries to run them, the workflow fails.
I didn’t change anything in the n8n settings or customize any nodes. Everything worked before the update.
Is this a known issue in version 2.3.4?
Do I need to install or enable something else to make tool nodes work?
Thank you in advance!
Here’s the workflow, if I delete the tool from it, everything works, it works the same way if I don’t access $node[“Data1”].json the previous node in the Data3 node
{
“nodes”: [
{
“parameters”: {},
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
-1152,
-96
],
“id”: “e50c770b-b027-4e93-95f9-7fcf56db29b9”,
“name”: “When clicking ‘Execute workflow’”
},
{
“parameters”: {
“jsCode”: “return [\n {\n json:{\n product:“test product”,\n sku:“test sku”\n }\n }\n]”
},
“type”: “n8n-nodes-base.code”,
“typeVersion”: 2,
“position”: [
-976,
-96
],
“id”: “04668ad2-fa91-46c4-b192-d918cc7848b3”,
“name”: “Data1”
},
{
“parameters”: {
“jsCode”: “return [\n {\n json:{\n product:“test product”,\n sku:“test sku”\n }\n }\n]”
},
“type”: “n8n-nodes-base.code”,
“typeVersion”: 2,
“position”: [
-784,
-96
],
“id”: “0d906cae-eda0-468c-ab09-6e7a761e3a20”,
“name”: “Data2”
},
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 3.1,
“position”: [
-192,
-80
],
“id”: “61e989b0-56be-4415-b681-fcfc696c6e12”,
“name”: “AI Agent”
},
{
“parameters”: {
“jsCode”: “return [\n {\n json: $node[“Data1”].json\n }\n]”
},
“type”: “n8n-nodes-base.code”,
“typeVersion”: 2,
“position”: [
-576,
-96
],
“id”: “9d4bd4d2-af70-433a-8cc9-c343b8b32e48”,
“name”: “Data3”
},
{
“parameters”: {
“options”: {}
},
“type”: “n8n-nodes-base.httpRequestTool”,
“typeVersion”: 4.3,
“position”: [
-48,
128
],
“id”: “0cb189ce-0085-4dc5-bcd7-4ebc3ba556a3”,
“name”: “HTTP Request”
}
],
“connections”: {
“When clicking ‘Execute workflow’”: {
“main”: [
[
{
“node”: “Data1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Data1”: {
“main”: [
[
{
“node”: “Data2”,
“type”: “main”,
“index”: 0
}
]
]
},
“Data2”: {
“main”: [
[
{
“node”: “Data3”,
“type”: “main”,
“index”: 0
}
]
]
},
“HTTP Request”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “727537f91e10d68b01bd855c72e6124591f3cde3ca211624cfe40bf4d03f9223”
}
}