slack-github-action icon indicating copy to clipboard operation
slack-github-action copied to clipboard

missing_text_or_fallback_or_attachments

Open vignesh-desk opened this issue 3 years ago • 1 comments

Description

Error: missing_text_or_fallback_or_attachments Error: Request failed with status code 400

Include this as part of my github action and received the above error, tried with major versions as well

Read the SLACK_WEBHOOK_URL from my secret

- name: Send notify
        uses: slackapi/[email protected]
        env:
          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

vignesh-desk avatar Aug 12 '22 10:08 vignesh-desk

Hi @vignesh-desk, thanks for writing in. Can you double-check whether you've properly passed the message payload? You can refer to the example in this repo.

seratch avatar Aug 15 '22 01:08 seratch