[solved] Invalid token error message when trying to use slack notifications

It must be me, but when Iā€™m trying to use the slack notification I get the not so helpful error message invalid token. Nothing else :frowning:

Any help/tips/hints would be greatly appreciated :slight_smile:
ā€”

kind: pipeline

name: notify-pipeline-start

steps:

  - name: slack

    image: plugins/slack

    settings:

      webhook:

        from_secret: slack_webhook

      channel: development

      template: test

I found a way to make it work!

The problem seems to be with using the deprecated incoming webhooks of slack.

Switching to a Slack App and adding an incoming webhook there made it work!

Edit: Found it and opened a PR https://github.com/drone/drone-plugin-index/pull/298