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

Repeated 429 (ratelimited) errors from slack #280

Open
eukim0704 opened this issue Mar 17, 2023 · 1 comment
Open

Repeated 429 (ratelimited) errors from slack #280

eukim0704 opened this issue Mar 17, 2023 · 1 comment
Labels

Comments

@eukim0704
Copy link

Hi, recently there has been repeated 429 (ratelimited) errors from slack when calling conversations.list api endpoint. Slack support has suggested adding pagination to our calls but I don't see any options in the bot.

We were leaning towards using the https://github.com/slack-ruby/slack-ruby-bot-server gem and/or the related https://github.com/slack-ruby/slack-ruby-bot-server-events gem to resolve the issue but our bot was never listed, so maybe there's a way to resolve this without changing the gem? Any help would be appreciated on the issue.

@dblock
Copy link
Collaborator

dblock commented Mar 17, 2023

What's the call stack that causes the rate limit?

The library that calls conversations.list is https://github.com/slack-ruby/slack-ruby-client. That supports pagination. https://github.com/slack-ruby/slack-ruby-client/blob/master/lib/slack/web/api/endpoints/conversations.rb#L242

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