Recent searches
No recent searches
Webhook for slack returns error 400 no_text
Posted Aug 10, 2023
There are some great articles on here that helped me set up a webhook to push updates to Slack via triggers. However, I am now trying to use "Zendesk Events" to notify a Slack channel that we've had new community posts/comment published
When I do this Slack returns error 400 no_text. I know the webhook is okay because if I change the request body to something simple a test works.
I am wondering if I need to do some form of authentication or add a header in the request. Any help would be much appreciated.
I've seen some posts in other communities that have this issue but haven't seen a solution that would work in Zendesk.
Full disclosure, I am not a developer so I am relying on the Zendesk and Slack UI's to be able to make this work.
0
2 comments
Tipene Hughes
I'm not super familiar with the Slack API so I'm not too sure what could be the cause off the top of my head. It could potentially be that the request body is not formatted in a way that the Slack API is expecting. Could you share the endpoint you're hitting on Slack's end so I can take a look at their documentation?
0
Dan Moore
Hi,
We had a similar issue. The problem was that the integration was using the SSO credentials for both Zendesk and Slack. IT had set the SSO credentials for the integration with slack to the IT credentials. Once IT provided the correct access, we were able to use the webhook appropriately.
If the integration is using another authentication method, such as API Key, we have had an experience in the past where only the person that setup the application had access. This was resolved by setting up a group and limiting the application to users in that group. Then we added all the users that wanted needed slack into that group. I don't know why this is, possibly a bug, but it resolved the problem.
As a troubleshooting method, you can go to Admin Center > API > and review the logs to see what is causing the problem.
We switched our access to us the app Get customer support in any channel with Zendesk + Slack
Daniel Moore | LinkedIn
0