cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

[GraphQL error]: Message: There is no procedure with the name `apoc.util.validate` registered for this database instance

Dajust
Node

Hi

So I got this error [GraphQL error]: Message: There is no procedure with the name apoc.util.validate registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed. while trying to integrate auth directive on my GraphQL API.

Here's my schema definition:
`type User {
id: ID! @id
firstName: String!
lastName: String!
username: String!
profilePicture: String
}

extend type User @auth(rules: [{ operations: [UPDATE], isAuthenticated: true }])`

I want some authentication and authorization check when I call the updateUsers mutation, but I always get the above error.

2 REPLIES 2

t_katzelol
Node

Exact same problem for me!

webberwang
Node

You'll need to install the APOC library