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 Name "headerMenus". #73

Open
paulonova opened this issue Nov 29, 2022 · 4 comments
Open

GraphQLError: Syntax Error: Unexpected Name "headerMenus". #73

paulonova opened this issue Nov 29, 2022 · 4 comments

Comments

@paulonova
Copy link

paulonova commented Nov 29, 2022

I am facing this problem, when i run the same query on the qraphiql, it works, but it gives out the GraphQLError: Syntax Error: Unexpected Name "headerMenus". error when I run it from the NextJS.
graph
Skärmavbild 2022-11-29 kl  18 55 27

@paulonova
Copy link
Author

Please can someone help me?

@kakonbarman
Copy link

I fetch the same problem.

@kakonbarman
Copy link

I have solved this issue. wrap the entire query with query{ ...code here }

@jigneshdpanchal
Copy link

I fetch the same problem.

@kakon4366 thanks for the solution

I've solved this error and here is my working code sample.

error-solved

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

3 participants