code_not_found

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

When

No open room has this code.

What to do

Check the code (6 letters, no vowels), or create a room.

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": "code_not_found",
  "detail": "A sentence that is safe to show.",
  "next": "Check the code (6 letters, no vowels), or create a room.",
  "docsUrl": "https://lobbylab.gg/docs/errors/code_not_found"
}

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