Describe the problem/error/question
OpenAI module reports error message saying it cannot access the variable from the extract HTML step. The output says the parameter is undefined however the execution history always shows a valid string for the variable. It seems to only occur if the gmail polling module finds more than one email.
What is the error message (if any)?
ERROR: Invalid expression under ‘Could not find parameter “undefined”’
The expression uses data in the node ‘Extract HTML’ but there is more than one matching item in that node
NodeApiError: Invalid expression
at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/RoutingNode.js:114:23)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:707:23)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:652:53
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 cloud
- n8n version: 1.14.2
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: