This repository has been archived by the owner on Jul 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
"Retry-After" header is sometimes (0) when API returns rate-limit error #542
Comments
Happened again while I was logging a few things for something else:
|
Thanks for the report. Couple of questions:
|
The number returned by that header represents the second where the subsecond amount has been truncated. So a returned 0 can mean that the duration will be of 900ms. |
Hi! This issue was addressed. Please let us know if you encounter it again, and I'll reopen the issue. |
Thanks, Hugh. What was the solution? |
It was a small bug on our side that's fixed now 😄 |
1 task
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Endpoint(s):
Scope(s):
Steps to reproduce:
Inconsistent. I received a bunch of non-zero values, then I started receiving zeros, then I started getting the non-zeros again. It is currently working as expected but is clearly capable of returning zero under the right circumstances.
Expected behaviour:
Retry-After should be an integer greater than zero.
Actual behaviour:
Retry-After is given but is sometimes zero when the "API rate limit exceeded" error is received.
The text was updated successfully, but these errors were encountered: