I'm experiencing a persistent 404 "requested room ...
# ask-ai
e
I'm experiencing a persistent 404 "requested room does not exist" error with LiveKit Cloud egress recording, despite implementing all suggested fixes. Here's a complete summary: Current Setup: - LiveKit Cloud project with standard credentials - SDK versions:
livekit==1.0.12
,
livekit-api==1.0.5
,
livekit-agents==1.2.1
(all updated) - S3 bucket configured and accessible - Room exists and is connected (connection state: 1) Fixes Implemented (All Failed): 1. ✅ Connection timing: Added 2-second delay for metadata propagation 2. ✅ SDK version: Upgraded from
livekit-api==1.0.4
to
1.0.5
3. ✅ S3 configuration: Verified AWS credentials and bucket access 4. ✅ Room verification: Confirmed room name matches exactly 5. ✅ No custom endpoints: Using standard API client initialization Current Error:
Copy code
TwirpError(code=not_found, message=requested room does not exist, status=404)
What Works: - Room connection and interview functionality - S3 connectivity and bucket access - All other LiveKit Cloud features What Fails: - Egress recording with 404 error (persistent across all fixes) Questions: 1. Is there a known service issue with LiveKit Cloud egress service? 2. Can you verify my project configuration for egress functionality? 3. Are there alternative egress methods for LiveKit Cloud? Thanks for your help!
t
Thanks for reaching out, Jason. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm sorry you're encountering the 404 "requested room does not exist" error with LiveKit Cloud egress recording. This usually means the system can't find the room you specified. Let's work through a few steps that might help resolve this: • First, please double-check that the room name in your egress request exactly matches an active or existing room. • It's best not to wait explicitly for
CreateRoom()
API calls. Instead, letting the room auto-create when the first participant joins can help avoid any synchronization hiccups. • You can start egress operations right away without waiting for room creation confirmation—LiveKit will take care of creating the room if it doesn’t already exist. These suggestions follow LiveKit’s recommended approach for smooth room and recording management. If you have any more questions or need a hand with anything else, please don’t hesitate to reach out. I’m here to help! Sources: pkg/service/egress.go | CreateRoom() is Taking Too Long
e
Unfortunately, the 404 error is still persisting even with the immediate egress approach. The LiveKit Assistant's suggestion didn't resolve the issue either. ## What We've Tried: 1. ✅ Connection timing fixes - Added delays for metadata propagation 2. ✅ SDK version updates - Upgraded to
livekit-api==1.0.5
3. ✅ S3 configuration - Verified AWS credentials and bucket access 4. ✅ Immediate egress - Removed all delays, start egress immediately 5. ✅ Room name verification - Confirmed exact matches ## The Persistent Issue: The 404 error continues to occur regardless of approach:
Copy code
TwirpError(code=not_found, message=requested room does not exist, status=404)
what should we try next?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!