Hi I have an issue: 5-08-20 19:35:51,516 - ERROR l...
# ask-ai
c
Hi I have an issue: 2025-08-20 193551,516 - ERROR livekit.agents - exception occurred while executing tool {"function": "end_call", "speech_id": "speech_12d79b2bdc41"} Traceback (most recent call last): File "D:\conda\envs\voice_env\Lib\site-packages\livekit\agents\voice\generation.py", line 517, in _traceable_fnc_tool val = await function_callable() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Voice\Voice_Agent\tier1_livekit_agent\call_agent_test.py", line 96, in end_call await job_ctx.api.room.delete_room( api.DeleteRoomRequest(room=job_ctx.room.name) ) File "D:\conda\envs\voice_env\Lib\site-packages\livekit\api\room_service.py", line 108, in delete_room return await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<5 lines>... ) ^ File "D:\conda\envs\voice_env\Lib\site-packages\livekit\api\twirp_client.py", line 129, in request raise TwirpError( ...<4 lines>... ) livekit.api.twirp_client.TwirpError: TwirpError(code=not_found, message=requested room does not exist, status=404) 2025-08-20 193551,566 - DEBUG livekit.agents - tools execution completed {"spe
t
Thanks for reaching out, raj. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like the room you're trying to delete doesn’t exist. No worries though—here are a few things you can try to sort this out: • Double-Check the Room Exists: Before deleting, make sure the room is actually there. You can use the
list_rooms
API to see if it shows up. • Confirm the Room Name: Sometimes a small typo or extra space can cause issues. Check the room name carefully, including capitalization and any special characters. • Handle Missing Rooms Smoothly: If the room isn’t there, you can treat this as a minor hiccup and move on without throwing an error. • Verify Your Permissions: Make sure your API token has the right permissions to delete rooms. • Room Might Be Gone Already: It’s possible the room was deleted earlier or expired due to timeout. If you want, just share the room name or any other details you have, and I’ll be happy to help you figure this out! Sources: pkg/service/roomservice_test.go | SIP troubleshooting guide | LiveKit Docs | livekit-api/livekit/api/room_service.py
c
can i get the transcription of the voice agent and human conversation
t
Hey there! You can grab the transcription of voice agent and human conversations in LiveKit in a few easy ways: • Real-time Transcriptions: Just use the LiveKit SDK to catch transcription events right in your frontend app. For example, in JavaScript, you can listen for the
RoomEvent.TranscriptionReceived
event to gather transcription bits as they happen. • Session History: You can check out the
session.history
property to get the full conversation history. This is handy if you want to save it to a file once the session wraps up. • Event-based Logging: Keep an ear out for events like
conversation_item_added
or
user_input_transcribed
to log transcriptions as they come in. • Automatic Forwarding: You can set up the
VoicePipelineAgent
or
MultimodalAgent
to automatically send transcriptions over to your client app. If you’d like me to walk you through any of these or need help setting things up, just give me a shout! Sources: Transcriptions | LiveKit Docs | complex-agents/nutrition-assistant/nutrition-assistant-frontend/hooks/useCo... | Session recording and transcripts | LiveKit Docs | Recording agent sessions | LiveKit Docs | AI voice agents | LiveKit Docs