The room not available
myxomor opened this issue Β· comments
Hey! I try to connect to room with channel name from the link, but get that message:
{'success': False, 'error_message': 'That room is no longer available ππΌ\nTry starting a new one instead?'}
And my friends with iOS can get access to that room. I don't understand why it happened.
There could be several reasons for this
- You do not have enough permission to enter the channel
- The channel works differently.
Ref. https://github.com/stypr/clubhouse-py/blob/v304/clubhouse.py#L501-L513
Try fixing the code to
client.join_channel(channel="channel_id", attribution_source="link")
Let me know if this has resolved your issue
I applied these changes, but I can only connect to channels from the list
The suggested step is the actual step that was directly taken from the Clubhouse app. If it didn't work, there is some other issue here.
I've tested this locally and it did work from my side. I guess there's something wrong from your side.
I checked how Android build has implemented this part and I see that there's no difference from my code.
https://github.com/grishka/Houseclub/blob/1.0.6/Houseclub/src/main/java/me/grishka/houseclub/MainActivity.java#L109-L138
https://github.com/grishka/Houseclub/blob/1.0.6/Houseclub/src/main/java/me/grishka/houseclub/MainActivity.java#L140-L165
https://github.com/grishka/Houseclub/blob/1.0.6/Houseclub/src/main/java/me/grishka/houseclub/api/methods/JoinChannel.java#L12
You also need to check if the channel contains is_private
or is_social_mode
. There are some channels that you may not have permissions to enter.
I will try to re-check if someone else suffers from the similar issue.