Input to Code node has space in keys

I’m sure this is a simple thing that I just can’t figure out how to call the keys when they have spaces in the code node. Do I need to use the set node to remove the spaces?

config.json.CoCo Status Column doesn’t work, but I’m not sure what my options are here. Do I need to set the key to CoCoStatusColumn?

What is the error message (if any)?

Syntax Error

Share the output returned by the last node

Information on your n8n setup

  • n8n version:* .233.1
  • Running n8n via (n8n cloud):
  • Operating system:

have you already tried using brackets and quotes? That always seems to work for me.

let searchfield = config.json["CoCo Status Column"]

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.