-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Possible I hit a Graphql size/length limit ? #22412
Comments
Hi! Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it. If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look. Thanks for using Gatsby! 💜 |
Thank you for your reply @LekoArts. |
@LekoArts I invited you to a private repo replicating this issue |
New information we found may indicate a limit in Apollo's HTTP GET
|
maybe a long shot but I am putting this here anyway, seems somewhat related to this: |
Update, In any case, splitting a very long query to aliases (not fragments), seem to have solve the issue very rough POC
I will update |
Thanks for the investigation on this! This indeed doesn't seem to be an issue with Gatsby, I'd suggest going with the aliases (which are nicer anyways). Thus closing this but feel free to comment more if you get more information from e.g. Contentful's support. Thanks! |
Description
One of my pages is constructed with multiple GQL fragments, which in turn, have their own fragments.
Everything was working fine until I added one more component/fragment.
Now i'm getting
Response not successful: Received status code 400
I ruled out any code issues, null, typos, duplications etc.
I found out that by removing any sufficient number of fields from any part of the query, it magically works again.
Gatsby info
example query
screen recording
will edit with annotations if possible
https://youtu.be/DEnwTriHCuA
The text was updated successfully, but these errors were encountered: