Hi folks,
I was hoping someone could help enlighten me where did I go wrong.
I’m trying to create an interactive dialog triggered by slash command.
I am able to successfully configure my slash command to trigger my integration.
My integration in turn, immediately triggers the interactive dialog via HTTP POST to https:///api/v4/actions/dialog/open, with the following JSON body:
{
"trigger_id": "*****",
"url": "*****",
"dialog": {
"callback_id": "*****",
"title": "*****",
"introduction_text": "*****",
"elements": [
{
"display_name": "*****",
"name": "*****",
"type": "text",
"placeholder": "*****,
"optional": "*****",
"min_length": "*****",
"max_length": "*****"
},
{
"display_name": "*****",
"name": "*****",
"type": "text",
"placeholder": "**********",
"optional": "*****",
"min_length": "*****",
"max_length": "*****"
},
{
"display_name": "*****",
"name": "*****",
"type": "select",
"options": [
{
"text": "*****",
"value": "*****"
},
{
"text": "*****",
"value": "*****"
},
{
"text": "*****",
"value": "*****"
},
{
"text": "*****",
"value": "*****"
}
]
}
]
}
}
I am certain the JSON is correct and valid.
However, I keep getting this response:
{
"id": "api.context.404.app_error",
"message": "Sorry, we could not find the page.",
"detailed_error": "There doesn\u0027t appear to be an api call for the url=\u0027/api/v4/actions/dialog/open\u0027. Typo? are you missing a team_id or user_id as part of the url?",
"status_code": 404
}
Where did I go wrong?