Bug Description
When I try to insert/read documents from mongodb atlas vector store, I am given this message
Problem in node ‘MongoDB Atlas Vector Store1‘
Error: Cannot read properties of undefined (reading 'client')
Also this could be helpful,
https://community.n8n.io/t/error-cannot-read-properties-of-undefined-reading-client/210362/3
And This
https://github.com/langchain-ai/langchainjs/issues/9269
To Reproduce
- Create new workflow
- Try to add MongoDB Atlas Vector Store
- Trigger workflow to Insert Documents
Expected behavior
I expect that my documents will be added, instead of error.
Debug Info
Debug info
core
- n8nVersion: 1.117.3
- platform: npm
- nodeJsVersion: 24.10.0
- nodeEnv: undefined
- database: sqlite
- executionMode: regular
- concurrency: -1
- license: enterprise (production)
- consumerId: 002f6f1f-8296-429a-b300-5e5e4fba5f2c
storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: memory
pruning
- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions
client
- userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/141.0.0.0 safari/537.36
- isTouchDevice: false
Generated at: 2025-10-31T11:27:57.198Z
Operating System
MacOS Tahome
n8n Version
1.117.3
Node.js Version
24.10.0
Database
SQLite (default)
Execution mode
main (default)
Hosting
self hosted