Open kannanmr opened 8 months ago
Failed with the latest version as well slack-machine==0.35.0
Hey @kannanmr thanks for the report. I have never encountered this due to using Slack Machine only on smaller workspaces (~150 members). It's good that you brought this to light!
Because I have never encountered this myself (nor have others ever reported this), I'm not working on a fix yet. I can try to figure out a fix, but it will be hard for me to implement a fix, let alone test it, as I do not have access to a workspace where this would happen.
Are you open to try and implement a fix? From what I can see in the documentation, Slack Machine would need to catch the ratelimit (HTTP 429) error and then read the Retry-After
header to see how many seconds it has to wait before making a new request.
Trying to use this in an org of 15,000 people. Also rate limited.
Temporarily fixed by boosting the limit of the requests to 1000...turns out we have 67,000 users not 15,000. I will try to set up some sort of error handling. Edit: crashed anyways trying to load all the conversations. Not sure this is going to work on an org this size...
Opened #1115
Our workspace is a big one (typical of any medium to large corporate). The initial call to form channel_list is throwing a rateLimited SlackError. I looked through the code for rate_limit_errors handling, dont see any. Is there an option for this, or a fix for this is in the works?
I am running
slack-machine==0.32.0