Back to All

Missing Card buttons in JSON response using REST

I am using python to connect to my chatbot on snatchbot. I am able to establish the communication. Everything seemed to work fine, but I am unable to get card buttons in json. The buttons list is always empty, though I have buttons on on my card. I have tried mutilple times and in multiple ways but the buttons are always missing in the post response. kindly assist.

The below is the Json is received from the sample Cinema bot through REST. Notice that the buttons field in card is an empty list. The original cards have buttons.

{
"cards": [
{
"type": "gallery",
"gallery": [
{
"buttons": [],
"url": "https://www.rottentomatoes.com/m/due_date",
"image": "https://dvgpba5hywmpo.cloudfront.net/media/image/1498671043.bTsxMTE2NjcyMjtqOzE3NDU0OzEyMDA7ODAwOzEyMDA",
"subtitle": "Genre: Comedy",
"heading": "Due Date - Ticket $2.5"
},
{
"buttons": [],
"url": "https://www.rottentomatoes.com/m/the_hobbit_the_battle_of_the_five_armies",
"image": "https://dvgpba5hywmpo.cloudfront.net/media/image/1498671102.bTsxMTE3OTcwMztqOzE3NDU0OzEyMDA7NTA5Ozc1NQ",
"subtitle": "Genre: Action & Adventure, Science Fiction & Fantasy",
"heading": "The Hobbit: The Battle of the Five Armies - Ticket $2.5"
}
]
}
]
"status": true,
"messages": [
"This is the list of movies currently on screen in our Cinema.\ud83c\udfa5\ud83c\udf9e\ud83c\udfac"
],
"suggested": null
}