Description
What is the best way to handle web API rate limiting with the new v2 client? The docs https://slack.dev/python-slackclient/basic_usage.html [slack.dev] don't seem to work anymore and the release notes and migration notes didn't suggest anything. I now get this error when hitting rate limiting but there appears no way to handle it like before since the response is never returned to me it is just output as an error.
slack.errors.SlackApiError: The request to the Slack API failed.
The server responded with: {'ok': False, 'error': 'ratelimited'}
What type of issue is this? (place an x in one of the [ ])
Requirements (place an x in each of the [ ])
- [X ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
- [X ] I've read and agree to the Code of Conduct.
- [X ] I've searched for any related issues and avoided creating a duplicate issue.
Reproducible in:
slackclient version: v2
python version: Python 3.7.3
OS version(s): Mac
Logs, screenshots, screencast, sample project, funny gif, etc.
Description
What is the best way to handle web API rate limiting with the new v2 client? The docs https://slack.dev/python-slackclient/basic_usage.html [slack.dev] don't seem to work anymore and the release notes and migration notes didn't suggest anything. I now get this error when hitting rate limiting but there appears no way to handle it like before since the response is never returned to me it is just output as an error.
slack.errors.SlackApiError: The request to the Slack API failed.
The server responded with: {'ok': False, 'error': 'ratelimited'}
What type of issue is this? (place an
xin one of the[ ])Requirements (place an
xin each of the[ ])Reproducible in:
slackclient version: v2
python version: Python 3.7.3
OS version(s): Mac
Logs, screenshots, screencast, sample project, funny gif, etc.