Neo4j Desktop could not open the import folder

I used the Desktop on Windows 10 Pro. I am the local admin on Windows.

I got an error when checking the file import path.

I think this error is the cause that I could not import an graphml file stored in that "import" folder.

Any suggestion? Thanks.

I got a response from Neo4j support. I added the following line to the setting and it worked.

apoc.import.file.use_neo4j_config=true

does it matter where in the settings u add the code?

I added it at the bottom of setting in 3.5.8 but I'm still getting the same error, any ideas?

Hello and welcome to the community!

Adding to the end of the settings file is fine. It will basically override anything that was set previously in the file.

You are trying to import using APOC and you have placed the file for import in the import folder for the database?

What is the Cypher statement you are attempting to execute?

A screenshot of the error would also be helpful.

Elaine

Tried using the 'open folder' import function
and with LOAD CSV WITH HEADERS FROM "file:///Fcecsv.csv"

Thanks for the help

Hello,

What happens when you select OpenFolder in Neo4j Desktop? That should open the folder containing the import folder, but it should not be opening the import folder itself.

At a minimum, your LOAD CSV statement should do something like:

LOAD CSV WITH HEADERS FROM "file:///Fcecsv.csv" AS row RETURN row LIMIT 10

When I select OpenFolder it does open the folder containing the import folder.

I checked the folder path in the error I was getting in the Neo4j browser and it was referencing a folder called 'import' but in the file directory the folder had been created as 'import directory' so i changed the folder in the file directory to match the error, i.e. changed 'import directory' to 'import'

Thanks for your help