Invalid expression from drag and drop

Describe the problem/error/question

If I use drag and drop to place a value from a previous node into an expression field, I get invalid expression error. This is specifically in the “Get Sparkline Data” node, where I am trying to use the output value from the “Execute Workflow (Get M2M Token)” node.

What is the error message (if any)?

[ERROR: Invalid expression]

Please share your workflow

Share the output returned by the last node

N/A

Information on your n8n setup

  • n8n version: 0.230.3 (Appreciate this is a very old version, but for various reasons I cannot upgrade currently)
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu

hello @Jonathan_Nathanson

Change the item.json part to last().json as the item pairing is broken due to the split out nodes and you can’t refer to it.