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

Query complexity too high but is at or under the maximum #111

Open
Adewotta opened this issue Aug 20, 2020 · 0 comments
Open

Query complexity too high but is at or under the maximum #111

Adewotta opened this issue Aug 20, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@Adewotta
Copy link

Adewotta commented Aug 20, 2020

When running the following code I get errors relating to complexity, where I am at the maximum but it still rejects, showing I am at the maximum complexity but not over, and it also shows as having a complexity of 0 at the bottom above action records
query TournamentsByVideogame { tournaments(query: { perPage: 1000 page:1 sortBy: "startAt desc" filter: { past: true videogameIds: [ 1386 ] } }) { nodes { name id slug } } }

{ "errors": [ { "message": "Your query complexity is too high. A maximum of 1000 objects may be returned by each request. (actual: 1000)", "extensions": { "category": "validation" }, "locations": [ { "line": 2, "column": 7 } ], "path": [ "tournaments" ], "type": "validation", "fields": null, "fieldErrors": [] } ], "data": { "tournaments": null }, "extensions": { "cacheControl": { "version": 1, "hints": [ { "path": [ "tournaments" ], "maxAge": 600, "scope": "PRIVATE" } ] }, "queryComplexity": 0 }, "actionRecords": [] }

@tobybaratta tobybaratta added the bug Something isn't working label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants