Description
Describe your issue here.
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.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: v2
python version: 3.7
OS version(s): Windows 10
Steps to reproduce:
- I ran the code below:
import os
import slack
slack_token = os.environ["SLACK_API_TOKEN"]
client = slack.WebClient(token=slack_token)
client.files_upload(
channels="C3UKJTQAC",
file="test.csv",
title="Test upload",
filetype="CSV"
)
2.It runs with no error message but nothing posts to the slack channel
3.
Expected result:
What you expected to happen
I expected the file to be attached to the slack channel. The bot scopes I have are channels:read, chat:write, files:read, files:write, and users:read.
Actual result:
What actually happened
The code ran without error but nothing was posted to the slack channel.
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
Description
Describe your issue here.
What type of issue is this? (place an
xin one of the[ ])Requirements (place an
xin each of the[ ])Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: v2
python version: 3.7
OS version(s): Windows 10
Steps to reproduce:
import os
import slack
slack_token = os.environ["SLACK_API_TOKEN"]
client = slack.WebClient(token=slack_token)
client.files_upload(
channels="C3UKJTQAC",
file="test.csv",
title="Test upload",
filetype="CSV"
)
2.It runs with no error message but nothing posts to the slack channel
3.
Expected result:
What you expected to happen
I expected the file to be attached to the slack channel. The bot scopes I have are channels:read, chat:write, files:read, files:write, and users:read.
Actual result:
What actually happened
The code ran without error but nothing was posted to the slack channel.
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.