Error: Query failed: CSV file not found: file:///d:/node.csv

I am getting the below error while load CSV file in memgraph lab. Can you please help me ?

Hi @sanjay239!

I will need some additional information to help you with this error:

  1. On what operating system are you running Memgraph?
  2. What method of installation/running Memgraph are you using? (Docker, WSL…)

In case you are running Memgraph through Docker, the problem could be that you didn’t mount the directory with the specified files. A volume can be mounted using the -v flag.
For example:

docker run -p 7687:7687 -v C:/Users/Luffy/Desktop/import-data:/data memgraph

Now, the specified directory import-data is available inside our container, and the files in it can be accessed using the LOAD CSV FROM clause:

LOAD CSV FROM "/data/forum_nodes.csv" WITH HEADER DELIMITER "," AS row
CREATE (n:Forum {name: row.title});

I hope this helps you! :grinning_face_with_smiling_eyes: