{ "message": "OpenAI Realtime API failed to tr...
# ask-ai
b
{ "message": "OpenAI Realtime API failed to transcribe input audio", "level": "ERROR", "name": "livekit.plugins.openai", "error": "Error(code=None, message=\"Input transcription failed for item 'item_CDwAzScScKOCDmweddNR2'.\", param=None, type='server_error')", "pid": 16739, "job_id": "AJ_oCDHwr82tiKx", "timestamp": "2025-09-09T171210.273736+00:00" }
t
Thanks for reaching out, Sandeep. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like the OpenAI Realtime API wasn't able to transcribe the input audio for the item
item_CDwAzScScKOCDmweddNR2
. This can happen for a few reasons, like configuration settings, audio format differences, or some server-side hiccups. Let’s try a few things to get this sorted out: 1. First, double-check that the
input_audio_transcription
feature is turned on and set up correctly in your session. If you’re using Azure, the default model should be
whisper-1
, and for non-Azure setups, it’s
gpt-4o-mini-transcribe
. 2. Make sure the audio you’re sending matches the expected format: PCM 16-bit, 24000 Hz, mono. 3. Take a look at any server-side issues that might be affecting things, like internal errors, rate limits, or network troubles. 4. Remember that sessions in Realtime STT mode reset after 10 minutes by default, so keep an eye on how long your session has been running. 5. It’s also helpful to have a handler for the
input_audio_transcription_failed
event, so you can catch detailed error info when things don’t go as planned. 6. Lastly, confirm that your frontend audio input (like your microphone) is working properly. If you’d like, feel free to share more about your setup or any other details, and I’ll be happy to walk you through the next steps! Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/realtime... | plugins/openai/src/realtime/realtime_model.ts | agent/main.py