Join Slack
Powered by
Permission Query is invalid. Could not be parsed. ...
# prisma-whats-new
t
tfiwm
05/23/2017, 12:47 PM
Permission Query is invalid. Could not be parsed. Error Message: Syntax error while parsing GraphQL query. Invalid input \"query ($user_id: ID) q\", expected OperationDefinition, FragmentDefinition or TypeSystemDefinition (line 1, column 1):\nquery ($user_id: ID) query deleteUserOnlyAllowed ($user_id: ID!) {\n^
n
nilan
05/23/2017, 12:48 PM
@tfiwm
can you post the complete query that's not working?
t
tfiwm
05/23/2017, 12:52 PM
of course btw i have to create the permission everytime again because can’t edit anymore
tfiwm
05/23/2017, 12:53 PM
i get a js error
tfiwm
05/23/2017, 12:53 PM
Uncaught Error: Can only create NonNull of a Nullable GraphQLType but got: ID. at r (
https://console.graph.cool/vendor.cdd4e6b22f5302fa4bda.js:17:20818
) at new e (
https://console.graph.cool/vendor.cdd4e6b22f5302fa4bda.js:11:95865
) at r (
https://console.graph.cool/vendor.cdd4e6b22f5302fa4bda.js:25:39506
) …. in the edit view
tfiwm
05/23/2017, 12:55 PM
here is the problem related to query permission: query ($user_id: ID!) { SomeUserExists(filter: { id: $user_id }) }
tfiwm
05/23/2017, 12:55 PM
btw thanks for organizing graphqleu 😉 was cool!
n
nilan
05/23/2017, 12:56 PM
can you please send me your project id in PM?
Open in Slack
Previous
Next