Closed MohamedKHALILRouissi closed 9 months ago
The console uses an admin secret with full access to the GraphQL schema. You should check if the client also set x-hasura-admin-secret
or Authorization header if the client uses JWT/custom auth.
If you use another role for the client you should check if that role has the update permission to schema_event
table
i already defined that , i have another query that works fine , and am using the root user have all permissions
am doing this query and am always getting error Message: field 'update_schema_event' not found in type: 'query_root', Locations: [], Extensions: map[code:validation-failed path:$.selectionSet.update_schema_event] when i do it in hasura console it works
code
i also tried with this method but the same result
thanks for help