{"action":"created","issue":{"url":"https://api.github.com/repos/slackapi/python-slackclient/issues/436","repository_url":"https://api.github.com/repos/slackapi/python-slackclient","labels_url":"https://api.github.com/repos/slackapi/python-slackclient/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/slackapi/python-slackclient/issues/436/comments","events_url":"https://api.github.com/repos/slackapi/python-slackclient/issues/436/events","html_url":"https://github.com/slackapi/python-slackclient/issues/436","id":453148235,"node_id":"MDU6SXNzdWU0NTMxNDgyMzU=","number":436,"title":"Handling Rate Limiting With v2 Commands","user":{"login":"CyTheGuy","id":13057069,"node_id":"MDQ6VXNlcjEzMDU3MDY5","avatar_url":"https://avatars0.githubusercontent.com/u/13057069?v=4","gravatar_id":"","url":"https://api.github.com/users/CyTheGuy","html_url":"https://github.com/CyTheGuy","followers_url":"https://api.github.com/users/CyTheGuy/followers","following_url":"https://api.github.com/users/CyTheGuy/following{/other_user}","gists_url":"https://api.github.com/users/CyTheGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/CyTheGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyTheGuy/subscriptions","organizations_url":"https://api.github.com/users/CyTheGuy/orgs","repos_url":"https://api.github.com/users/CyTheGuy/repos","events_url":"https://api.github.com/users/CyTheGuy/events{/privacy}","received_events_url":"https://api.github.com/users/CyTheGuy/received_events","type":"User","site_admin":false},"labels":[{"id":474745724,"node_id":"MDU6TGFiZWw0NzQ3NDU3MjQ=","url":"https://api.github.com/repos/slackapi/python-slackclient/labels/Priority:%20High","name":"Priority: High","color":"e99695","default":false},{"id":1389322377,"node_id":"MDU6TGFiZWwxMzg5MzIyMzc3","url":"https://api.github.com/repos/slackapi/python-slackclient/labels/Type:%20Bug","name":"Type: Bug","color":"56d3a7","default":false},{"id":1389322916,"node_id":"MDU6TGFiZWwxMzg5MzIyOTE2","url":"https://api.github.com/repos/slackapi/python-slackclient/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"fbc9ff","default":false},{"id":1389321339,"node_id":"MDU6TGFiZWwxMzg5MzIxMzM5","url":"https://api.github.com/repos/slackapi/python-slackclient/labels/Version:%202x","name":"Version: 2x","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"RodneyU215","id":3329665,"node_id":"MDQ6VXNlcjMzMjk2NjU=","avatar_url":"https://avatars3.githubusercontent.com/u/3329665?v=4","gravatar_id":"","url":"https://api.github.com/users/RodneyU215","html_url":"https://github.com/RodneyU215","followers_url":"https://api.github.com/users/RodneyU215/followers","following_url":"https://api.github.com/users/RodneyU215/following{/other_user}","gists_url":"https://api.github.com/users/RodneyU215/gists{/gist_id}","starred_url":"https://api.github.com/users/RodneyU215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RodneyU215/subscriptions","organizations_url":"https://api.github.com/users/RodneyU215/orgs","repos_url":"https://api.github.com/users/RodneyU215/repos","events_url":"https://api.github.com/users/RodneyU215/events{/privacy}","received_events_url":"https://api.github.com/users/RodneyU215/received_events","type":"User","site_admin":false},"assignees":[{"login":"RodneyU215","id":3329665,"node_id":"MDQ6VXNlcjMzMjk2NjU=","avatar_url":"https://avatars3.githubusercontent.com/u/3329665?v=4","gravatar_id":"","url":"https://api.github.com/users/RodneyU215","html_url":"https://github.com/RodneyU215","followers_url":"https://api.github.com/users/RodneyU215/followers","following_url":"https://api.github.com/users/RodneyU215/following{/other_user}","gists_url":"https://api.github.com/users/RodneyU215/gists{/gist_id}","starred_url":"https://api.github.com/users/RodneyU215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RodneyU215/subscriptions","organizations_url":"https://api.github.com/users/RodneyU215/orgs","repos_url":"https://api.github.com/users/RodneyU215/repos","events_url":"https://api.github.com/users/RodneyU215/events{/privacy}","received_events_url":"https://api.github.com/users/RodneyU215/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2019-06-06T17:19:12Z","updated_at":"2019-09-26T07:46:05Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nWhat 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.\r\n\r\nslack.errors.SlackApiError: The request to the Slack API failed.\r\nThe server responded with: {'ok': False, 'error': 'ratelimited'}\r\n\r\n### What type of issue is this? (place an `x` in one of the `[ ]`)\r\n- [X] question\r\n- [X] documentation related\r\n\r\n### Requirements (place an `x` in each of the `[ ]`)\r\n* [X ] I've read and understood the [Contributing guidelines](https://github.com/slackapi/python-slackclient/blob/master/.github/contributing.md) and have done my best effort to follow them.\r\n* [X ] I've read and agree to the [Code of Conduct](https://slackhq.github.io/code-of-conduct).\r\n* [X ] I've searched for any related issues and avoided creating a duplicate issue.\r\n\r\n---\r\n\r\n#### Reproducible in:\r\n\r\nslackclient version: v2\r\n \r\npython version: Python 3.7.3\r\n\r\nOS version(s): Mac\r\nLogs, screenshots, screencast, sample project, funny gif, etc."},"comment":{"url":"https://api.github.com/repos/slackapi/python-slackclient/issues/comments/535382946","html_url":"https://github.com/slackapi/python-slackclient/issues/436#issuecomment-535382946","issue_url":"https://api.github.com/repos/slackapi/python-slackclient/issues/436","id":535382946,"node_id":"MDEyOklzc3VlQ29tbWVudDUzNTM4Mjk0Ng==","user":{"login":"spumer","id":735150,"node_id":"MDQ6VXNlcjczNTE1MA==","avatar_url":"https://avatars0.githubusercontent.com/u/735150?v=4","gravatar_id":"","url":"https://api.github.com/users/spumer","html_url":"https://github.com/spumer","followers_url":"https://api.github.com/users/spumer/followers","following_url":"https://api.github.com/users/spumer/following{/other_user}","gists_url":"https://api.github.com/users/spumer/gists{/gist_id}","starred_url":"https://api.github.com/users/spumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spumer/subscriptions","organizations_url":"https://api.github.com/users/spumer/orgs","repos_url":"https://api.github.com/users/spumer/repos","events_url":"https://api.github.com/users/spumer/events{/privacy}","received_events_url":"https://api.github.com/users/spumer/received_events","type":"User","site_admin":false},"created_at":"2019-09-26T07:46:05Z","updated_at":"2019-09-26T07:46:05Z","author_association":"NONE","body":"If raw response will be present in SlackApiError, then we can get any data: status_code, headers, data, anything"}}
{"actor":{"display_login":"spumer"}}