The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipe 'Slack Notify' throws 'invalid_payload' error

Hasan Toprakkaya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2022

We tried every example on Slack Notify pipe but we always got the error message "HTTP Response: invalid_payload"

Example pipeline;

image: atlassian/default-image:3
pipelines:
default:
- step:
script:
- pipe: atlassian/slack-notify:2.0.0
variables:
WEBHOOK_URL: $WEBHOOK_URL
MESSAGE: 'Hello, world!'

 

The error message;

Status: Downloaded newer image for bitbucketpipelines/slack-notify:2.0.0
INFO: Sending notification to Slack...
INFO: HTTP Response: invalid_payload
✖ Notification failed

 

Any suggestions to solve this problem? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Hasan Toprakkaya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2022

Ok. We figured it out.

We used the Slack's old Incoming WebHook URL and because of that we got this error message.

Now, we created an app on Slack and enabled the WebHook and use that WebHook URL and it worked. 

TAGS
AUG Leaders

Atlassian Community Events