americanexpress / nodes

A GraphQL JVM Client - Java, Kotlin, Scala, etc.
Apache License 2.0
307 stars 70 forks source link

Graphql is an invalid property path ', status='null', description='null', errors=null} #65

Open shivam0406 opened 5 years ago

shivam0406 commented 5 years ago

I am using this library to test the graphql and I followed the document as well.

I observed that some details are missing in the documents.

I have added the arguments and sending the request but while build the query I am getting Graphql invalid property path error.

NeilChitre2311 commented 4 years ago

I am using this library to test the graphql and I followed the document as well.

I observed that some details are missing in the documents.

I have added the arguments and sending the request but while build the query I am getting Graphql invalid property path error.

Did you find a solution for this ?

chemdrew commented 4 years ago

Can you see if this article helps? https://americanexpress.io/graphql-for-the-jvm/

It has some examples defining arguments on nested paths. If you still face that error please post your models and the path you are using. Likely it is some typo, a missing or extra level in the path, or a renamed object with the class name instead of property name being used.