adorable-manchester-12761
10/07/2025, 3:44 PMtall-airline-16756
10/07/2025, 3:44 PMtall-airline-16756
10/07/2025, 3:44 PMWSServerHandshakeError 402 in your LiveKit Deepgram STT integration, which usually points to a hiccup during the WebSocket handshake. Although HTTP 402 (Payment Required) isn’t something Deepgram commonly uses, let’s walk through a few steps together to help get this sorted:
• First, please double-check that your DEEPGRAM_API_KEY is correctly set in your environment or properly passed to the STT constructor.
• Next, make sure the model, language, and other configuration settings are valid and compatible with each other.
• Also, take a moment to verify your network connection to Deepgram’s WebSocket endpoint at wss://api.deepgram.com/v1/listen.
• Lastly, it’s a good idea to confirm that your Deepgram account is active and there aren’t any billing issues.
If you’re still running into this error after these checks, reaching out to Deepgram support might shed more light on the 402 status. Please don’t hesitate to ask if you’d like me to guide you through any of these steps—I’m here to help!
Sources: examples/voice_agents/zapier_mcp_integration.py | Deepgram STT plugin guide | LiveKit Docs | Deepgram STT | LiveKit Docs | Deepgram STT integration guide | LiveKit Docs | plugins/deepgram/src/stt.ts