-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add tests for errors and rate limit hits of the client #40
Comments
It seems like I cannot make it to hit the limit. When running a big query that returns a lot of nodes in a big organization larger than the one proposed here, I get a If I try to send continuous requests I get a I will try to record a |
502 for a large number of nodes is understandable. I wouldn't blame github too much for that. So there are 2 types of errors:
|
After working on the above query and a quarter of the hour was able to produce the RATE_LIMITED error. An issue perhaps is that the status code is
|
Sent an email to GitHub support to check their opinion since for the v3 API the response is 403. |
That's interesting. BTW maybe it was faster to change the code locally to build the api client without the token so that it reaches the limit much earlier. But who knows whether the response are different in case ot authenticated vs non-authenticated. @dpordomingo did you experience the same (the non-403 status code) while working on error handling? |
I don't think it is possible to send non-authenticated requests to the v4 graphql API according to docs. I've tested it also with |
Ah ok, I didn't know that, I just assumed that there was an equivalent as for v3. Thanks! 👍 |
Derived from #29 as a todo item
The text was updated successfully, but these errors were encountered: