-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Make sure the issue is related to Botpress Cloud.
- I confirm that the reported bug or feature request is not related to Botpress v12 and below (on premise version)
Report ID
report_01K456M0ZBJ7MXZWB85T5A6VXX
Description of the bug or feature request
When sending an interactive list message on WhatsApp, options can go irresponsive when they don't have a description, only id and title. If the user tries to select an option without a description on WhatsApp, the bot generates an error and doesn't proceed with the expected flow.
This is caused by Botpress's expected schema for interactive list options. The description field is not marked as optional in the schema, which I think it should, since WhatsApp itself treats it as optional.
Just adding a single whitespace character (" ") description to an option is a workaround to the problem, but the option is displayed differently on WhatsApp when it has a description, which doesn't look good with a whitespace description.
Steps to reproduce the issue:
- Send an interactive list message on WhatsApp with at least one option that doesn't have a description
- Tap on the interactive list message, choose one option without description and send.
- After sending, the bot doesn't answer anything, doesn't proceed.
Image with the error:
