Wednesday, December 16, 2020

Neo4J create nodes procedure not found

Below was the procedure that was trying to be executed. 


CALL apoc.load.xls('neo_test_book1.xls','Sheet1') YIELD map as m 

CALL apoc.create.node(['Person'], {ID:m.ID,name:m.Name,email:m.email})  YIELD node as t

return m


The error that was throws was 


There is no procedure with the name `apoc.create.node` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.


Basically any procedure that needs registration to be specified in the neo4j configuration file using the below configuration


dbms.security.procedures.allowlist=apoc.coll.*,apoc.load.*,apoc.create.*


Like this above, with this, the procedure started working and all good. 


References: 

https://staging.thepavilion.io/t/neo4j-beginner-issues-with-call-apoc-create-relationship/15164/2


No comments:

Post a Comment