# CSV without Header issue

**URL:** <https://community.n8n.io/t/csv-without-header-issue/44679>\
**Category:** Questions\
**Tags:** data-transformation\
**Created:** [April 19, 2024, 4:16pm UTC](https://community.n8n.io/t/csv-without-header-issue/44679 "2024-04-19T16:16:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![userf24](https://avatars.discourse-cdn.com/v4/letter/u/e274bd/32.png) [@userf24](https://community.n8n.io/u/userf24)\
**Post date:** [April 19, 2024, 4:16pm UTC](https://community.n8n.io/t/csv-without-header-issue/44679/1 "2024-04-19T16:16:10Z")

</div>

Hi,

I have a strange issue with loading a CSV without Header from FTP and trying to work with it.

when im trying to read the file with spreadsheet note and deselect “header row” im getting following output

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/1/a/1a46a8ce20767140a412f436ac4b568aa674bd21.png)

if i set header to true, im getting the proper table

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/9/c/9c57e3b754a486e17a910cb616ef00abfe908c64.png)

CSV content is nothing special

```auto
A2092RWRLA;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897896;75; ; ;
A2092RWRMD;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897902;63; ; ;
A2092RWRSM;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897919; ;29/04/2024;5;
A2092RWRXL;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897926;13; ; ;
A2092RWRXS;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897933;2; ; ;
A2092SNRLA;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897940;112; ; ;
A2092SNRMD;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897957;73; ; ;
A2092SNRSM;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897964;21; ; ;
A2092SNRXL;SPIKE 29 SH ALTUS 16V XCT HLO;8413616897971;29; ; ;
A2092VYNLA;SPIKE 29 SH ALTUS 16V XCT HLO;8413616896004;46; ; ;
A2092VYNMD;SPIKE 29 SH ALTUS 16V XCT HLO;8413616896011;103; ; ;
A2092VYNSM;SPIKE 29 SH ALTUS 16V XCT HLO;8413616896028;46; ; ;
A2092VYNXL;SPIKE 29 SH ALTUS 16V XCT HLO;8413616896035;28; ; ;
A2592RWRLA;SPIKE 29 DEORE 10V XCM REMOTE;8413616895953;71; ; ;

```

nodes also nothing special:

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/8/f/8f9e326384b3e04c6ff9ede949b03786d9380bb1.png)

## Information on your n8n setup

- **n8n version: 1.36.1**

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [April 19, 2024, 4:16pm UTC](https://community.n8n.io/t/csv-without-header-issue/44679/2 "2024-04-19T16:16:11Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![userf24](https://avatars.discourse-cdn.com/v4/letter/u/e274bd/32.png) [@userf24](https://community.n8n.io/u/userf24)\
**Post date:** [April 19, 2024, 5:04pm UTC](https://community.n8n.io/t/csv-without-header-issue/44679/4 "2024-04-19T17:04:11Z")

</div>

i added now a code node, to add a header, is this the solution or is there something better ?

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/f/1/f152fd607a702a05d5a71b6c91676bfaa77dfbb0.png)

---

<div class="post-metadata">

**Author:** ![barn4k](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/barn4k/32/8170_2.png) [@barn4k](https://community.n8n.io/u/barn4k)\
**Post date:** [April 19, 2024, 7:07pm UTC](https://community.n8n.io/t/csv-without-header-issue/44679/5 "2024-04-19T19:07:56Z")

</div>

Hello @userf24

That’s the correct behavior. When the header switch is off, the ftp node doesn’t know how to name the fields, so it returns them as array of column values

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 18, 2024, 7:08pm UTC](https://community.n8n.io/t/csv-without-header-issue/44679/6 "2024-07-18T19:08:50Z")

</div>

Closed on July 18, 2024, 7:08pm UTC

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