-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
While trying to execute the project using below query
{
book(id: "123") {
title
authors
publisher
}
}
I am getting below error.
{
"data": null,
"errors": [
{
"message": "Invalid Syntax",
"locations": [
{
"line": 1,
"column": 1,
"sourceName": null
}
],
"errorType": "InvalidSyntax",
"path": null,
"extensions": null
}
],
"dataPresent": false,
"extensions": null
}
On server side I am getting below error
2021-05-12 18:11:10.346 WARN 16964 --- [o-auto-1-exec-5] graphql.GraphQL : Query failed to parse : '{"operationName":null,"variables":{},"query":"{\n book(id: "123") {\n title\n authors\n publisher\n }\n}\n"}'
Please help in understanding the root cause of this problem and how to fix the same.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels