-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Version: 3xenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitygood first issueweb-client
Milestone
Description
(Filling out the following details about bugs will help us solve your issue sooner.)
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))
- Try setting up an app to point to a different slack url that does not include a trailing
/ app = App(token=os.environ.get("SLACK_BOT_TOKEN"), client=WebClient(os.environ.get("SLACK_BOT_TOKEN"), "https://example.slack.com/api"))- This will fail 🔴
- Add a trailing
/
app = App(token=os.environ.get("SLACK_BOT_TOKEN"), client=WebClient(os.environ.get("SLACK_BOT_TOKEN"), "https://example.slack.com/api/")) - This will pass 🟢
Expected result:
app = App(token=os.environ.get("SLACK_BOT_TOKEN"), client=WebClient(os.environ.get("SLACK_BOT_TOKEN"), "https://example.slack.com/api"))
Should provide an informative error or format the slack URL to work
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.
filmaj
Metadata
Metadata
Assignees
Labels
Version: 3xenhancementM-T: A feature request for new functionalityM-T: A feature request for new functionalitygood first issueweb-client