# Why is a CLI command missing or rejected?

Company: Socra — Multiply Your Judgment
Canonical URL: https://support.socra.com/articles/art_01m3zvnh9zfv5yxkbav23wf6pg-missing-command

Check the installed command groups and the nearest help page. Product commands depend on their plugins, and each command accepts its own arguments and options. A spelling error or unsupported flag can be rejected before any product request is sent.

Start with:

```sh
socra --help
```

If the product group is absent, install its documented plugin. For Account, for example:

```sh
socra install account
socra account --help
socra account login --help
```

Use the argument order and flag names shown by the installed command. An error about a missing argument, unknown option, or invalid choice needs a command correction. Some invalid subcommands return the group's help, and extra positional arguments can be ignored. Help output or an accepted command alone does not establish that the intended operation ran.

Check success through the command's expected result, such as a returned resource ID or a later read of the resource. Do not infer success merely because the terminal returned to its prompt.

If the command reaches the service and reports an authorization error, inspect the Account identity and required permissions. For a timeout or service failure, preserve the error and check the resource before replaying a mutation. Install an update when there is evidence that the command version is incompatible.

## Article details

- Collection: [CLI](https://support.socra.com/collections/col_01m3xd0kvrzp27sgry6tjr6y9z-cli)
- Canonical: https://support.socra.com/articles/art_01m3zvnh9zfv5yxkbav23wf6pg-missing-command
