Introspection-query error
See original GitHub issueHello. I tried running an introspection-query of my environment using elm graphql, but get this error:
{"type":"http-log","timestamp":"2020-04-23T16:02:52.106+0000","level":"error","detail":{"operation":{"user_vars":{"x-hasura-role":"admin"},"error":{"path":"$.variableValues","error":"unexpected variables: includeDeprecated","code":"validation-failed"},"request_id":"ce53493c-fc37-42c0-9bf9-b7a5c7fe207a","response_size":104,"query":{"variables":{"includeDeprecated":true},"query":"query IntrospectionQuery($includeDeprecated: Boolean!) {\n __schema {\n queryType {\n name\n }\n mutationType {\n name\n }\n subscriptionType {\n name\n }\n types {\n ...FullType\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n description\n fields(includeDeprecated: $includeDeprecated) {\n name\n description\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: $includeDeprecated) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n description\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }"}},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"XXX.XX.XX.XXX","method":"POST","content_encoding":null}}}
If I reload my meta-data in the Hasura-console, this exact introspection-query succeeds, but every subsequent introspection fails 😦
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Why You Should Disable GraphQL Introspection In Production
... by reverse engineering your GraphQL API through a lot of trial and error, disabling introspection is a form of security by obscurity....
Read more >GraphQL Relay introspection query fails: Unknown field ...
When I try the exact same query on GraphIQL (the playground that the server offers me), there is no error, and the query...
Read more >Introspection query does not work in MongoDB
Hi All, We have Denodo 8 on Windows Server. We installed mongodb-customwrapper according to document.
Read more >GraphQL introspection query returns wrong data - Bug Reports
tyk-gateway OSS v4.1.0-rc10. I'm using Tyk in GraphQL supergraph-subgraphs setting. I'm trying to query an introspection info: query ...
Read more >Introspection - Hot Chocolate - ChilliCream GraphQL Platform
Custom error message. If a client tries to execute an introspection query whilst introspection is not allowed, he will receive an error message ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I really appreciate the attention. If I can do anything to help you further, let me know!
I’m currently resetting metadata before every deploy, and I have no problems so far doing this ☀️
@opvasger Keep an eye out for the latest releases, hopefully this fix will be released soon!