Json object problems

I’m making a call to http request

following Update a box
I created

which I copied into n8n

this specifically gave me the node that works

so I want

My input is


it looks like exactly what is required but instead {{ $json.fields }} returns
[Object: {“1014”: 25, “1019”: true}]

so I ended up with a mangled
{ “fields”: {{ JSON.stringify($json.fields) }} }

it feels very wrong. Is there a better way

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hello @bally

Usually, you have to convert the JSON object into a string before sending it to the server. That’s why you need the stringify method.