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

slackr_upload() issue with oauth_token #137

Closed
rkersey8208 opened this issue Feb 3, 2021 · 0 comments · Fixed by #139
Closed

slackr_upload() issue with oauth_token #137

rkersey8208 opened this issue Feb 3, 2021 · 0 comments · Fixed by #139

Comments

@rkersey8208
Copy link

Following all initial directions, I ran

slackr_setup(echo = TRUE, channel = "#mychannel", incoming_webhook_url = "XXXX", bot_user_oauth_token = "xoxb-XXXX") and had no issues using functions like slackr and slackr_msg. However, when I attempted to run slackr_upload("filename", channels = "#mychannel", bot_user_oauth_token = "xoxb-XXXX"), it appeared to run fine, but with no output (no file upload) and no error.

I discovered that removing the oauth_token from the slackr_upload command fixed the issue:

slackr_upload("filename", channels = "#mychannel")

@mrkaye97 mrkaye97 linked a pull request Feb 4, 2021 that will close this issue
@mrkaye97 mrkaye97 closed this as completed Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants