ConversationRelay: Invalid Message Received
PROGRAMMABLE VOICE
ERROR
A message was received on the websocket that did not match any of the supported messages that ConversationRelay can act upon.
- The websocket server is sending ConversationRelay a message that is not supported
- A component in front of the websocket server (API Gateway or Load Balancer) is sending ConversationRelay a message it cannot process
- Make sure all messages sent are conforming to the ConversationRelay websocket specification
- Make sure error handling is not sending back errors over the websocket to ConversationRelay
- Make sure API Gateways and Load Balancers are configured to not send errors to the ConversationRelay
Looking at the message can give an insight into why this might happen.