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

429 Too many requests #13

Closed
CEBATOR opened this issue Mar 15, 2018 · 2 comments
Closed

429 Too many requests #13

CEBATOR opened this issue Mar 15, 2018 · 2 comments
Labels

Comments

@CEBATOR
Copy link

CEBATOR commented Mar 15, 2018

Started cleaning slack recently from CI bot spam
Once I got over 100 messages I start receiving:
Failed to delete (429 Client Error: Too Many Requests for url: https://slack.com/api/chat.delete?token=<my token>

According to Slak's Documentation the error shows up once you reach the limit and you should start parsing Retry-After parameter in the response.

@sgratzl
Copy link
Owner

sgratzl commented Mar 15, 2018

you can try to use the --rate 1 to limit the rate of requests to one per second

@CEBATOR
Copy link
Author

CEBATOR commented Mar 20, 2018

This actually works!
Thanks!

@CEBATOR CEBATOR closed this as completed Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants