-
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
Alerting: Deprecated error on image upload to slack II #255
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
What happened?
This is still present in Grafana v11.4.0-207922
grafana | logger=ngalert.notifier.slack notifierUID= t=2024-11-16T17:33:05.052293625Z level=error msg="Failed to upload image" err="failed to send request: failed to send request: method_deprecated"
What did you expect to happen?
Correct image upload to slack
Did this work before?
No response
How do we reproduce it?
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana platform?
None
Datasource(s)?
No response
The text was updated successfully, but these errors were encountered: