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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack's files.upload method is being deprecated #1126

Open
delenamalan opened this issue May 19, 2024 · 2 comments
Open

Slack's files.upload method is being deprecated #1126

delenamalan opened this issue May 19, 2024 · 2 comments
Labels

Comments

@delenamalan
Copy link
Contributor

馃摚 Notification Service(s) Impacted
Slack

馃悶 Describe the bug
The Slack files.upload method used here is being deprecated. As of May 16th, it already does not work for newly created apps.

files.upload usages need to be replaced by files.getUploadURLExternal and files.completeUploadExternal.

馃挕 Screenshots and Logs
I'm getting this error for a newly created bot:

2024-05-19 13:32:26,132 - DEBUG - Response Details:
b'{"ok":false,"error":"method_deprecated"}'

馃捇 Your System Details:

  • OS: Mac OS 14.5
  • Python Version: 3.11.5

馃敭 Additional context

@caronc
Copy link
Owner

caronc commented May 19, 2024

Great find and thank you for reporting this! 馃檹 I noticed you also cloned the repository. Are you doing a PR for this?

@delenamalan
Copy link
Contributor Author

Hey @caronc, yes, I'm working on a PR for this. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants