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

Changes to Slack upload API #9

Closed
martinjohndyer opened this issue May 7, 2024 · 0 comments · Fixed by #10
Closed

Changes to Slack upload API #9

martinjohndyer opened this issue May 7, 2024 · 0 comments · Fixed by #10

Comments

@martinjohndyer
Copy link
Member

martinjohndyer commented May 7, 2024

It seems Slack has changed how it uploads files. See https://api.slack.com/messaging/files#uploading_files.

The new method looks like a bit of a pain, you can see in the code slackapi/python-slack-sdk#1272. The right thing is probably to go back to using the official SDK since it has the single files_upload_v2 function (https://github.com/slackapi/python-slack-sdk/releases/tag/v3.19.0), which will revert https://github.com/GOTO-OBS/gtecs-control/pull/539 where I moved to requests only.

We have until 11th March 2025 to change this!

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.

1 participant