Skip to content

Slackdiff Hook Fails Due to Depreciation of files.upload API method #3189

@edchiodo

Description

@edchiodo

When attempting to send diffs to a Slack channel using the slackdiff hook, the following error is returned:

ERROR -- : Hook slack (#SlackDiff:0x00005613e0fc8498) failed (#<Slack::Web::Api::Errors::MethodDeprecated

I believe this is due to the retirement of the web API method files.upload for any Slack apps created after May 16, 2024, and will be sunset entirely on March 11, 2025: https://api.slack.com//changelog/2024-04-a-better-way-to-upload-files-is-here-to-stay

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions