Search code examples
neo4j-apoc

APOC procedure "apoc.export.csv.query" not found


CALL apoc.export.csv.query("match (m:Movie) where m.name='Matrix' return m.name","results.csv",{})
Error: Neo.ClientError.Procedure.ProcedureNotFound

There is no procedure with the name `apoc.export.csv.query` registered for this database instance.
Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
  • Neo4j community version 3.2.6
  • plugin "apoc-3.2.3.5.jar" is already available in plugins directory.
  • Windows 10 installation

Solution

    1. Make sure that you have added following line in neo4j.conf file:

      apoc.export.file.enabled=true
      
      • The neo4j.conf file in windows is located at: C:\Users\Username\AppData\Roaming\Neo4j Community Edition
    2. Edit and uncomment #dbms.directories.plugins=plugins as given below

      dbms.directories.plugins=C:/Program Files/Neo4j CE 3.2.6/plugins
      
      • if #dbms.directories.plugins=plugins is not present in your neo4j.config file, then you have to add this line