Follow: Redirect
When I post a json to URL: http://<mattermost_server>/api/v4/actions/dialogs/open
A dialog cannot open, it get response:
{“id”:“api.context.invalid_body_param.app_error”,“message”:“Invalid or missing dialog in request body”,“detailed_error”:“”,“request_id”:“p7furam6m3b43fgcuit5b1ng7a”,“status_code”:400}
Who can tell me why this happens and what’s wrong with my posted json below
The json I post is:
{ "trigger_id": "cjRraGRhaG1tdHI4NXA0aHNvcWdpazk0bmg6ZnltZ3Joa2Zwam54M2tnbjl0dGE5ZDh4Z3k6MTU1NDU0MDY3NTUzMTpNRVlDSVFDcW1hdG0rSVZlc3hkcER5NkZzSmh5VWxLQk9RWEhycFRTUVNiU1JvQ3BzZ0loQUx4eTREc3hYUWx4TE82Rk1yL3g5bjA0YlJjRC9GQnY1Szd5VVFRVm9SYmk=", "url": "", "dialog": { "callback_id": "callid", "title": "dialog title", "elements": [ { "display_name": "Email", "name": "email", "type": "text" } ] } }