slack-github-action
slack-github-action copied to clipboard
missing_text_or_fallback_or_attachments
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 }}
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.