Discussions

Ask a Question
Back to All

LiveKit Error: 'Requested room does not exist' - Using Python Backend for URL and Token Generation

Hello everyone,

We’re encountering an issue when integrating LiveKit (version 2.8.1) with our application. We’re using a Python backend to generate the URL and access token, following the instructions provided in the HeyGen Streaming API integration with LiveKit v2 documentation.

Here’s a brief overview of the process:

The backend generates the LiveKit URL (a wss:// URL) and the access token using LiveKit’s server-side SDK.
We use these credentials to connect to the LiveKit room in our frontend with the following code:
typescript


await this.room.connect(url, accessToken);

However, when we attempt to connect, we encounter the error:

requested room does not exist

while calling /rtc/validate (automatically done by LiveKit)

I would like to have some guidance on how to continue.