You need to create an "apoc.conf" file in the same folder as your "neo4j.conf" file. The "neo4j.conf" file should be present in the "conf" folder of the graph you are running.
To locate the "conf" folder,
- click on "..." near the start/stop button of your graph on Neo4j Desktop.
- on the pop-up menu, click on "Terminal" to open the terminal.
- on the terminal, run "ls -l" and it will show you the "conf" folder.
- run "cd conf" to go to the "conf" folder.
Once inside the "conf" folder, create a new file "apoc.conf" and add line "apoc.export.file.enabled=true".
Now restart Neo4j, and you should not get the error.