// guides · n8n error index

n8n Extract From File (CSV) not working: delimiter, BOM, encoding and errors, 32 runs

Fix n8n Extract From File: CSV read as one column, BOM keys like "\ufeffname", broken accents, "Invalid Opening Quote", "Invalid Record Length", "has no binary field 'data'", XLSX and JSON pitfalls. 32 real runs on n8n 2.43.7.

Updated 2026-10-24 · about 10 minutes

Still stuck after these steps? Paste your exact n8n error and we'll reproduce it and email you the fix, free →

Steps

  1. One column with semicolons? Set the delimiter

    A file using ; did not fail. It gave 2 items with a single key name;amount;city and the value Ana;120;Paris, and the run showed success. Set Options > Delimiter to ; and the 3 keys came back. For tab-separated files, typing \t did not work: n8n used the two characters backslash and t, and the row stayed one key name\tamount. Paste a real tab character into the Delimiter field instead; that fixed it.

  2. 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, not name. It looks identical in the output, yet {{ $json.name }} returned undefined. Turn on Options > Exclude Byte Order Mark (BOM): the key became name. 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 \ufeffname too.

  3. Broken accents? Set the encoding

    A Latin-1 file with Zoé and Besançon came out as Zo� and Besan�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.

  4. 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 with Invalid 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 with Invalid Record Length: columns length is 3, got 2 on line 2 on 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.

  5. Fix "has no binary field 'data'" and "none was found"

    The node reads the file from the binary field named in Input Binary Field (data by default). When the file was stored as file, it failed with The item has no binary field 'data' [item 0]: type the real field name (an IMAP Email Trigger, for example, names attachments attachment_0). When the CSV was only text in a JSON field, with no file at all, it failed with This 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 with Provided parameter is not a string or binary data object.: the field expects the field name as text.

  6. 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 with Invalid 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 with Spreadsheet does not contain sheet called "Orders"!; the file made by Convert to File had a sheet called Sheet. A plus for XLSX: numbers stayed numbers (120) after the round trip.

  7. 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 field data to get one item per element. Invalid JSON (a trailing comma) failed with Expected double-quoted property name in JSON at position 7 (line 1 column 8). Extract From Text File gives the whole file as one string in data.

  8. Expect text values, missing keys and silent empty files

    CSV values are always text: amount came 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 under row with 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.

SetupResult
Default CSV (name,amount,city)2 items; every value is text, e.g. "120"
Semicolon file, default delimiterNo error: 2 items with ONE key name;amount;city = Ana;120;Paris
Same, Delimiter ;Fixed: 3 proper keys
Header Row off3 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 dataThe item has no binary field 'data' [item 0]
UTF-8 file with a BOMNo error, but the first key is \ufeffname: looks like name, yet $json.name is undefined
Same, Exclude Byte Order Mark (BOM) onFixed: key name
Empty file0 items, run shows success, next node never runs
Header-only file0 items, run shows success, next node never runs
Quoted "hello, world" and a multi-line quoted cellParsed 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 on2 items, quotes kept in the value
Rows with 2 and 4 columns, Extract From File v1.1Invalid Record Length: columns length is 3, got 2 on line 2
Same file, Extract From File v1No error, 0 items, run shows success: the parser error is swallowed
Latin-1 file (Zoé, Besançon), default encodingZo�, Besan�on: broken accents, no error
Same, Encoding Latin1Fixed
Title line before the header, Starting Line 2, Max Number of Rows to Load 1Header read from line 2, 1 row (Ana)
2 input items, each with its own CSV3 items in one list: rows of both files merged, no per-file grouping
CSV as text in $json.csv, no binaryThis 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 arrayONE 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 FileOne item {data: "hello\nworld"}
Convert to File XLSX, then Extract From XLSXRound trip OK; numbers stay numbers (120), unlike CSV
XLSX file with the Extract From CSV operationThe 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 operationInvalid Opening Quote: a quote is found on field 0 at line 1, value is "[{"
Empty cell (Ana,,Paris), default optionsKey amount missing entirely (Include Empty Cells is off by default)
Nested JSON, Convert to File CSV, then Extract From CSVConvert 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 delimiterFixed
Spaces around values, CRLF line endingsSpaces 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

Good to know

What we didn't test

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

New guides

Still stuck on your n8n error?

Paste the exact error and say what the workflow should do. We reproduce it on a real n8n install and email you the fix or a working workflow, usually within 24h. Free while we're in beta.

We'll only email you about your error and TaskToAgent.