kubeshop / botkube

An app that helps you monitor your Kubernetes cluster, debug critical deployments & gives recommendations for standard practices
https://botkube.io
MIT License
2.11k stars 289 forks source link

Replace discontinued `files.upload` API in Slack platforms #1438

Open mszostok opened 4 months ago

mszostok commented 4 months ago

Overview

The files.upload web API method that we use to upload a long messages (e.g. logs) will be discontinued.

To prepare for this change, we recommend migrating away from files.upload and instead using the combination of files.getUploadURLExternal and files.completeUploadExternal. More information on how to use these two APIs together can be found on our Uploading files documentation. You can also leverage Slack’s SDKs to help you transition to this new way of uploading files by visiting our api.slack page.

Acceptance Criteria

Reason

Support for the files.upload API will be discontinued on March 11, 2025.

mszostok commented 2 months ago

The issue is more critical than we thought initially. The cloud version of our application will work fine until sunset on March 11, 2025.

However, all new applications created after May 16, 2024 are no longer able to use this API method. This means that our Socket Slack lacks the file upload feature for all new users since May 16, 2024.

image

cc @brampling

vaijab commented 1 month ago

This is currently blocked / parked until either Slack fixes their API or we're forced to require files:read permissions scope for our bot app.

See this slack thread for more details about the issue with Slack API.