Apigee - graphQL policy schema validation detailed error

Hi Team,

 

I have used https://cloud.google.com/apigee/docs/api-platform/reference/policies/graphql-policy as reference to create an graphQL policy for validating query against schema.

When query is not matching with schema I am getting below error: which is very high level.

error
Payload failed schema validation
error.class
java.lang.IllegalArgumentException

How I can setup my policy to get detailed error with the field/variable/names incorrect in passed query(Where query failed basically). Above error doesn't help in finding out what exactly is wrong with passed query.

Let me in case need any additional details to help me out. Thanks in advance!

0 0 117
0 REPLIES 0