Product news
Explore product news, announcements, and feature updates
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ishanksharma
Dynatrace Promoter
Dynatrace Promoter

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.

 

Why this is changing?

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.

 

What should you do?

If you have installed Slack Connector before June 10, 2024, you must adapt to the change.

  1. Install the latest version of Slack Connector.

  2. 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.

  3. Select  New host pattern.

    1. Go to  Settings >  General > External requests.
    2. Add the domain names.
    3. Select Add.

    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.

  4. Add the files:read permission to your Slack app.

    1. Go to your Slack app in the Slack API.
    2. Select OAuth & Permissions.
    3. Navigate to Scopes and select Add an OAuth Scope.
    4. Enter files:read.
    5. Reinstall your Slack app.

     

    Note: The bot token you're using for the connection should not be affected by this change. Follow this link for further troubleshooting.