Skip to main content
1 of 3
Velmurugan
  • 8.2k
  • 2
  • 15
  • 27

I'm able to reproduce this issue my side.

if the graphql query used variables in parameters then always expected to send the value of the query variables to be {}. if we pass query variables value to be null then this issue occurs.

Expected Request:

{"query":"query myquery($uri: String = "tcm:5-394-64") \n{ \n
page (cmUri:$uri) {\n id,\n \titemId,\n
\tlastPublishDate,\n title,\n \turl,\n \ttaxonomies{\n
id,key,title\n }\n }\n }\n","variables":{},"operationName":"myquery"}

enter image description here

enter image description here

I hope it helps.

Velmurugan
  • 8.2k
  • 2
  • 15
  • 27