Blank File uploaded from Convert to CSV

Describe the problem/error/question

A blank file is uploaded to my SFTP server

What is the error message (if any)?

No error

Please share your workflow

Share the output returned by the last node

No utput

Information on your n8n setup

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

@Ethan_Fox , you placed nodes separately which doesn’t help to understand what the actual workflow is. Do you have something like this?

  • What is the output of Code node?
  • What is the output of “Convert to CSV File” node? Did it produce the binary file?

Note that the output of Code node should be something like below in order for “Convert to CSV File” node to produce a proper CSV file.

[
  {
    "column1": "value1",
    "column2": "value2"
  },
  {
    "column1": "value3",
    "column2": "value4"
  }
]
1 Like