Unable to read a binary file, no data is returned

I am struggling with even the most basic variant to read a binary file.

I started n8n with Docker compose and made the simplest flow:

However, even this fails with an empty output.

I copied mv.png to /tmp in the n8n Docker container and made sure the permissions are world-readable.

What am I missing?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
  • n8n version: 1.72.1
  • Database: Postgres
  • EXECUTION_PROICESS: ?
  • Running via Docker-Compose
  • OS macOS

Welcome to the community @Jens_Rabe !

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.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


I have run test on 1.72.1 and it works fine for me. You are using /tmp folder. It is meant to temporary location.

Could you try either Execute Command node or Docker itself to make sure the file is present before trying to access it with Read Files from Disk?

I actually got this to work. Instead of a PDF, I tried with a text file with no problem. It had to do with my PDF. Since I am trying to link up Paperless NGX, I pull the documents with the REST API now.

1 Like

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