Question
Validation error of type FieldUndefined: Field 'XXX' in type 'QueryType' is undefined, when persisting GraphQL query
I am trying to save a persisted query in AEM's GraphiQL Explorer.
I can run the query fine, as seen on the right side results.

But if I try "Save As", I get the following error. "Validation error of type FieldUndefined: Field 'adventureList' in type 'QueryType' is undefined"

I also tried named query, but no avail.
query getAdventures {
adventureList {
items {
_path
adventureTitle
adventurePrice
adventureTripLength
adventurePrimaryImage {
... on ImageRef {
_path
mimeType
width
height
}
}
}
}
}Although I am new to GraphQL, I wonder if this may have to do with GraphiQL tool. Why is it giving me such an error during saving, when I can execute the query fine?
I am loosely following the tutorial here.
Thank you,