gaurav1207
gaurav1207

Reputation: 703

Neo.ClientError.Statement.ExternalResourceFailed on ubuntu

I'm trying to import a csv file in NEO4j db using script :

LOAD CSV FROM "file:///dataframe6.txt" AS line
RETURN count(*)

But I get following error:

Neo.ClientError.Statement.ExternalResourceFailed
Couldn't load the external resource at: file:/home/gaurav/sharing/dataframe6.txt

P.S. : I'm using ubuntu machine

added this line dbms.directories.import=/home/gaurav/sharing/

and dbms.security.allow_csv_import_from_file_urls=true

Upvotes: 0

Views: 1236

Answers (1)

gaurav1207
gaurav1207

Reputation: 703

I had to change folder permission for user NEO4j, it works now

Upvotes: 1

Related Questions