Skip to main content

I've been trying to send a message with 2 buttons and their actions, but it only sends the message with a single button, and in the Block Dynamic (Documentation) it shows that it can be replicated, but I've been getting this error only when I duplicate, if I leave only one button it will work. See the images.

Error:

Documentation:

My exemple bellow:

{

  "subscriber_id": 18******...,

  "data": {

    "version": "v2",

    "content": {

      "type": "whatsapp",

      "messages":  

        {

          "type": "text",

          "text": "simple text with button",

          "buttons": h

            {

              "type": "flow",

              "caption": "Test 1",

              "target": "content202504****...",

              "actions": b

                {

                  "action": "set_field_value",

                  "field_name": "testAPI",

                  "value": "some value"

                }

              ]

            },

            {

              "type": "flow",

              "caption": "Test 2",

              "target": "content202504****...",

              "actions":  

                {

                  "action": "set_field_value",

                  "field_name": "testAPI",

                  "value": "some value"

                }

              ]

            }

          ]

        }

      ],

      "actions":  ],

      "quick_replies": r]

    }

  },

  "message_tag": "ACCOUNT_UPDATE"

}

​@jplific your JSON body looks ok.

I'm almost sure that there's a 1-button limitation in WhatsApp.

I suggest you double-check with support, but this is most likely what's happening in your case.


Reply