I can’t get any variable before the node code
ERROR: Can’t get data for expression under ‘Body Parameters > Parameter’ field
To fetch the data from other nodes that this expression needs, more information is needed from the node ‘JSON to CSV | Otimizado’ More info
My Workflow:
The output returned by the last node
Missing pairedItem data (node ‘JSON to CSV | Otimizado’ probably didn’t supply it)
[{“name”:“phone”,“value”:“={{ $(‘Supabase’).item.json["phone"] }}”},{“name”:“message”,“value”:“={{ $json.choices[0].message.content }}”}]
ExpressionError: Can’t get data for expression
at createExpressionError (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:465:20)
at getPairedItem (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:517:27)
at pairedItemMethod (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:734:40)
at Object.get (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:737:40)
at Proxy.eval (eval at getFunction (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/index.js:24:22), <anonymous>:6:55)
at Tournament.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/index.js:33:19)
at evaluateExpression (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/ExpressionEvaluatorProxy.js:110:16)
at Expression.renderExpression (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:217:70)
at Expression.resolveSimpleParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:195:34)
at resolveParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:276:25)
Information on your n8n setup
- n8n version: 1.17.1
- Database (default: SQLite): Supabase PostreSQL
- n8n EXECUTIONS_PROCESS setting: Main
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Debian 11