Webhook执行错误:挂钩成功执行,但返回HTTP 400 missing_text_or_fallback_or_attachments [英] Webhook execution error: Hook executed successfully but returned HTTP 400 missing_text_or_fallback_or_attachments

查看:499
本文介绍了Webhook执行错误:挂钩成功执行,但返回HTTP 400 missing_text_or_fallback_or_attachments的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Slack与GitLab集成.

I am trying to integrate Slack with GitLab.

  • 我在Slack中安装了一个Webhook,并将该Webhook URL复制到了GitLab的应用程序集成中.
  • 我还在GitLab的集成设置中启用了Slack集成.

但是我仍然收到错误消息:

However I keep getting the error:

Hook executed successfully but returned HTTP 400 missing_text_or_fallback_or_attachments

如何避免此错误?

推荐答案

当前紧随其后的是

This is currently followed by gitlab-org/gitlab-foss issue 41853

它包括:

不要使用Integration部分..进一步阅读.

Don't use the Integration part.. read further.

如果在Project > Settings > Integration页上向下滚动,请使用Slack Notifications通知Project服务的末尾.

Use Slack Notifications what's in the end of Project services if you scroll down on the Project > Settings > Integration page.

但这似乎并不总是足够的(它似乎

But even that does not seem to be always enough (it appears to work in the OP's case).
Check if you see any stack trace in sudo gitlab-ctl tail.

这篇关于Webhook执行错误:挂钩成功执行,但返回HTTP 400 missing_text_or_fallback_or_attachments的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆