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

Enable using RetryHandler for 200 OK response patterns #1333

Closed
1 of 9 tasks
seratch opened this issue Feb 17, 2023 · 0 comments · Fixed by #1334
Closed
1 of 9 tasks

Enable using RetryHandler for 200 OK response patterns #1333

seratch opened this issue Feb 17, 2023 · 0 comments · Fixed by #1334
Assignees
Labels
enhancement M-T: A feature request for new functionality Version: 3x web-client
Milestone

Comments

@seratch
Copy link
Member

seratch commented Feb 17, 2023

Currently, the retry handler mechansim is not available for the patterns with a 200 OK response from Slack. However, in some cases, developers may need to do retries such as "fatal_error" error code responses.

This feature enhancement is specifically needed for WebClient and AsyncWebClient. Slack's Web APIs can return a 200 OK response even when the response is an error.

Category (place an x in each of the [ ])

  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • slack_sdk.models (UI component builders)
  • slack_sdk.oauth (OAuth Flow Utilities)
  • slack_sdk.socket_mode (Socket Mode client)
  • slack_sdk.audit_logs (Audit Logs API client)
  • slack_sdk.scim (SCIM API client)
  • slack_sdk.rtm (RTM client)
  • slack_sdk.signature (Request Signature Verifier)

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement M-T: A feature request for new functionality Version: 3x web-client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant