Neo4j Custom Procedures Roles and Privilege issue

Hi
I have created Simple custom procedure to create a node in java and that plugin I imported in plugin folder.
When I execute a procedure it gives me an security error.

Creating new node label on database 'neo4j' is not allowed for user 'neo4j' with roles [PUBLIC, admin] overridden by READ. See GRANT CREATE NEW NODE LABEL ON DATABASE neo4j...

I think you did not set the procedure's mode to 'write' in the procedure's annotation. Here is an example:

    @Procedure(
            name = "procedure_name",
            mode = Mode.WRITE
    )
1 Like