Issue with Workflow Execution in Production Mode on n8n
Could not get parameter
Hello everyone,
I’m encountering an issue with my n8n workflow that functions perfectly in debug mode but fails in production mode. The issue arises with the “Basic LLM Chain” node, where I use the expression {{ $('Loop_over_topics').item.json.topic }} to pass data. In debug mode, it works as expected, but in production mode, I receive an error “Could not get parameter”.
Furthermore, in production mode, the expression automatically changes to {{ $json.chatInput }}, which seems to be causing the issue. This unexpected change in expression only occurs in production mode, and I’m at a loss as to why this is happening or how to resolve it. Has anyone else experienced a similar issue? Are there known differences in how expressions are handled between debug and production modes on n8n that might be causing this problem?
Any help or advice would be greatly appreciated.
Thank you in advance!
Information on your n8n setup
- n8n version: 1.25.1
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system:
