I am trying to edit an image using OpenAI. So, for that, I am sending an image in binary format with the use of the HTTP Request node

I am sending the Binary file completely, But It gives me an error every time.

.

But every time, I got an error like source. on is not function. It would be good If someone could help me with this.


select parameter type as n8n Binary file

1 Like

Thanks for the reply, but it’s still not working if I select the “n8n Binary file” option. even you can see on my screenshot preview work perfect of binary file and got another error.

Hi @Ankit_Jasoliya,
Just write the name of the binary file image

If that doesn’t work, try {{ $binary.image }}

you have to add the binary file name from previous output not {{ $binary. Image }}

in your case just data,image