https://retellai.com/?utm_source=discord&utm_medium=seo logo
Empty user utterance and response_required
# ❓・bug-report
v
Received an empty user utterance with response_required request type. That is unusual since if the user did not say anything, why should a response be required? How should we handle these? The call id is 406ea85b8dc2cfe02100f706b6b0dc11 024-05-31 00:05:54.620 verbose: Requesting response (transcript trimmed to last 2 utterances): { response_id: 51, transcript: [ { role: 'agent', content: 'How about tomorrow, Friday, at 10 AM Pacific Time? Does that work for ', words: [Array] }, { role: 'user', content: '', words: [] } ], interaction_type: 'response_required' }
n
Hmm might be some error in the transcription. Although I think this is rare. You can write some logic to ignore incoming requests with empty content in the last utterance or something
v
We can definitely hack it on our end, but I think something like this is better fixed on sever side and might indicate an issue elsewhere
n
@Zexia - Retell AI any clue?
z
yeah that's a known issue with transcription
if it recognize something, but then with more audio bytes it realizes it's not speech
it will send this
the tricky thing about that is you should not ignore it
because this basically interrupts the agent
and you want the agent to resume, so you would have to respond to this