# Troubleshooting

> Fix common vantuly CLI errors: sign-in, server choice, builds and failed deploys.

Source: https://vantuly.com/docs/cli/troubleshooting

**`not signed in: run vantuly login (or set VANTULY_TOKEN)`** (exit 3). Run `vantuly login`. A token that expired (after 90 days) or was revoked in the panel also exits 3; sign in again.

**`This code is wrong, expired or already used`** in the browser, or **`the sign-in expired`** in the terminal. A code is valid once, for 10 minutes. Run `vantuly login` again and approve the new code.

**`Confirm your email address first`.** Open the link in the email Vantuly sent you (or send a new one from your profile), then approve the sign-in.

**`this team has 2 servers: pass --server with one of: ...`.** Pass `--server NAME`. Only the first deploy of a folder needs it. `this team has no ready server` means you have to [add one](/docs/start/connect-server) first.

**`this is a … project: run npm run build, then vantuly deploy …/dist`.** The CLI found a static-site project. Build it and deploy the folder it names.

**`nothing to deploy in ...`.** The folder has no `index.html`, `package.json`, `requirements.txt` or `pyproject.toml` at the top. Pass the build output folder.

**`Deploy failed (failed). The live site was kept.`** (exit 2). The CLI prints the last 60 lines of the build log. Fix the cause and deploy again; `vantuly logs` shows the whole log.

**`site ... is not in this team`.** The folder is linked to another team's site. Remove `.vantuly/project.json` to create a new site, or sign in to the right team.

**`checksum mismatch for vantuly-...: not installed`.** The download did not match the release's `checksums.txt`, so nothing was installed. Try again; if it keeps happening, do not work around it, and tell us.
