cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error Creating new relationship type is not allowed for user 'neo4j' with roles [PUBLIC, admin] restricted to READ. See GRANT CREATE NEW RELATIONSHIP TYPE ON DATABASE... (Failure when processing file

12kunal34
Graph Fellow

Hello all getting below error while running a cypher query:

Cypher:

LOAD CSV WITH HEADERS FROM 'file:///cert_exams1.csv' AS line
//return certs
Match(n:Certifications) where n.name = line.`Certificate Name`
with  n.name as na, SPLIT(line.`Prerequisites Certifications`, ",") as sp
CALL apoc.when(sp is null, "", "Unwind sp as sp1 match(k:Certifications) where k.name=na match(l:Certifications) where l.name = trim(sp1) Merge(k)<-[:Pre]-(l) ", {na:na, sp:sp}) YIELD value
        return value

Please help m with this. I am running this query with admin user

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.