Docs

graphql_parse_failed

400 invalid_request. The GraphQL document has a syntax error.

View as Markdown
HTTP statustypeSurfaces
400invalid_requestGraphQL

What it means

The GraphQL document has a syntax error.

What to do

Fix the text at the line and column given.

On GraphQL

/api/graphql answers the same code inside errors[].extensions. The status depends on the Accept header you send (status codes):

application/jsongraphql-response+jsonWhen
200400a syntax error, with locations and a hint that names them: Fix the syntax at line 3, column 1.

See also