# Sign-in code problems

Source: https://tiltas.openpanel.sh/docs/troubleshooting/sign-in-codes

> When the code from the app is not accepted, has expired, or you cannot see it.

A Personal device signs in with a code: the app, or `sudo tiltas up` on Linux, shows a code of 8 letters and digits,
such as `WDJB-MJHT`. You type it on [tiltas.openpanel.sh/connect](/connect) in a browser where you are signed in to the
console, check the Device the page names, and approve. Each code works once, for **10 minutes**.

## What the page says

| The page says | Why | What to do |
|---|---|---|
| No Device is waiting with this code | A typo, or the Device stopped waiting. | Check the code on the Device, or start signing in there again. |
| This code has expired | More than 10 minutes passed. | Start signing in again on the Device for a new code. |
| This code was already used | It was approved or denied already. | If the Device is not in your Network, start again on the Device. |
| Waiting for an Admin to approve this Device | The Network has Device approval on. | An Owner or Admin approves it under **Devices**. See [Device approval](/docs/access/device-approval). |
| Your Plan's Device allowance is full | The Network has as many Devices as its Plan allows. | Remove a Device or upgrade. See [Limits and downgrades](/docs/billing/limits). |
| This Device signs in through OpenPanel | The Device signs in to a Network a partner created. | Open the link the Device showed you. See [Sign in with OpenPanel](/docs/devices/openpanel). |

## You cannot see the code

When you choose **Sign in**, the app shows the code and opens the browser's `/connect` page. If the browser opens full
screen over the app, switch back to the Tiltas window to read the code, then type it in the browser.

On Linux, `sudo tiltas up` prints the address to open and the code, and a QR code you can scan with your phone to open
the same address.

## The wrong Network

If you belong to several Networks, the approval page asks where to **Add it to**. Pick the Network before you choose
**Approve**. To move a Device to another Network later, sign it out and sign it in again there.

The page also asks you to sign in first when the browser is not signed in to the console. Use the account the Network
belongs to: the code adds the Device to a Network of the person who approves it.

## A warning on the approval page

> **This device asked from a different network than this browser.**

The Device asked from another internet connection than the browser you approve in. That is normal when you add a server
in a data centre from your laptop. If you did not just start signing in on that Device, choose **Deny**: someone may
have sent you their code to get their Device into your Network.

## On the Device

The app, or `tiltas up`, waits until you approve. It stops with a message when:

| Message | Why |
|---|---|
| the sign-in request expired; run the command again | Nobody approved within 10 minutes. |
| the sign-in was denied | Someone chose **Deny** on the approval page. |

Run `sudo tiltas up` again, or choose **Sign in** in the app, for a new code.
