Closed AyobamitheTitan closed 2 months ago
Hi there, I think the issue is that you've specified a trailing slash when specifying the URL. This is causing the twirp server to force a redirect. The workaround now is to just remove the trailing slash when specifying the URL.
However, we'll take a look on our side how to prevent this from happening as well.
We'll handle this on the server side with https://github.com/livekit/livekit/pull/2988
I was interacting with the RoomService class from livekit.api.room_service. Below is an excerpt from my code:
But then i got this error message:
So i did some debugging and i went into the /livekit/api/twirp_client.py file and i modified this section
to this:
With this modification I was able to successfully create a room and get this response:
This is my first time using the sdk in this capacity. I would appreciate some assistance. Thanks in advance for your help