How do you deal with a large output file?

Describe the problem/error/question

I’m currently converting a file from binary to JSON, to send it to bubble, however, when, I convert the file the error is that the file is too big, I’ve tried to compress the file however, but this does not work.

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hi @Jamaal, the indicator on your screenshot is just a warning, not an error. Some browser will struggle to render a text of this size, but if you nevertheless want to give it a go you can simply click on “Show data anyway”.

That said, it would be highly unusual to convert an mp3 file in the way shown on your screenshot. You’d usually want to use base64 encoding to keep binary data in a string field. Using n8n’s Move Binary Data node, this could be done using the “Keep As Base64” option like so:

Workflow:

Hope this helps!

5 Likes

Btw. as @MutedJam pointed out, is it only about displaying the data. And for that, new versions of n8n also have a button to download the JSON. Meaning if you have to see the content, and you do not want to risk displaying it (as it could cause problems with your browser) you can also download it and look at the content there.

4 Likes

Thanks for your help, it worked!

1 Like

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