Unable to set JSON body as binary

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

I could easily attach binary in JSON body but how to make it work for n8n?

Thanks

Hi @weilies_chok

You need to make sure to select the right content type.
image

i tried any combination i could think off… still failed lol

Hi @weilies_chok

You need to put in the name of the binary not an expression.
so in this case just: “data”

1 Like

thanks! working!

but what if in future i wanted to use the “data” not in the node right after it output the binary? if i want to use the exported binary 3 nodes later?

1 Like

You will need to join it back in with a merge node.

1 Like

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