v12
v12 copied to clipboard
Broadcast fails to send message via Twilio channel
Describe the bug A clear and concise description of what the bug is.
Broadcast Messages scheduled through the Broadcast module UI do not get sent to users on the twilio channel. It fails with the following error:
errorUnhandled Rejection
HTTP (post) URL /messages
Received ""body.conversationId" is required"
Request failed with status code 400
STACK TRACE
Error: Request failed with status code 400
at createError (/snapshot/botpress/node_modules/@botpress/messaging-client/node_modules/axios/lib/core/createError.js:16:15)
at settle (/snapshot/botpress/node_modules/@botpress/messaging-client/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/snapshot/botpress/node_modules/@botpress/messaging-client/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:482:12)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
To Reproduce Steps to reproduce the behavior:
- Schedule broadcast message through the Broadcast module, setting the filter to
channel === 'twilio' - The above error should show in the logs.
Expected behavior
The message should be sent without error.
Screenshots
Broadcast messages successfully being sent to the web emulator:

Environment (please complete the following information):
- OS: Linux
- Botpress Version 12.28.0 (Docker container)
Additional context
- The twilio channel works otherwise (receiving message, bot responses, handoffs)
- Broadcast messages sent to web channel function as expected
Was this issue ever resolved @jlangree ?
@jlangree the same behaviour for telegram