player_rooms_limit_reached

A Multiplayer API error, sent with HTTP 403. Status: the Multiplayer API is in private alpha; this code is part of its published contract.

When

This player is already in 3 rooms. The answer carries quota.

What to do

Leave another room first.

The answer

Every error is a JSON body with a stable error code. Clients act on the codes they know and treat any other code as a failure of its HTTP status, and keep fields they do not know.

{
  "error": "player_rooms_limit_reached",
  "detail": "A sentence that is safe to show.",
  "next": "Leave another room first.",
  "docsUrl": "https://lobbylab.gg/docs/errors/player_rooms_limit_reached",
  "quota": {
    "name": "liveRooms",
    "used": 10,
    "limit": 10
  }
}

This code always carries quota.

See also: every error code, the API reference and the docs.