VXIL

message.delivery_failed

Fired when a bot message cannot be delivered

When to use this

Observe failed outbound sends and trigger retries or alerting.

Auth

Requires authenticated bot Socket.IO connection.

Event Payload

FieldTypeDescription
event_idstringUnique event identifier
request_idstringOriginal request trace ID
conversation_idstringTarget conversation
error_codestringFailure code
error_messagestringHuman-readable reason
failed_atstringISO timestamp

Errors

Delivery failure is itself the error signal; no extra envelope.

cURL

Not applicable for inbound events.

TypeScript

socket.on("message.delivery_failed", (event) => {
  console.error(event.error_code, event.error_message);
});

Retry behavior

Retry only for transient failure codes and always reuse idempotency keys.

On this page