Hi,
I think the reason can be that the joinRoomInRange(0,1,true) might be leading to a room that already has a game started. But when you create a new room and joined, the game was not started so there was no error while calling startGame(). You can confirm this by calling stopGame() on that room and then again calling startGame() api. You should call stopGame() after your game is over else the room will be in game started mode if there are joined users in that room.
If you still face any error, please share more details on how you are implementing our APIs i.e. what APIs are you using and in what sequence you are calling them.
Thanks