# Loading csv file returns error

**URL:** https://community.neo4j.com/t/loading-csv-file-returns-error/62916
**Category:** Browser
**Tags:** cypher, load-csv
**Created:** [June 15, 2023, 6:46pm UTC](https://community.neo4j.com/t/loading-csv-file-returns-error/62916 "2023-06-15T18:46:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zhanna\_orlova](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/zhanna_orlova/32/28912_2.png) [@zhanna\_orlova](https://community.neo4j.com/u/zhanna_orlova)
#### Post date: [June 15, 2023, 6:46pm UTC](https://community.neo4j.com/t/loading-csv-file-returns-error/62916/1 "2023-06-15T18:46:30Z")

</div>

Dear Community,

I have a problem loading my CSV file, I really could use some help. This is my query

```auto
LOAD CSV WITH HEADERS FROM file:///Solucionadores15JUN.csv AS row with row where row.NomnreMostrar is not null
MERGE (s:solucionador {name:row.NombreMostrar})
MERGE (t:tipo {name:row.TipoSolucionador})
MERGE (e:experiencia {name:row.ExperienciaAcademica})
MERGE (b:biografia {name:row.Biografia})
MERGE (k:keywords {name:row.Keywords})
MERGE (i:skills {name:row.Skills})

```

Note that I have to load the file without the ' ' or " ", because it doesn't recognize my location otherwise, and I found the solution on the internet.

But whenever I run this, it says:

## Invalid input '(': expected

(line 2, column 7 (offset: 117))  
"MERGE (s:solucionador {name:row.NombreMostrar})"

---

<div class="post-metadata">

### Author: ![glilienfield](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/glilienfield/32/27534_2.png) [@glilienfield](https://community.neo4j.com/u/glilienfield)
#### Post date: [June 16, 2023, 1:37pm UTC](https://community.neo4j.com/t/loading-csv-file-returns-error/62916/2 "2023-06-16T13:37:17Z")

</div>

The issue is caused by your syntax. You have to wrap the file name in quotes. It errors on parsing the next line. Try moving your 'with row' to the new line. You will see the error is not with the merge, but now with the 'with'

Let's try to solve why it can't find your csv file. Are you putting it in the database's import folder?
