Expressions common issues
Documentation for common issues and questions related to expressions in n8n, a workflow automation platform. Includes details of the issue and suggested solutions.
Expressions common issues
Here are some common errors and issues related to expressions and steps to resolve or troubleshoot them.
The 'JSON Output' in item 0 contains invalid JSON
This error occurs when you use JSON mode but don't provide a valid JSON object. Depending on the problem with the JSON object, the error sometimes display as The 'JSON Output' in item 0 does not contain a valid JSON object.
To resolve this, make sure that the code you provide is valid JSON:
- Check the JSON with a JSON validator.
- Check that your JSON object doesn't reference undefined input data. This may occur if the incoming data doesn't always include the same fields.
