Hi everyone,
I'm trying to create nodes with a new label using the APOC cypher.run
procedure, but I keep getting an error message saying that creating new node labels is not allowed for my user with the roles PUBLIC
and admin
, overridden by READ
. However, I can create new nodes with a new label through MERGE
without any issue. The error only appears when I try to use the cypher.run
procedure.
Here's the Cypher query I'm using:
CALL apoc.cypher.run('CREATE (n:NewLabel {name: "test"})', {})
And here's the error message I get:
Creating new node label on database 'twitter' is not allowed for user 'neo4j' with roles [PUBLIC, admin] overridden by READ. See GRANT CREATE NEW NODE LABEL ON DATABASE `twitter`...
I've checked my user's permissions, and I seem to have all the required privileges. I'm not sure what I'm doing wrong, and any help would be greatly appreciated.
Thanks in advance!