Slack 机器人交互消息。单击按钮时显示 "Oh no, something went wrong. Please try that again."

Slack Bot Interactive Message. Showing "Oh no, something went wrong. Please try that again." on button click

我有一个 slack 机器人,我在 chat.postMessage() 上使用 Tester 使用 Slack App 的开发者帐户发送结构化消息。

消息发送顺利,但是当点击按钮时显示- "Oh no, something went wrong. Please try that again." 在聊天 window 中,但在交互式消息请求 URL 中没有收到任何内容。

我不知道发生了什么,我们将不胜感激。

留言附件

[
    {
        "title": "The Further Adventures of Slackbot",
        "fields": [
            {
                "title": "Volume",
                "value": "1",
                "short": true
            },
            {
                "title": "Issue",
                "value": "3",
                "short": true
            }
        ],
        "author_name": "Stanford S. Strickland",
        "author_icon": "http://a.slack-edge.com/7f18/img/api/homepage_custom_integrations-2x.png",
        "image_url": "http://i.imgur.com/OJkaVOI.jpg?1"
    },
    {
        "title": "Synopsis",
        "text": "After @episod pushed exciting changes to a devious new branch back in Issue 1, Slackbot notifies @don about an unexpected deploy..."
    },
    {
        "fallback": "Would you recommend it to customers?",
        "title": "Would you recommend it to customers?",
        "callback_id": "comic_1234_xyz",
        "color": "#3AA3E3",
        "attachment_type": "default",
        "actions": [
            {
                "name": "recommend",
                "text": "Recommend",
                "type": "button",
                "value": "recommend"
            },
            {
                "name": "no",
                "text": "No",
                "type": "button",
                "value": "bad"
            }
        ]
    }
]

现在已经排序了。实际上我使用了错误的令牌,测试令牌,其中必须使用通过应用程序的 OAuth 流程获得的机器人访问令牌或用户访问令牌。