I'm attempting to retrieve JSON data from our backend, which contains a list of doctors from our platform. The node is failing with the error "Received tool input did not match expected schema" without any further details. It's a straightforward unauthenticated GET request (I've copied an example output to pastebin if you'd like to test it).
Any insights?
Workflow
Last node output
Item Index
0
Node type
@n8n/n8n-nodes-langchain.openAi
Node version
1.5 (Latest)
n8n version
1.61.0 (Self Hosted)
Time
4/10/2024, 17:57:58
Stack trace
NodeOperationError: Received tool input did not match expected schema at Object.router (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/vendors/OpenAi/actions/router.js:86:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/vendors/OpenAi/OpenAi.node.js:16:16) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:722:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:711:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1141:20
- n8n version: latest (1.61.0)
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, callin.io cloud, desktop app): docker
- Operating system: linux (ubuntu 22)
Update: This issue is specific to the OpenAI block. The AI Agent block does not exhibit this problem.
Hi there!
Thanks for posting and welcome to the community!
This sounds like a bug! Thanks so much for reporting.
Will post here when it's fixed.
If you require further details for debugging, please inform me. The problem does not occur when utilizing the AI Agent block, with identical HTTP requests and logic.
Same here, callin.io seems not able to infer schema and tools call does not include parameters? Where can we control the tools call / function interface between AI Agent and a workflow tool?
A new version, callin.io@1.64.0
, has been released, incorporating GitHub PR 11201.
This thread was automatically closed 7 days following the last response. New replies are no longer permitted.