Skip to main content
HTTP 101 Switching Protocols
The server agrees to switch protocols as requested via the Upgrade header — most commonly upgrading HTTP to a WebSocket connection.
1xx · Informational✗ not retryable — fix the request instead
In AI APIs specifically
Realtime voice/streaming APIs (e.g. OpenAI Realtime) use WebSocket upgrades; a missing 101 means the upgrade was refused.
Fix checklist
- Verify the Upgrade and Connection headers are sent correctly.
- Check that proxies/load balancers between you and the API support WebSockets.
Spec: RFC reference