Skip to main content Join us as TDX comes to London! Over two days, experience the developer conference for the AI agent era. Become an Agentblazer and gain the critical skills needed to build the future of software with Agentforce. Register Now.

My message actions looks like this

{

 "channel": "",

 "text": "button variable",

 "replace_original": false,

 "attachments": [

  {

   "fallback": "We're sorry, something went wrong with connection. Please try again.",

   "callback_id": "url_buttons",

   "attachment_type": "default",

   "actions": [

...

    {

     "name": "333",

     "text": "btn3 var",

     "type": "button",

     "value": "aaa"

    }

   ]

  }

 ],

 "as_user": true

}

 

The message in bot looks fine:

Posting chat.postMessage - attachments and buttons (with actions) - after a button is clicked, the message gets edited to 

But sometimes, after a button gets clicked, the message gets edited and replaced with "{}":

Screenshot 2023-01-31 at 22.00.46 

I'm not sending anything else after the button gets clicked that would replace the message. Not sure what happens, this happens most of the times when a button is clicked.

 

Thanks for the help!