# Problem with binary data

**URL:** <https://community.n8n.io/t/problem-with-binary-data/125477>\
**Category:** Questions\
**Tags:** workflow-building, http-request, read-binary-file, binary-data\
**Created:** [June 2, 2025, 12:43pm UTC](https://community.n8n.io/t/problem-with-binary-data/125477 "2025-06-02T12:43:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mefior](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@Mefior](https://community.n8n.io/u/Mefior)\
**Post date:** [June 2, 2025, 12:43pm UTC](https://community.n8n.io/t/problem-with-binary-data/125477/1 "2025-06-02T12:43:49Z")

</div>

## Describe the problem/error/question

I have a problem with uploading data (file) to the Gemini API. Every time I get an error: "This operation expects the node’s input data to contain a binary file ‘output\_data’, but none was found [item 0] "  
I tried different approaches and nodes unfortunately, it always fails with this error.  
Below is my docker-compose file:  
- EXECUTIONS\_DATA\_PRUNE=true  
- EXECUTIONS\_DATA\_MAX\_AGE=168  
- EXECUTIONS\_DATA\_PRUNE\_MAX\_COUNT=50000  
- N8N\_DEFAULT\_BINARY\_DATA\_MODE=filesystem

Please advise what is wrong and I can’t access the upload file. Thank you!

## What is the error message (if any)?

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

## 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 ‘output\_data’, but none was found [item 0]

## Information on your n8n setup

- \*\*n8n version:_1.94.1_
- \*\*Database (default: SQLite):_SQLLite_
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- \*\*Running n8n via (Docker, npm, n8n cloud, desktop app):_docker on Oracle Cloud_
- \*\*Operating system:_Ubuntu_

---

<div class="post-metadata">

**Author:** ![King\_Samuel\_David](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/king_samuel_david/32/83690_2.png) [@King\_Samuel\_David](https://community.n8n.io/u/King_Samuel_David)\
**Post date:** [June 2, 2025, 1:23pm UTC](https://community.n8n.io/t/problem-with-binary-data/125477/2 "2025-06-02T13:23:37Z")

</div>

Hi @Mefior

When calling in your last node, it needs access to the binary node,

You can probably add a merge node from extract from file, to the last http request so it has access to the binary.

- [Trying to get binary data from Webhook after a SQL Node - #4 by MutedJam](http://community.n8n.io/t/trying-to-get-binary-data-from-webhook-after-a-sql-node/31020/4)
- [How to get binary data in the correct way? - #2 by solomon](http://community.n8n.io/t/how-to-get-binary-data-in-the-correct-way/91209/2)

Hope this helps,

Samuel

---

<div class="post-metadata">

**Author:** ![Mefior](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@Mefior](https://community.n8n.io/u/Mefior)\
**Post date:** [June 3, 2025, 12:13pm UTC](https://community.n8n.io/t/problem-with-binary-data/125477/3 "2025-06-03T12:13:03Z")

</div>

Thank you very much! @King_Samuel_David The merge node helped. Could you explain to me why I need 3 nodes to pass on the binary from the upload or webhook node? It seems reduntant to similar workflow in Make. Thank you v much in advance.

---

<div class="post-metadata">

**Author:** ![King\_Samuel\_David](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/king_samuel_david/32/83690_2.png) [@King\_Samuel\_David](https://community.n8n.io/u/King_Samuel_David)\
**Post date:** [June 3, 2025, 12:52pm UTC](https://community.n8n.io/t/problem-with-binary-data/125477/4 "2025-06-03T12:52:05Z")

</div>

@Mefior Your welcome, and I would say, n8n gives you much more customisation, things you simply cannot do in make. Iwas using make liked it, but the excessiving pricing model I didn’t like.

Asa computer science grad and being in IT for near 15+ years now, only 31,Ilearn towards n8n because I can achieve almost anything, unlike my experience with make.

So you likely don’t need all them nodes with, it just depend on how your tranforming the data. Some nodes I prefer to just use http request to call apis. So you may not need them all, but if you’d like feel free toshare what you have now, I can see if it can be optimised more if you would like.

Best regards,

Samuel

---

<div class="post-metadata">

**Author:** ![Mefior](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@Mefior](https://community.n8n.io/u/Mefior)\
**Post date:** [June 6, 2025, 11:05am UTC](https://community.n8n.io/t/problem-with-binary-data/125477/5 "2025-06-06T11:05:05Z")

</div>

Thank you v much for the help and sharing your thoughts. I also have v positive impressions regarding n8n, but to be specific, I simply don’t understand why I would need 4 nodes to pass the file that I get from the webhook? Maybe I’m missing something, or there is a certain BP regarding files and binary in n8n workflows?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [June 13, 2025, 11:05am UTC](https://community.n8n.io/t/problem-with-binary-data/125477/6 "2025-06-13T11:05:13Z")

</div>

Closed on June 13, 2025, 11:05am UTC

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