Room mismatch
Code
AUTH/ROOM_MISMATCH
What it means
The room/realm id asserted by the client does not match what the server stored for this token.
When it happens
- The handshake roomId does not match the stored token record.
Typical scenarios:
- Client tries to reuse a token across different rooms
- Client has a stale realm selection but a token issued for another realm
How to handle
- Treat as authorization failure (
403). - Client should request a new token for the intended realm and reconnect.
Last updated on