title: Neo4j - Syntax for Loading CSV with Headers
body: <p>I'm just getting started with Neo4j, and have been trying to create my first project in Neo4j Community with a small sample data from a CSV. I keep getting an invalid input/syntax error (see image below).</p>
  
  <p>The problem could be several places:</p>
  
  <ol>
  <li>I may not have set up my project correctly </li>
  <li>I may not have the file in the right place </li>
  <li>I may not be using the syntax correctly</li>
  </ol>
  
  <p>Here is the Cypher I've been using to try to load the file:</p>
  
  <pre><code>LOAD CSV WITH HEADERS FROM 'C:\Users\Diana\Documents\Nattosphere\Natto_Sample.csv' AS line
  CREATE (n: Natto_Variety{Product_UID: line.Product_UID, Product_Manufacturer: line.Product_Manufacturer, Product_Weight_g: line.Product_Weight_g, Product_Flavoring: line.Product_Flavoring})   
  </code></pre>
  
  <p>I've tried several approaches, and created a simplified file, but am getting the same error each time: </p>
  
  <pre><code>Invalid input 's': expected org$neo4j$cypher$internal$compiler$v2_2$parser$Strings$$HexDigit (line 1, column 33 (offset: 32))
  "LOAD CSV WITH HEADERS FROM 'C:\Users\Diana\Documents\Nattosphere\Natto_Sample.csv' AS line"
  </code></pre>
  
  <p>At the bottom of the GUI, another error reads:</p>
  
  <pre><code>"Neo.ClientError.Statement.InvalidSyntax"
  </code></pre>
  
  <p>Any idea what might be happening here?</p>
  
  <p>-D</p>