Steps
One column with semicolons? Set the delimiter
A file using
;did not fail. It gave 2 items with a single keyname;amount;cityand the valueAna;120;Paris, and the run showed success. Set Options > Delimiter to;and the 3 keys came back. For tab-separated files, typing\tdid not work: n8n used the two characters backslash and t, and the row stayed one keyname\tamount. Paste a real tab character into the Delimiter field instead; that fixed it.First column undefined? Strip the BOM
A UTF-8 file that starts with a byte order mark (BOM) parsed without error, but the first key was
\ufeffname, notname. It looks identical in the output, yet{{ $json.name }}returned undefined. Turn on Options > Exclude Byte Order Mark (BOM): the key becamename. Watch out in round trips: a CSV made by n8n's own Convert to File (CSV) also started with a BOM, so reading it back gave\ufeffnametoo.Broken accents? Set the encoding
A Latin-1 file with
ZoéandBesançoncame out asZo�andBesan�on, with no error, because the node reads UTF-8 by default. Set Options > Encoding to Latin1 (or whatever the file really uses) and the accents were correct.Fix "Invalid Opening Quote" and "Invalid Record Length"
Properly quoted cells were fine:
"hello, world"stayed one value, and a quoted cell with a line break inside stayed one cell. An unescaped quote in the middle of a field (say "hi" now) stopped the run withInvalid Opening Quote: a quote is found on field "note" at line 2, value is "say ". Turning on Options > Preserve Quotes parsed it and kept the quotes in the value. Rows with a different number of columns failed withInvalid Record Length: columns length is 3, got 2 on line 2on Extract From File v1.1. The older v1 of the node returned 0 items with no error for the same file, so if an old workflow silently outputs nothing, re-add the node to get the current version and see the real error.Fix "has no binary field 'data'" and "none was found"
The node reads the file from the binary field named in Input Binary Field (
databy default). When the file was stored asfile, it failed withThe item has no binary field 'data' [item 0]: type the real field name (an IMAP Email Trigger, for example, names attachmentsattachment_0). When the CSV was only text in a JSON field, with no file at all, it failed withThis operation expects the node's input data to contain a binary file 'data', but none was found [item 0]: create a file first (Convert to File) or parse the text in a Code node. An expression in Input Binary Field that evaluated to the number 0 failed withProvided parameter is not a string or binary data object.: the field expects the field name as text.Pick the operation that matches the file
An XLSX file read with Extract From CSV failed with
The file selected in 'Input Binary Field' is not in csv format, and a JSON file read as CSV failed withInvalid Opening Quote: a quote is found on field 0 at line 1, value is "[{". Use Extract From XLSX or Extract From JSON instead. For XLSX, a Sheet Name that is not in the file fails withSpreadsheet does not contain sheet called "Orders"!; the file made by Convert to File had a sheet calledSheet. A plus for XLSX: numbers stayed numbers (120) after the round trip.JSON array gives one item? Split it
Extract From JSON on a file holding
[{"a":1},{"a":2}]returned ONE item,{data: [...]}, not 2 items. Add a Split Out node on the fielddatato get one item per element. Invalid JSON (a trailing comma) failed withExpected double-quoted property name in JSON at position 7 (line 1 column 8). Extract From Text File gives the whole file as one string indata.Expect text values, missing keys and silent empty files
CSV values are always text:
amountcame out as"120", so convert it (for example{{ $json.amount.toNumber() }}) before comparing numbers. Spaces around values were kept, in keys too:" amount "=" 120 ", so trim them. An empty cell removed the key entirely with the default options (Include Empty Cells is off). An empty file and a header-only file both gave 0 items with a green run, and the next node never ran. With Header Row off, the header became a data row and the values sat underrowwith keys"0","1","2".
What we ran
On 24 October 2026 we ran 32 executions on n8n 2.43.7 with n8n execute: a Manual Trigger, a Code node that put a small file into the binary field data (sometimes through Convert to File v1.1 for XLSX and CSV), Extract From File v1.1 (one run on v1), and a No Op node after it. The base CSV was name,amount,city / Ana,120,Paris / Bo,40,Lyon.
| Setup | Result |
|---|---|
Default CSV (name,amount,city) | 2 items; every value is text, e.g. "120" |
| Semicolon file, default delimiter | No error: 2 items with ONE key name;amount;city = Ana;120;Paris |
Same, Delimiter ; | Fixed: 3 proper keys |
| Header Row off | 3 items like {row: {"0": "name", "1": "amount", "2": "city"}}: the header becomes a data row, keys under row |
File stored in binary field file, node reads data | The item has no binary field 'data' [item 0] |
| UTF-8 file with a BOM | No error, but the first key is \ufeffname: looks like name, yet $json.name is undefined |
| Same, Exclude Byte Order Mark (BOM) on | Fixed: key name |
| Empty file | 0 items, run shows success, next node never runs |
| Header-only file | 0 items, run shows success, next node never runs |
Quoted "hello, world" and a multi-line quoted cell | Parsed correctly |
Unescaped quote mid-field (say "hi" now) | Invalid Opening Quote: a quote is found on field "note" at line 2, value is "say " |
| Same, Preserve Quotes on | 2 items, quotes kept in the value |
| Rows with 2 and 4 columns, Extract From File v1.1 | Invalid Record Length: columns length is 3, got 2 on line 2 |
| Same file, Extract From File v1 | No error, 0 items, run shows success: the parser error is swallowed |
Latin-1 file (Zoé, Besançon), default encoding | Zo�, Besan�on: broken accents, no error |
| Same, Encoding Latin1 | Fixed |
| Title line before the header, Starting Line 2, Max Number of Rows to Load 1 | Header read from line 2, 1 row (Ana) |
| 2 input items, each with its own CSV | 3 items in one list: rows of both files merged, no per-file grouping |
CSV as text in $json.csv, no binary | This operation expects the node's input data to contain a binary file 'data', but none was found [item 0] |
| Extract From JSON on a file holding an array | ONE item {data: [{a:1},{a:2}]}, not 2 items |
| Extract From JSON on invalid JSON (trailing comma) | Expected double-quoted property name in JSON at position 7 (line 1 column 8) |
| Extract From Text File | One item {data: "hello\nworld"} |
| Convert to File XLSX, then Extract From XLSX | Round trip OK; numbers stay numbers (120), unlike CSV |
| XLSX file with the Extract From CSV operation | The file selected in 'Input Binary Field' is not in csv format ("Try to change the operation") |
XLSX, Sheet Name Orders (the file's sheet is Sheet) | Spreadsheet does not contain sheet called "Orders"! |
| JSON file with the Extract From CSV operation | Invalid Opening Quote: a quote is found on field 0 at line 1, value is "[{" |
Empty cell (Ana,,Paris), default options | Key amount missing entirely (Include Empty Cells is off by default) |
| Nested JSON, Convert to File CSV, then Extract From CSV | Convert to File wrote a BOM (first key \ufeffname) and flattened to tags.0, tags.1, addr.city |
Delimiter typed as \t (backslash and t) | Not a tab: 1 key name\tamount |
| Real tab character pasted as delimiter | Fixed |
| Spaces around values, CRLF line endings | Spaces kept in keys and values: " amount " = " 120 " |
Input Binary Field = {{ $json.i }} (evaluates to 0) | Provided parameter is not a string or binary data object. |
Quick checklist
- One key full of semicolons? Set the Delimiter (paste a real tab for TSV).
$json.nameundefined although you can see it? Turn on Exclude Byte Order Mark (BOM).- Odd characters instead of accents? Set Encoding.
- Quote or column-count error? Fix the file, or turn on Preserve Quotes for stray quotes.
- No binary field? Check the Input Binary Field name against the previous node's output.
- 0 items and a green run? The file is empty or header-only, or an old v1 node hid a parser error.
- Numbers compare wrongly? CSV gives text; convert them, or read XLSX instead.
Good to know
- File sent to a Webhook and the next node finds nothing? The binary key is the form field name (
file,file0), notdata: see n8n Webhook file upload and binary data (25 tested requests). - CSV inside a zip? After Decompress the file is in
file_0, notdata: n8n Compression node not working. - Writing the CSV in n8n? Convert to File puts a BOM in every CSV, flattens nested data into dot columns and wrote a big number as 1.23457E+19: see n8n Convert to File not working.
- Renaming the parsed columns? Rename Keys silently skips a key with a BOM, a different case or a trailing space: n8n Rename Keys node not working.
- Turning CSV date text like 24/10/2026 into real dates? See n8n Date & Time node not working.
- XML files: use Extract From File with Extract From XML, then the XML node. Errors and odd output are in n8n XML node not working.
- Skip the first lines: with a title line before the header, Starting Line 2 read the header from line 2, and Max Number of Rows to Load 1 returned only the first data row.
- Several files in, one list out: 2 input items, each with its own CSV, gave 3 items in one flat list, with nothing saying which file a row came from. Process files one at a time if you need to tell them apart.
- Nested data: Convert to File (CSV) flattened
tagsandaddrinto columnstags.0,tags.1andaddr.city. - File missing before this node? See n8n binary data not found. CSV attachments from email: Email Trigger (IMAP) attachments. Splitting arrays into items: Split Out, Aggregate and Summarize. Next node not running: next node not running.
- Every error message we reproduced is in the n8n error message index.
What we didn't test
- The editor UI itself (we ran workflows from JSON), n8n Cloud, the Skip Records With Errors option, Include Empty Cells turned on, other formats (ODS, PDF, HTML, iCal), and large files.
Start from a working agent
FAQ
Why does n8n Extract From File put my whole CSV row in one column?
The file uses another separator, usually a semicolon. n8n reads commas by default and does not raise an error; set Options > Delimiter to ; (or paste a real tab character for TSV files).
Why is $json.name undefined after Extract From File when I can see the name column?
The file starts with a byte order mark (BOM), so the first key is really "\ufeffname". Turn on Exclude Byte Order Mark (BOM) in the node options. CSV files made by n8n's Convert to File had a BOM too in our test.
What does 'The item has no binary field data' mean in n8n Extract From File?
The node looks for the file in the binary field named in Input Binary Field (data by default), and the incoming item stores it under another name, or has no file at all. Use the exact field name from the previous node's output, such as attachment_0 after an IMAP Email Trigger.
How do I fix 'Invalid Opening Quote' in n8n Extract From File?
A field contains a quote that isn't escaped, like say "hi" now. Turn on Options > Preserve Quotes to parse it and keep the quotes, or fix the file. The same error with value "[{" means you are reading a JSON file with the CSV operation.
Why does n8n Extract From JSON return one item instead of many?
A JSON array comes back as one item with the array in the data field. Add a Split Out node on data to get one item per element.
Related guides
- n8n Convert to File not working: empty CSV, lost fields and broken base64, 38 runs
- n8n Compression node not working: zip, unzip, file_0 and invalid zip data, 42 runs
- n8n HTML Extract not working: empty values, selectors and errors, 32 runs
- n8n XML node not working: parse errors, one item vs array, attributes and Split Out, 39 runs
- n8n GraphQL node not working: variables, errors, 401, 34 runs
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes