n8n · AI Agent node
Error in sub-node Simple Memory
Short answer
This n8n AI Agent error displays when n8n runs into an issue with the Simple Memory sub-node, most often an older version of the node. Remove the Simple Memory node from your workflow and add it again, so that you use the latest version of the node.
VerifiedLast verified
01Error text
Error in sub-node Simple Memory02Likely causes
- The workflow, or the workflow template you copied, uses an older version of the Simple Memory node (previously known as Window Buffer Memory).
03How to fix it
- Remove the Simple Memory node from your workflow and add it again, so that you use the latest version of the node.
04Official documentation
→Related errors
- Internal error: 400 Invalid value for 'content'This n8n AI Agent error can occur if the Prompt input contains a null value. Make sure your expressions reference valid fields and resolve to valid input rather than null.
- A Chat Model sub-node must be connectedThis n8n AI Agent error displays when n8n tries to execute the node without a Chat Model connected. Click the + Chat Model button at the bottom of the screen when the node is open, or the Chat Model + connector when the node is closed, and pick a Chat Model.
- No prompt specifiedThis n8n AI Agent error occurs when the agent expects to get the prompt from the previous node automatically. Find the Prompt parameter of the AI Agent node and change it from Connected Chat Trigger Node to Define below, then build the prompt manually.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for n8n work:Open n8n jobsn8n rates and salaries