AI Agent node common issues#
Here are some common errors and issues with the AI Agent node and steps to resolve or troubleshoot them.
Internal error: 400 Invalid value for 'content'#
A full error message might look like this:
1 2 3 |
|
This error can occur if the Prompt input contains a null value.
You might see this in one of two scenarios:
- When you've set the Prompt to Define below and have an expression in your Text that isn't generating a value.
- To resolve, make sure your expressions reference valid fields and that they resolve to valid input rather than null.
- When you've set the Prompt to Take from previous node automatically and the incoming data has null values.
- To resolve, remove any null values from the
chatInput
field of the input node.
- To resolve, remove any null values from the
Error in sub-node Window Buffer Memory#
This error displays when n8n runs into an issue with the Window Buffer Memory sub-node.
It most often occurs when your workflow or the workflow template you copied uses an older version of the Window Buffer Memory node.
Try removing the Window Buffer Memory node from your workflow and re-adding it, which will guarantee you're using the latest version of the node.