cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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