# \#load-csv

**URL:** https://community.neo4j.com/tag/load-csv/138.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## ["Couldn't load the external resource" error with S3 pre-signed URL](https://community.neo4j.com/t/couldnt-load-the-external-resource-error-with-s3-pre-signed-url/74929)

<div class="topic-metadata">

**Author:** [@Thunderhead-exe](https://community.neo4j.com/u/Thunderhead-exe)\
**Replies:** 11\
**Last updated:** [August 1, 2025, 8:51am UTC](https://community.neo4j.com/t/couldnt-load-the-external-resource-error-with-s3-pre-signed-url/74929 "2025-08-01T08:51:57Z")

</div>

Hi, I am using Neo4j via docker and I got the following problem when using MinIO Pre-Signed URLs to load csv, both using apoc and load csv I am using neo4j:2025.06.2 And I am using Docker compose I added the arguments…

---

## [Import method won't let my relationships load](https://community.neo4j.com/t/import-method-wont-let-my-relationships-load/73375)

<div class="topic-metadata">

**Author:** [@TornadoJoe](https://community.neo4j.com/u/TornadoJoe)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 6:22pm UTC](https://community.neo4j.com/t/import-method-wont-let-my-relationships-load/73375 "2025-04-05T18:22:09Z")

</div>

Hi there, im trying to load my csv and then create a relationship. First I had the problem with NULL values. Before I used this query to import. But 1/3 of my city's were missing when importing the csv. Creating a relat…

---

## [Python-3.12 Neo4J Load from local CSV file hits "Invalid URL" error](https://community.neo4j.com/t/python-3-12-neo4j-load-from-local-csv-file-hits-invalid-url-error/73135)

<div class="topic-metadata">

**Author:** [@funcoolgeek](https://community.neo4j.com/u/funcoolgeek)\
**Replies:** 4\
**Last updated:** [March 24, 2025, 8:05am UTC](https://community.neo4j.com/t/python-3-12-neo4j-load-from-local-csv-file-hits-invalid-url-error/73135 "2025-03-24T08:05:00Z")

</div>

I run a single-instance community container on local k8s. I am trying to load local CSV file from a python module: CSV\_PATH = "file:///home/me/data/Project/shops.csv" with driver.session(database="neo4j") as session: …

---

## [Creating dynamic nodes with csv upload, doesn't work?](https://community.neo4j.com/t/creating-dynamic-nodes-with-csv-upload-doesnt-work/71965)

<div class="topic-metadata">

**Author:** [@syolbe1](https://community.neo4j.com/u/syolbe1)\
**Replies:** 4\
**Last updated:** [December 22, 2024, 10:55pm UTC](https://community.neo4j.com/t/creating-dynamic-nodes-with-csv-upload-doesnt-work/71965 "2024-12-22T22:55:29Z")

</div>

I am uploading a csv file, and tried to generate the nodes with labels that are defined in the csv, i.e. dynamically: LOAD CSV WITH HEADERS FROM 'nodes.csv' AS row MERGE (n:$(row.node\_type) {id: row.id}); but I get t…

---

## [Create relationship from different CSV](https://community.neo4j.com/t/create-relationship-from-different-csv/71898)

<div class="topic-metadata">

**Author:** [@apolo74](https://community.neo4j.com/u/apolo74)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 12:57pm UTC](https://community.neo4j.com/t/create-relationship-from-different-csv/71898 "2024-12-16T12:57:12Z")

</div>

Hello all, I'm using neo4j desktop version 1.6.1 and I want to import data from a SQL database into Neo4J. I exported some tables into CSV format and tried to ingest the data into Neo4j Desktop. Below are a couple of sa…

---

## [How to log that a file was exported via webbrowser](https://community.neo4j.com/t/how-to-log-that-a-file-was-exported-via-webbrowser/69370)

<div class="topic-metadata">

**Author:** [@Ellesudo](https://community.neo4j.com/u/Ellesudo)\
**Replies:** 0\
**Last updated:** [August 23, 2024, 8:00am UTC](https://community.neo4j.com/t/how-to-log-that-a-file-was-exported-via-webbrowser/69370 "2024-08-23T08:00:46Z")

</div>

Hi! I have a case where we a required to log data leaving the neo4j database. How can you log user data-exports via webbrowser (.csv or .json) in Neo4j? I have enabled all logging as verbose as possible, but nothing s…

---

## [While LOAD CSV getting error 'Neo.DatabaseError.Statement.ExecutionFailed'](https://community.neo4j.com/t/while-load-csv-getting-error-neo-databaseerror-statement-executionfailed/68132)

<div class="topic-metadata">

**Author:** [@sulabhagrawal01](https://community.neo4j.com/u/sulabhagrawal01)\
**Replies:** 5\
**Last updated:** [May 28, 2024, 5:51pm UTC](https://community.neo4j.com/t/while-load-csv-getting-error-neo-databaseerror-statement-executionfailed/68132 "2024-05-28T17:51:12Z")

</div>

Hi, While csv file LOAD I am getting below error for some quote at position, as below: Neo.DatabaseError.Statement.ExecutionFailed At Dropbox @ position 96611 - there's a field starting with a quote and whereas it ends…

---

## [Cannot merge the following node because of null property value for 'objectId': (:Object {objectId: null})](https://community.neo4j.com/t/cannot-merge-the-following-node-because-of-null-property-value-for-objectid-object-objectid-null/68139)

<div class="topic-metadata">

**Author:** [@sulabhagrawal01](https://community.neo4j.com/u/sulabhagrawal01)\
**Replies:** 6\
**Last updated:** [May 28, 2024, 4:44pm UTC](https://community.neo4j.com/t/cannot-merge-the-following-node-because-of-null-property-value-for-objectid-object-objectid-null/68139 "2024-05-28T16:44:50Z")

</div>

I am trying to load a CSV file, but getting below error: Neo.ClientError.Statement.SemanticError Cannot merge the following node because of null property value for 'objectId': (:Object {objectId: null}) Query: LOAD CS…

---

## [Same csv file fails on Aura and loads on Neo4j Desktop](https://community.neo4j.com/t/same-csv-file-fails-on-aura-and-loads-on-neo4j-desktop/65306)

<div class="topic-metadata">

**Author:** [@midnightskyuniverse](https://community.neo4j.com/u/midnightskyuniverse)\
**Replies:** 1\
**Last updated:** [February 9, 2024, 10:11am UTC](https://community.neo4j.com/t/same-csv-file-fails-on-aura-and-loads-on-neo4j-desktop/65306 "2024-02-09T10:11:41Z")

</div>

Hi I took sample csv from Kaggle. I have faced several different errors when loading it. I removed all quotes and yet the error persists: fixed\_final\_data\_v2.csv @ position 51 - there's a field starting with a quote…

---

## [How to store csv’s in a folder structure](https://community.neo4j.com/t/how-to-store-csv-s-in-a-folder-structure/64637)

<div class="topic-metadata">

**Author:** [@particlereddy](https://community.neo4j.com/u/particlereddy)\
**Replies:** 2\
**Last updated:** [October 24, 2023, 9:36pm UTC](https://community.neo4j.com/t/how-to-store-csv-s-in-a-folder-structure/64637 "2023-10-24T21:36:21Z")

</div>

Hi, I have an ~10,000 .csv files in a folder in Windows \[I can migrate it to Linux\] \[1\] They are all categorically arranged in a folder structure \[like folder within folder within folder…5 levels of folder structure. …

---

## [Neo.ClientError.Statement.ExternalResourceFailed: when running load\_csv using pre-signed url](https://community.neo4j.com/t/neo-clienterror-statement-externalresourcefailed-when-running-load-csv-using-pre-signed-url/63975)

<div class="topic-metadata">

**Author:** [@rohan.verma](https://community.neo4j.com/u/rohan.verma)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 7:44pm UTC](https://community.neo4j.com/t/neo-clienterror-statement-externalresourcefailed-when-running-load-csv-using-pre-signed-url/63975 "2023-08-31T19:44:42Z")

</div>

Greetings, I'm encountering a similar issue as mentioned by others: I'm receiving the "Neo.ClientError.Statement.ExternalResourceFailed" error when I attempt to load csv file on s3 using Cypher query involving a pre-sig…

---

## [Error: Neo.ClientError.Statement.ExternalResourceFailed](https://community.neo4j.com/t/error-neo-clienterror-statement-externalresourcefailed/29353)

<div class="topic-metadata">

**Author:** [@dionisios95](https://community.neo4j.com/u/dionisios95)\
**Replies:** 12\
**Last updated:** [August 31, 2023, 7:40pm UTC](https://community.neo4j.com/t/error-neo-clienterror-statement-externalresourcefailed/29353 "2023-08-31T19:40:06Z")

</div>

Hello guys, I have an issue to my Neo4j-Desktop-Version. I am trying to load some data from csv-files with the query: \[ load csv with headers from 'file:///Adresse.csv' as row merge ....\] and I got the Error-Message: …

---

## [Big CSV Datasets and Error regarding unexpected characters](https://community.neo4j.com/t/big-csv-datasets-and-error-regarding-unexpected-characters/63631)

<div class="topic-metadata">

**Author:** [@longerich.business](https://community.neo4j.com/u/longerich.business)\
**Replies:** 1\
**Last updated:** [August 5, 2023, 1:44pm UTC](https://community.neo4j.com/t/big-csv-datasets-and-error-regarding-unexpected-characters/63631 "2023-08-05T13:44:55Z")

</div>

Hello Neo4j Community, I'm a beginner in using Neo4j and Python and I've been grappling with an issue for about two weeks now that I can't seem to resolve, so I'm reaching out for some help. I have large CSV files (abo…

---

## [Loading csv file returns error](https://community.neo4j.com/t/loading-csv-file-returns-error/62916)

<div class="topic-metadata">

**Author:** [@zhanna\_orlova](https://community.neo4j.com/u/zhanna_orlova)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 1:37pm UTC](https://community.neo4j.com/t/loading-csv-file-returns-error/62916 "2023-06-16T13:37:17Z")

</div>

Dear Community, I have a problem loading my CSV file, I really could use some help. This is my query LOAD CSV WITH HEADERS FROM file:///Solucionadores15JUN.csv AS row with row where row.NomnreMostrar is not null MERGE …

---

## [Cannot merge the following node because of null property value for](https://community.neo4j.com/t/cannot-merge-the-following-node-because-of-null-property-value-for/62558)

<div class="topic-metadata">

**Author:** [@vhronn](https://community.neo4j.com/u/vhronn)\
**Replies:** 4\
**Last updated:** [May 18, 2023, 5:54pm UTC](https://community.neo4j.com/t/cannot-merge-the-following-node-because-of-null-property-value-for/62558 "2023-05-18T17:54:36Z")

</div>

Hi Friends, When trying to import an CSV using the query: LOAD CSV WITH HEADERS FROM 'file:///nation.csv' AS nation MERGE (n:NATION {n\_nationkey: toInteger(nation.n\_nationkey), n\_name: nation.n\_name, n\_regionkey: toIn…

---

## [Size limit of a singular csv file in LOAD CSV method](https://community.neo4j.com/t/size-limit-of-a-singular-csv-file-in-load-csv-method/62049)

<div class="topic-metadata">

**Author:** [@aman.negi](https://community.neo4j.com/u/aman.negi)\
**Replies:** 4\
**Last updated:** [April 17, 2023, 3:43am UTC](https://community.neo4j.com/t/size-limit-of-a-singular-csv-file-in-load-csv-method/62049 "2023-04-17T03:43:42Z")

</div>

Hey community folks, I wanted to know that is there a limit to which the load csv can open a file. The question is when I do a LOAD CSV does it opens the whole csv at one go or does it fetches data in chunks that can b…

---

## [Import query runtime grows exponentially](https://community.neo4j.com/t/import-query-runtime-grows-exponentially/61585)

<div class="topic-metadata">

**Author:** [@hamed.metalgear](https://community.neo4j.com/u/hamed.metalgear)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 7:11pm UTC](https://community.neo4j.com/t/import-query-runtime-grows-exponentially/61585 "2023-03-21T19:11:03Z")

</div>

I am trying to bulk-import relationships from CSV files. The relationships are batched in groups of ~25,000 relationships per CSV file. A Cypher load query is used to read relationships from each CSV file. The query work…

---

## [Load csv with in the csv names of other csv's to load](https://community.neo4j.com/t/load-csv-with-in-the-csv-names-of-other-csvs-to-load/56218)

<div class="topic-metadata">

**Author:** [@inge\_vandenherr](https://community.neo4j.com/u/inge_vandenherr)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 1:45pm UTC](https://community.neo4j.com/t/load-csv-with-in-the-csv-names-of-other-csvs-to-load/56218 "2022-05-12T13:45:12Z")

</div>

Hey all, I hope this is a basic question :) I load a csv that has in a column other csv names. Each of these csv's got to be loaded as well and its data imported. basically the first csv cases.csv is something like: C…

---

## [3 relationships that I didn't create appeared in the database](https://community.neo4j.com/t/3-relationships-that-i-didnt-create-appeared-in-the-database/54421)

<div class="topic-metadata">

**Author:** [@11li](https://community.neo4j.com/u/11li)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 12:28pm UTC](https://community.neo4j.com/t/3-relationships-that-i-didnt-create-appeared-in-the-database/54421 "2022-04-20T12:28:31Z")

</div>

Hi, everyone! I load some csv files to create nodes and relationships. While I only create 7 relationships. The schema shows 10 relationships. Process: 1.CREATE CONSTRAINT CREATE CONSTRAINT constraint\_nav IF NOT…

---

## [Load-CSV very slow with millions of nodes](https://community.neo4j.com/t/load-csv-very-slow-with-millions-of-nodes/7786)

<div class="topic-metadata">

**Author:** [@azzopardi.jos](https://community.neo4j.com/u/azzopardi.jos)\
**Replies:** 10\
**Last updated:** [April 7, 2022, 8:07pm UTC](https://community.neo4j.com/t/load-csv-very-slow-with-millions-of-nodes/7786 "2022-04-07T20:07:58Z")

</div>

Dear Community, We are creating a knowledge graph using data processed through Spark. Spark output includes a number of CSV files that were formatted to load in neo4j for the various nodes and relationships required. We…

---

## [How to create relationship between 2 nodes in the same node labels?](https://community.neo4j.com/t/how-to-create-relationship-between-2-nodes-in-the-same-node-labels/54296)

<div class="topic-metadata">

**Author:** [@11li](https://community.neo4j.com/u/11li)\
**Replies:** 8\
**Last updated:** [April 5, 2022, 1:51am UTC](https://community.neo4j.com/t/how-to-create-relationship-between-2-nodes-in-the-same-node-labels/54296 "2022-04-05T01:51:19Z")

</div>

Hello everyone! I'm trying to load some csv files to create nodes and relationship. But there is a problem I can't understand and solve. Here is an example: In the file \[navtech.csv\] I created some 'NavTech' nodes. …

---

## [Wait for index population to complete?](https://community.neo4j.com/t/wait-for-index-population-to-complete/53210)

<div class="topic-metadata">

**Author:** [@dannyseismic](https://community.neo4j.com/u/dannyseismic)\
**Replies:** 2\
**Last updated:** [March 11, 2022, 4:50pm UTC](https://community.neo4j.com/t/wait-for-index-population-to-complete/53210 "2022-03-11T16:50:03Z")

</div>

Is there a way to wait for an index to be built after issuing a Create Index statement? I have a situation where I do the following: Load Meeting Nodes from a CSV Create Index On Meeting\_id field Load MeetingParticipa…

---

## [Loading multiple CSV files in Neo4j with each row of each CSV being a node](https://community.neo4j.com/t/loading-multiple-csv-files-in-neo4j-with-each-row-of-each-csv-being-a-node/11663)

<div class="topic-metadata">

**Author:** [@kasthuri](https://community.neo4j.com/u/kasthuri)\
**Replies:** 7\
**Last updated:** [February 24, 2022, 7:07am UTC](https://community.neo4j.com/t/loading-multiple-csv-files-in-neo4j-with-each-row-of-each-csv-being-a-node/11663 "2022-02-24T07:07:44Z")

</div>

I need to upload multiple CSV files in Neo4j with each row of each CSV file being a node. How to effectively do this? I cannot concatenate the CSVs since each row is a label and the rows are the same across multiple CSVs…

---

## [Non Matching Records from CSV / Neo: Using Load CSV](https://community.neo4j.com/t/non-matching-records-from-csv-neo-using-load-csv/51496)

<div class="topic-metadata">

**Author:** [@Kailash](https://community.neo4j.com/u/Kailash)\
**Replies:** 3\
**Last updated:** [February 8, 2022, 12:28pm UTC](https://community.neo4j.com/t/non-matching-records-from-csv-neo-using-load-csv/51496 "2022-02-08T12:28:48Z")

</div>

Team, I am trying to load the data from csv. I just want to right now list the non matching records. one which are not there in neo4j but are there in csv the one which are there in neo but not there in the CSV. Coul…

---

## [Import data from a CSV file containing headers doesnt work](https://community.neo4j.com/t/import-data-from-a-csv-file-containing-headers-doesnt-work/48429)

<div class="topic-metadata">

**Author:** [@mary.hlavacek](https://community.neo4j.com/u/mary.hlavacek)\
**Replies:** 2\
**Last updated:** [December 3, 2021, 6:42pm UTC](https://community.neo4j.com/t/import-data-from-a-csv-file-containing-headers-doesnt-work/48429 "2021-12-03T18:42:46Z")

</div>

Hi all, running the neo4j Neo4j Browser version: \[4.3.3\] Neo4j Server version: 4.2.11 ad trying https://neo4j.com/docs/cypher-manual/current/clauses/load-csv/#load-csv-import-data-from-a-remote-csv-file and putting …

---

## [Transforming data format when using LOAD CSV](https://community.neo4j.com/t/transforming-data-format-when-using-load-csv/13565)

<div class="topic-metadata">

**Author:** [@mcentellesv](https://community.neo4j.com/u/mcentellesv)\
**Replies:** 4\
**Last updated:** [November 27, 2021, 11:27am UTC](https://community.neo4j.com/t/transforming-data-format-when-using-load-csv/13565 "2021-11-27T11:27:39Z")

</div>

Hi all. I'm using LOAD CSV to read CSV files and append regular Cypher statements to create or update the data as a graph. One of the columns withinh the CSV source has date values formated as 'yyyy-MM-dd'. I want to tra…

---

## [LOAD CSV failed to apply transaction and Neo4j cannot accept any query until restart](https://community.neo4j.com/t/load-csv-failed-to-apply-transaction-and-neo4j-cannot-accept-any-query-until-restart/48042)

<div class="topic-metadata">

**Author:** [@ichiban](https://community.neo4j.com/u/ichiban)\
**Replies:** 0\
**Last updated:** [November 25, 2021, 11:53pm UTC](https://community.neo4j.com/t/load-csv-failed-to-apply-transaction-and-neo4j-cannot-accept-any-query-until-restart/48042 "2021-11-25T23:53:44Z")

</div>

Question: When I tried to query using LOAD CSV, Neo4j failed to apply transaction. After that, Neo4j cannot accept any query until restart. Lookin at debug.log, It seems that index updating is failed. Reproduction Pr…

---

## [LOAD CSV: mulitple MERGE and Eager operator](https://community.neo4j.com/t/load-csv-mulitple-merge-and-eager-operator/43794)

<div class="topic-metadata">

**Author:** [@martin2](https://community.neo4j.com/u/martin2)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 2:00pm UTC](https://community.neo4j.com/t/load-csv-mulitple-merge-and-eager-operator/43794 "2021-09-01T14:00:18Z")

</div>

I have a large CSV file that contains mulitple nodes per line. I would like to use LOAD CSV to MERGE the nodes and set some properties. However, I always get the "Eager operator" warning for this query: USING PERIODIC C…

---

## [Load csv with dublicated nodes where nodes should be unique](https://community.neo4j.com/t/load-csv-with-dublicated-nodes-where-nodes-should-be-unique/40830)

<div class="topic-metadata">

**Author:** [@dilmacfatih](https://community.neo4j.com/u/dilmacfatih)\
**Replies:** 4\
**Last updated:** [July 4, 2021, 8:43am UTC](https://community.neo4j.com/t/load-csv-with-dublicated-nodes-where-nodes-should-be-unique/40830 "2021-07-04T08:43:43Z")

</div>

Hi everyone, I try to load csv file into the neo4j. My Query is: :auto USING PERIODIC COMMIT 5000 LOAD CSV WITH HEADERS FROM "file:///C:/mesh\_network.csv" AS line FIELDTERMINATOR ';' Merge(n:Mesh {name:line.mesh,fr…

---

## [ArrayIndexOutOfBoundsException when loading CSV](https://community.neo4j.com/t/arrayindexoutofboundsexception-when-loading-csv/40554)

<div class="topic-metadata">

**Author:** [@SandroMartens](https://community.neo4j.com/u/SandroMartens)\
**Replies:** 4\
**Last updated:** [July 1, 2021, 1:30pm UTC](https://community.neo4j.com/t/arrayindexoutofboundsexception-when-loading-csv/40554 "2021-07-01T13:30:02Z")

</div>

Hi, I want to import a csv table with tweets from twitter. But I get the error message: Failed to invoke procedure apoc.load.csv: Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4 …

[Next page](https://community.neo4j.com/tag/load-csv/138.md?match_all_tags=true&page=1&tags%5B%5D=load-csv)
