‘internal variable ‘!COL2’ not supported’

Could anybody advise on this code, please? What I’m trying to do is read one line at a time from the CSV file and echo it back. However, I keep getting an ‘internal variable ‘!COL2’ not supported’ error. Is there something glaringly obvious I’m missing?
{
“Name”: “test555”,
“CreationDate”: “2023-10-14”,
“Commands”: [
{
“Command”: “store”,
“Target”: “fast”,
“Value”: “!replayspeed”,
“Description”: “”
},
{
“Command”: “comment”,
“Target”: “Read the CSV file”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “csvRead”,
“Target”: “data.csv”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “comment”,
“Target”: “Echo each column in turn”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “return ${!COL1}”,
“Value”: “col1”,
“Description”: “”
},
{
“Command”: “echo”,
“Target”: “Column 1: ${col1}”,
“Value”: “green”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “return ${!COL2}”,
“Value”: “col2”,
“Description”: “”
},
{
“Command”: “echo”,
“Target”: “Column 2: ${col2}”,
“Value”: “blue”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “return ${!COL3}”,
“Value”: “col3”,
“Description”: “”
},
{
“Command”: “echo”,
“Target”: “Column 3: ${col3}”,
“Value”: “red”,
“Description”: “”
}
]
}

{
      "Command": "store",
      "Target": "fast",
      "Value": "!replayspeed",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "Read the CSV file",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "csvRead",
      "Target": "data.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "Echo each column in turn",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "Column 1: ${!col1}",
      "Value": "green",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "Column 2: ${!col2}",
      "Value": "blue",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "Column 3: ${!col3}",
      "Value": "red",
      "Description": ""
    }