Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introspection Query too complex #23

Open
bougyman opened this issue Jan 25, 2024 · 0 comments
Open

Introspection Query too complex #23

bougyman opened this issue Jan 25, 2024 · 0 comments

Comments

@bougyman
Copy link

Trying to connect to the Linear api, and the default IntrospectionQuery for the schema is too complex for their limits.

client = GQLi::Client.new(Rubyists::Linear::GraphApi::BASE_URI, headers: Rubyists::Linear::Api.headers)                                                        
RuntimeError: Error: Bad Request
Body: {"errors":[{"message":"Query too complex","extensions":{"code":"INPUT_ERROR","type":"invalid input","userError":true,"userPresentableMessage":"The query is too complex. Complexity: 262144. Maximum allowed complexity: 10000.","meta":{}}}]}

from /home/bougyman/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/gqli-1.2.0/lib/gqli/client.rb:43:in `execute!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant