Problem accessing binary image in n8n cloud

I have a node that generates an image in base64 > packaged into JSON with javascript > passed to a node that saves it.

It was successful running locally but on the n8n cloud service I seem to get a strange output for the binary data.

What is the error message (if any)?

The binary data says “filesystem” instead of containing the base64 string.

Please share your workflow


`

Information on your n8n setup

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

Hi @kimowasabiii, this is expected as n8n cloud would use the filesystem to store binary data. You could do the same locally if needed, for example if you want to reduce the memory consumption.

To get a base64-encoded string from a binary file you could for example use the Move Binary Data node with the Keep As Base64 option enabled. Here’s a quick example:

Hope this helps :slight_smile:

2 Likes

Thank you for the quick reply! Made the change and it works. :slight_smile:
Great product btw!

1 Like

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