File Upload Question

Hey, I am stumped by what I expected to be a simple operation and looking for some help. I created a n8n form to simply upload a csv file. Then, attached that node to an extract from csv node expecting to be able to parse the csv rows. But I get “This operation expects the node’s input data to contain a binary file ‘file’, but none was found [item 0]”

I can’t seem to get the rows extracted when I upload the file in this way. Any suggestions?

Information on your n8n setup

instance information

Debug info

core

  • n8nVersion: 1.83.2
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.3
  • database: postgres
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/134.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-04-07T14:56:23.153Z

1 Like

Hi @Andrew_Learned,

Here’s how I do it. I bring it in as a read/write from disk. Then use a code block to parse it.

Best,

Robert

1 Like

hello @Andrew_Learned, Welcome to n8n :n8n: community :tada:

In your screenshot, I don’t see the binary file on the left, which explains the output error.

By the way, here’s a simple workflow for reference:

2 Likes

Oh, that’s simple too!

Though, I just realized my error. Basically, pinning the result of a form submission doesn’t keep the file-data stored. So, I needed to run it in real time, then pin the result to keep working on the flow…

Thanks for the assist though @rbreen!

2 Likes

@Andrew_Learned
Glad it helped you!

1 Like

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