Slack dialog doesn't close after form submission

不羁的心 提交于 2019-11-27 16:24:05

Sending a 200 OK is not enough.

It also has to be empty OR contain a list of input validation errors in the correct format as JSON. If your response contains any other text (e.g. a warning message) it will create this error.

As it says in the documentation:

When the submission is without exception, your app must respond with 200 OK with an empty body. This will complete the dialog.

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