Skip to content

errors

Failed to invoke procedure apoc.load.json: Caused by: java.lang.RuntimeException: Import from files not enabled, please set apoc.import.file.enabled=true in your apoc.conf

  • Open up file location for configuration
cd /etc/neo4j/apoc.conf
apoc.import.file.enabled=true
apoc.import.file.use_neo4j_config=true
sudo systemctl restart neo4j

apoc.meta.type is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.

cd /etc/neo4j/apoc.conf
# Add lines
dbms.security.procedures.unrestricted=algo.*,apoc.*
sudo systemctl restart neo4j

cypher - Why does neo4j warn: "This query builds a cartesian product between disconnected patterns"? - Stack Overflow