Error saving to a html file one html code

Describe the issue/error/question

I want to extract the html from one received email and save it as html file in my computer. To testing I have done the workflow of below. But I have problems to saving in my computer. I suppose that it is something with the path but I have not idea. I have access to this path.

Any help will be welcome.
Thank you very much for your time and help!

What is the error message (if any)?

There was a problem executing the workflow:
“EISDIR: illegal operation on a directory, open ‘/Users/interacso/Documents/PROJECTS/EXQUISITE FRUITS/PEDIDOS DE VENTA’”

Please share the workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.182.0
  • **Database you’re using (default: SQLite):**N/A
  • **Running n8n with the execution process [own(default), main]:**own
  • **Running n8n via [Docker, npm,, desktop app]:**

Hi @franchogarcia, this sounds like the n8n desktop app isn’t allowed to write to the path in question. I don’t have a Mac so won’t be able to test this myself unfortunately :frowning:

Are you perhaps running the application as a different user?

Hello @MutedJam,

I have tried to run with different user in the MAC but the error is the same :frowning:
Also I have tried in a Windows. But I can start session with the correct email and password. I have no idea about why
And I am pretty sure that the email and password are correct and caps lock off.
Besides I have tried to recover password on Windows but it is appearing the next message:

Hi @franchogarcia, can you try resetting your Windows desktop app password as suggested here (you might need to update to the latest version of the desktop app if this option isn’t available)? This shouldn’t require any email to be set up.

Resolved the first problem jejeje I am dumb sorry. The field “filename” for the “Write Binary File1” had the value “/Users/interacso/Documents/PROJECTS/EXQUISITE FRUITS/PEDIDOS DE VENTA” instead the real path with the filename: “/Users/interacso/Documents/PROJECTS/EXQUISITE FRUITS/PEDIDOS DE VENTA/prueba.html” That’s all.
But now I have other problem…the output of “Write Binary File” is an object:
Instead of the html file that I need. How can I fix it that?

1 Like

Ahh, glad to hear it was just something like that :smiley:

As for not storing the entire JSON object, can you try and disable the Convert All Data option and enable the Use Raw Data option like so?

1 Like

Thank you very much @MutedJam!!!
As always your support is appreciated and valorated!! you are the best!
Thank you for your time and support.

1 Like

Glad to hear this works, thanks so much :blush:

1 Like