Upload form-data from webhook to google cloud storage fails

Describe the problem/error/question

When I try to send form-data to google cloud it fails

What is the error message (if any)?

This operation expects the node’s input data to contain a binary file ‘files’, but none was found [item 0]

Make sure that the previous node outputs a binary file

Please share your workflow

Share the output returned by the last node

This operation expects the node’s input data to contain a binary file ‘files’, but none was found [item 0]

Make sure that the previous node outputs a binary file

Information on your n8n setup

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

Welcome to the community @JSBmanD !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.


Just recently I replied to the posts addressing issues with binary files. I think your use case can benefit from those answers. Please check out the following posts:

Thanks, I’ve ended up with this to work

But is there any possibility to not convert binary to text and then back to binary? I have some checks right after webhook node that are not present here so it’s impossible to send binary straight from it. But if my file will weight like 200 mb, will it work good on server with 2gb ram?

Sure, something like below should work just fine (no binary conversion used)

It should work but you have to try it out.

I’ve managed to wait for another node to receive response first and only then provide to google cloud node file with this

1 Like