After the agent, the memory node gives an error. It should receive the session ID, thanks to which it analyzes the correspondence with a specific user to form a response and record this response. I am sure that I correctly pass the session ID Key to the string, but no matter what I do, the error still pops up. I tried to solve the problem with AI, but without success. Please help.
Here is a link to download my workflow, the code doesn’t fit in this post workflow — Яндекс Диск
error name - Error in sub-node Postgres
Chat Memory"
Got unexpected type: undefined
Information on your n8n setup
- n8n version: 1.95.3
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): browser
- Operating system: windows 10


