WebSocket 1006 Abnormal Closure on Custom Guest Chat Connect Payload

Looking for advice on

  • WebSocket handshake to wss://api.mypurecloud.com/api/v2/guest/conversations returns 1006 (Abnormal Closure)
  • I am bypassing the default widget to build a custom iOS UI and sending this JSON payload upon connection:
{"type": "connect", "payload": {"locale": "en-US", "name": "TestUser", "email": "[email protected]"}}
  • The Authorization header contains a valid Bearer token with guest:send scope, yet the server drops the socket immediately without a disconnect frame.