i have a standard n8n memory connection to “message an assistant” node, when executing all workflow, I get " Problem in node ‘Message an assistant‘
400 Invalid ‘thread_id’: ‘undefined’. Expected an ID that begins with ‘thread’."
I have no idea how to extract and pass this thread id to the memory.
when removing the memory connection, all is working fine.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: