Slack dialog doesn’t close after form submission

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.

Leave a Comment