Describe the problem/error/question
I am geting a generic error every time I use a specific tool agent. It seems that the error is caused by an input on a specific tool, but I have already tried changing and better defining the input. The weird thing is that the error happens on random times and not in all executions.
What is the error message (if any)?
{
“errorMessage”: “Internal error”,
“errorDetails”: {},
“n8nDetails”: {
“n8nVersion”: “1.53.2 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“Error: Received tool input did not match expected schema”,
" at DynamicStructuredTool.call (/usr/local/lib/node_modules/n8n/node_modules/@langchain/core/dist/tools/index.cjs:88:19)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at /usr/local/lib/node_modules/n8n/node_modules/langchain/dist/agents/executor.cjs:479:27",
" at async Promise.all (index 0)“,
" at AgentExecutor._call (/usr/local/lib/node_modules/n8n/node_modules/langchain/dist/agents/executor.cjs:471:30)”,
" at AgentExecutor.invoke (/usr/local/lib/node_modules/n8n/node_modules/langchain/dist/chains/base.cjs:58:28)“,
" at Object.toolsAgentExecute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/agents/Agent/agents/ToolsAgent/execute.js:144:30)”,
" at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/agents/Agent/Agent.node.js:349:20)“,
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:19)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1086:20"
]
}
}
Information on your n8n setup
- n8n version: 1.53.2
- **Running n8n via n8n cloud
- Operating system: windows