Cannot read properties of undefined (reading 'replace') in Ai agent node tool connection

,

Describe the problem/error/question

Cannot read properties of undefined (reading ‘replace’)

Getting above error if connecting more then 1 tool in ai agent

Please share your workflow

Share the output returned by the last node

Cannot read properties of undefined (reading ‘replace’)

Information on your n8n setup

  • n8n version: 1.120.4
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: windows

Could you share screenshots of Pinecone Vector Store4 and Embeddings Azure OpenAI nodes?


Preferably on a failed execution – helps identify the issue faster.

sure.