-
Notifications
You must be signed in to change notification settings - Fork 41
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
Error: Too Many Requests #247
Comments
Just experienced the same error after doing some changes on the hygraph panel & running the gatsby develop. |
this is causing intermittent build failures on our CD pipeline. our current workaround is to just keep running a build until it passes, which isn't effective / efficient. |
@itscarlosrufo is this expected? |
I'm using an auth token to connect, so I'm surprised it's throttling me when I'm only connecting at build time. |
https://hygraph.com/docs/api-reference/basics/errors#429-too-many-requests looks like hygraph is having rate limiting issues. |
The issue is making the free tier almost unusable now. I have to restart the build 5 times now just to see 1 small change in the content. |
Is this maybe a product issue? @gijshendrix |
Hey folks! The rate limit is working as expected - the current rate limits can be found in the FAQ section below the pricing table here: https://hygraph.com/pricing The older free plans (with 5 seats, for example) still have a rate limit of 10 req/s. We would recommend looking into ways of throttling requests so you can stay within those limits. |
Hey @belazer, thanks for the reply. Is there a way to ensure this plugin doesn't exceed 10 req/s? It's causing builds to fail right and left. Or perhaps slightly increase the limit for authenticated requests? |
Unfortunately, I'm not the right person to comment on the code side - but I remember there was a way to throttle requests within Gatsby. I will need to check with the team if anyone is aware of a way to do it. |
Did you already try the |
Are there any known workarounds for this build-time error?
The error appears intermittently (~50%) and usually resolves after running the build again.
Running versions:
gatsby: ^4.24.4
gatsby-source-graphcms: ^2.8.0
The text was updated successfully, but these errors were encountered: