cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

NEuler Problem with Loading Sample Graphs

marcelix161
Node Clone

Load of Sample Graph's data fails.

UNWIND range(1,7) AS season
LOAD CSV WITH HEADERS FROM "https://github.com/neo4j-apps/neuler/raw/master/sample-data/got/got-s" + season + "-nodes.csv" AS row
MERGE (c:Character {id: row.Id})
ON CREATE SET c.name = row.Label;

Neo.ClientError.Statement.ExternalResourceFailed

Couldn't load the external resource at: https://github.com/neo4j-apps/neuler/raw/master/sample-data/got/got-s1-nodes.csv

In dbms settings I've already enabled:
dbms.security.allow_csv_import_from_file_urls=true
dbms.directories.import=import

Selected database=neo4j

How can I load Sample Data to use GDS Playground or/ and any csv data from url?

5 REPLIES 5

koji
Ninja
Ninja

Hi @marcelix161

The cause is probably that the database is set to "system".
Please select "neo4j" instead of "system".
You do not need to change anything in the "neo4j.conf" file.

Hi koji,

the db is set to neo4j.

Hi @marcelix161

Can You access it with a web browser like Chrome?

https://github.com/neo4j-apps/neuler/raw/master/sample-data/got/got-s1-nodes.csv

Hi Koji,

yes. No problems here.

Hi @marcelix161

If you are unable to access the site with this Cypher, there is probably a problem with the network settings of Neo4j Browser. Do you need a proxy?

LOAD CSV FROM 'http://data.neo4j.com/bands/artists.csv' AS line
RETURN line