CLI troubleshooting
Use these messages to fix common errors before opening the TUI or rotating tokens.
Error: Not logged in.
Cause: you haven't signed in on this machine yet.
$ movitera loginRunning in CI/CD? Authenticate with a token — see Use in CI/CD.
Esta solicitação de login expirou (this login request has expired)
Cause: the authorization screen that movitera login opens in the browser is valid for 5 minutes. The link expired before you clicked Autorizar (Authorize) — or it was already used, if the screen shows Esta solicitação já foi processada (this request has already been processed).
$ movitera loginApprove the new request in the browser within 5 minutes. If the screen shows Você não tem acesso ao cofre (you don't have vault access), ask the team admin for a Vault role on the selected team — see Authenticate.
Error: No team selected.
Cause: the command needs a team and no default has been set.
$ movitera team use <team-slug>Multiple credentials share that name.
Cause: run and secrets pull use the by-name ENV_BUNDLE endpoint, so duplicate names cannot be resolved safely.
- Rename one credential in the web app.
- Use
movitera creds list --env --search <name>to confirm the final name. - Run the command again with
-c <name>.
That credential isn't an env bundle.
Cause: run and secrets pull only accept ENV_BUNDLE credentials.
$ movitera creds list --env
$ movitera run -c <env-bundle-name> -- <cmd>This credential has no OTPAUTH_URI field.
Cause: the credential has no TOTP seed configured in Vault.
Fix: add the OTPAUTH_URI field to the credential in the web app, then run movitera totp <credential-id> again.