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

When rate limited Retry-After is not exposed #5405

Open
safareli opened this issue Mar 20, 2025 · 3 comments
Open

When rate limited Retry-After is not exposed #5405

safareli opened this issue Mar 20, 2025 · 3 comments
Labels
needs-reproduction Awaiting a minimal reproduction

Comments

@safareli
Copy link

safareli commented Mar 20, 2025

from docs:

If you receive a 429 error code, you have been rate limited. All subsequent requests to that specific endpoint will be blocked for a given amount of time.

Requests that have been rate limited will receive the Retry-After response header, which contains the number of seconds after which the block expires.

yet js api does not expose the Retry-After

@safareli safareli added the needs-triage A ticket that needs to be triaged by a team member label Mar 20, 2025
@safareli safareli changed the title Retry-After is not exposed When rate limited Retry-After is not exposed Mar 20, 2025
@LekoArts LekoArts added needs-reproduction Awaiting a minimal reproduction and removed needs-triage A ticket that needs to be triaged by a team member labels Mar 21, 2025
@LekoArts
Copy link
Member

Hello!

Please don't delete our issue template, we require users to follow it for a reason. Change your issue and fill it out completely and provide a minimal reproduction.

@safareli
Copy link
Author

There is no minimal repro it's just not part of the api while doc states it is.

@dstaley
Copy link
Member

dstaley commented Mar 25, 2025

@safareli In this case having a sample of code where you'd expect to be able to access the value from the retry-after header would be useful for us! I'm looking at adding support, and would love to make sure I'm adding it where you expect it to be able to be accessed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-reproduction Awaiting a minimal reproduction
Projects
None yet
Development

No branches or pull requests

3 participants