Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQLError: Syntax Error: Unexpected ( #3494

Closed
aiac opened this issue Aug 26, 2020 · 1 comment
Closed

GraphQLError: Syntax Error: Unexpected ( #3494

aiac opened this issue Aug 26, 2020 · 1 comment

Comments

@aiac
Copy link

aiac commented Aug 26, 2020

GraphQLError: Syntax Error: Unexpected (
at syntaxError (/home/node/app/node_modules/graphql/error/syntaxError.js:15:10)

Is there any way to debug the input that keystone passed to GraphQL? I have no idea what could be wrong with my Schema...

@aiac
Copy link
Author

aiac commented Aug 28, 2020

It took a lot of work to find out what happened... I got "(" in "label" property of one of the lists. It would be nice to throw error before passing schema to GraphQL.

@aiac aiac closed this as completed Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant