# `native_anonymous_disabled`

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

A publishable key was used without an Origin (a native app or a server) and the project does not allow anonymous native play.

## What to do

Mint player tokens on your backend with the secret key, or turn on anonymous native play for the project.

## 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.

```json
{
  "error": "native_anonymous_disabled",
  "detail": "A sentence that is safe to show.",
  "next": "Mint player tokens on your backend with the secret key, or turn on anonymous native play for the project.",
  "docsUrl": "https://lobbylab.gg/docs/errors/native_anonymous_disabled"
}
```

See also: [every error code](/docs/errors), [the API reference](/docs/api) and [the docs](/docs).
