Webhook execution error: Hook executed successfully but returned HTTP 400 missing_text_or_fallback_or_attachments

拈花ヽ惹草 提交于 2020-06-11 08:47:41

问题


I am trying to integrate Slack with GitLab.

  • I installed a webhook in slack and copied the webhook url to GitLab's app integration.
  • I have also enabled the Slack integration in GitLab's integration setting.

However I keep getting the error:

Hook executed successfully but returned HTTP 400 missing_text_or_fallback_or_attachments

How can I avoid this error?


回答1:


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

It includes:

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

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.



来源:https://stackoverflow.com/questions/60069769/webhook-execution-error-hook-executed-successfully-but-returned-http-400-missin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!