# CLI_SCOPE_UNRESOLVED

- Surface: CLI
- Exit code: 3

## Cause

The App, Environment, or Flag the command addresses could not be pinned down: nothing matched the selector, more than one thing matched it, or an Environment was named without an App.

## Fix

The message lists what is reachable so you can pick from it. Set a durable selection with `splitch use --app <app> --env <env>`, or pass `--app` / `--env` per command. When a key matches more than one resource, pass the canonical ID instead of the key.

## Related

- [APP_NOT_FOUND](https://splitch.dev/docs/error/APP_NOT_FOUND)
- [FLAG_NOT_FOUND](https://splitch.dev/docs/error/FLAG_NOT_FOUND)
- [CLI_NOT_AUTHENTICATED](https://splitch.dev/docs/error/CLI_NOT_AUTHENTICATED)

Source: https://splitch.dev/docs/error/CLI_SCOPE_UNRESOLVED