Skip to main content
Triggered when the WebSocket connection fails to establish or encounters an error during connection setup.

Event Properties

string
Event type. Always "conversation.connected.fail" for this event.
string
Error message describing the connection failure reason.Example: "Connection timeout" or "Invalid license key"

Usage Example

When this event is received, the WebSocket connection has failed. You should clean up any resources and inform the user of the error.