Slack has deprecated the file upload endpoint. If you installed and configured Slack Connector after June 10, 2024, and followed all the steps described in Set up Slack integration, no additional action is needed.
To accommodate growing file sizes and advancements in Slack's infrastructure, file uploads are transitioning to a more asynchronous system using files.getUploadURLExternal and files.completeUploadExternal, replacing the current multipart POST method for files.upload. Starting May 16, 2024, newly created Slack apps would have had no longer access files.upload, though existing apps can use it until its sunset. Between June 2024 and February 2025, Slack sent reminders to app developers and workspace admins about this change, with files.upload officially being sunset on March 11, 2025, and fully discontinued by November 12, 2025.
If you have installed Slack Connector before June 10, 2024, you must adapt to the change.
Install the latest version of Slack Connector.
Add a New host pattern in External requests.
External requests enable outbound network connections from your Dynatrace environment to external services. They allow you to control access to public endpoints from the AppEngine with app functions and functions in Dashboards, Notebooks, and Automations.
Select New host pattern.
This way you can granularly control the web services your functions can connect to.
You need to add these domain names slack.com and files.slack.com.
Add the files:read permission to your Slack app.