Binary file upload problem (This operation expects the node's input data to contain a binary file)

The Problem/error/question

Hey guys, i’ve been trying to find a way around this error for a while, but i just can’t figure it out. Basically i do a merge so i can get the attachments from my email and a specific name that i previously used to create a bucket folder on Cloud Storage.

With the Cloud Storage folder and the attachments, i proceed to the last node, where it should upload the attachments to the created folder.

Error message

When the last node is executed it returns the error:

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

Make sure that the previous node outputs a binary file

It’s quite weird because the merge node actually output’s all my attachments, i don’t know why it just "ignore” it on the last node.

The same problem happens if i try tu upload to google drive instead of bucket.

Workflow

  • n8n version: 1.111.0 (self-hosted)
  • Database : postgresdb
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via: Docker
  • Operating system: 22.04.5

Hey @Gustavo_Allchini hope all is well.

Try changing the merge node from append to combine or select branch if you only need values from one branch. In your case this is likely going to be combine by all possible combinarions.

Hey thanks for the assist. I actually solved the problem by putting the Split Out node after the Merge node, my Cloud Storage node was trying to upload all the files, but the Merge mode was merging them into a single data.

With de Split Out node being after the merge, it correctly upload’s all my data one by one with no error’s. Thanks again.

1 Like

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