# 400 error on Slack webhook from Auth0

**URL:** <https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152>\
**Category:** Get Help\
**Tags:** slack, webhooks, auth0\
**Created:** [April 5, 2022, 12:42pm UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152 "2022-04-05T12:42:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vh1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vh1/32/36397_2.png) [@vh1](https://community.auth0.com/u/vh1)\
**Post date:** [April 5, 2022, 12:42pm UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152/1 "2022-04-05T12:42:07Z")

</div>

I’m trying to setup a monitoring stream which posts to slack if login attempts are failing, etc. I’ve created the webhook in Slack, and the Slack-provided test POST requests successfully generate posts on Slack. However, Auth0 doesn’t seem to be able to post to Slack. The Health tab shows a 400 error with:  
“message”: “Bad Request”,  
“details”: “missing\_text\_or\_fallback\_or\_attachments”

or

“details”: “invalid\_payload”

I’ve tried setting the content format to JSON Array, JSON Lines, and JSON Object. I’m guessing none of these are the correct format for Slack- is there an easy way to get the data in the correct format to be digested by the Slack webhook?

---

<div class="post-metadata">

**Author:** ![aj1337](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/aj1337/32/19477_2.png) [@aj1337](https://community.auth0.com/u/aj1337)\
**Post date:** [July 5, 2023, 8:40am UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152/2 "2023-07-05T08:40:47Z")

</div>

It sucks that no one from Auth0 responded to this post since April 22.

---

<div class="post-metadata">

**Author:** ![jon\_s](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jon_s/32/45008_2.png) [@jon\_s](https://community.auth0.com/u/jon_s)\
**Post date:** [September 11, 2023, 1:21pm UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152/3 "2023-09-11T13:21:36Z")

</div>

Yeah, this is pretty surprising. I was expecting this to be “easy”, alerting ourselves about login issues via Slack, but I guess this is just another thing that we need to beg for on the roadmap?

---

<div class="post-metadata">

**Author:** ![rnicholus](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rnicholus/32/59933_2.png) [@rnicholus](https://community.auth0.com/u/rnicholus)\
**Post date:** [September 4, 2024, 10:17pm UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152/4 "2024-09-04T22:17:18Z")

</div>

I opened a support ticket about this myself. Auth0 support doesn’t even know what i’m talking about, unsurprisingly. This won’t be fixed as far as i can tell. From my perspective, the only option is to have the webhook post to your own endpoint where you properly format the payload and then pass along to Slack.

---

<div class="post-metadata">

**Author:** ![catherineklara](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/catherineklara/32/59980_2.png) [@catherineklara](https://community.auth0.com/u/catherineklara)\
**Post date:** [September 5, 2024, 11:14am UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152/5 "2024-09-05T11:14:41Z")

</div>

I have also faced this issue many times.

---

<div class="post-metadata">

**Author:** ![tudor.smeu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tudor.smeu/32/59767_2.png) [@tudor.smeu](https://community.auth0.com/u/tudor.smeu)\
**Post date:** [October 2, 2024, 3:51pm UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152/6 "2024-10-02T15:51:28Z")

</div>

Hello,

For anyone coming to this topic later, please make sure to check the following **Knowledge Solution** as it should be helpful in solving the problem:  
[https://community.auth0.com/t/slack-integration-installation-instructions/148302](https://community.auth0.com/t/slack-integration-installation-instructions/148302)

I hope this was helpful.

Thanks,  
Tudor

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 16, 2024, 3:53pm UTC](https://community.auth0.com/t/400-error-on-slack-webhook-from-auth0/81152/8 "2024-10-16T15:53:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
