-
Notifications
You must be signed in to change notification settings - Fork 43
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
Slack files.upload Broken for New Slack Apps as of May 2024 #235
Comments
moustafab
added a commit
that referenced
this issue
Nov 27, 2024
The old `files.upload` API is deprecated and will be removed soon. It doesn't work for new slack workspaces created after May 2024. The new flow requires a 3 step process: 1. Call `files.getUploadURLExternal` to get the upload URL and file ID. 2. Upload the file to the URL using a PUT request. 3. Call `files.completeUploadExternal` to complete the upload and link it to the thread. Addresses #255, #235, and grafana/grafana#93398
moustafab
added a commit
that referenced
this issue
Nov 27, 2024
The old `files.upload` API is deprecated and will be removed soon. It doesn't work for new slack workspaces created after May 2024. The new flow requires a 3 step process: 1. Call `files.getUploadURLExternal` to get the upload URL and file ID. 2. Upload the file to the URL using a PUT request. 3. Call `files.completeUploadExternal` to complete the upload and link it to the thread. Addresses #255, #235, and grafana/grafana#93398
moustafab
added a commit
that referenced
this issue
Nov 29, 2024
The old `files.upload` API is deprecated and will be removed soon. It doesn't work for new slack workspaces created after May 2024. The new flow requires a 3 step process: 1. Call `files.getUploadURLExternal` to get the upload URL and file ID. 2. Upload the file to the URL using a PUT request. 3. Call `files.completeUploadExternal` to complete the upload and link it to the thread. Addresses #255, #235, and grafana/grafana#93398
moustafab
added a commit
that referenced
this issue
Nov 29, 2024
The old `files.upload` API is deprecated and will be removed soon. It doesn't work for new slack workspaces created after May 2024. The new flow requires a 3 step process: 1. Call `files.getUploadURLExternal` to get the upload URL and file ID. 2. Upload the file to the URL using a PUT request. 3. Call `files.completeUploadExternal` to complete the upload and link it to the thread. Addresses #255, #235, and grafana/grafana#93398
moustafab
added a commit
that referenced
this issue
Nov 29, 2024
The old `files.upload` API is deprecated and will be removed soon. It doesn't work for new slack workspaces created after May 2024. The new flow requires a 3 step process: 1. Call `files.getUploadURLExternal` to get the upload URL and file ID. 2. Upload the file to the URL using a PUT request. 3. Call `files.completeUploadExternal` to complete the upload and link it to the thread. Addresses #255, #235, and grafana/grafana#93398
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Image uploads to Slack using
ngalert.notifier.slack
are no longer working as of May 2024. Slack API has deprecated this method and prevents newly created apps from using it. The Slack API responds with "method_deprecated" and the upload fails.An example of an attempted image upload is below.
The text was updated successfully, but these errors were encountered: