# CLI_CREDENTIAL_STORE_FAILED

- Surface: CLI
- Exit code: 1

## Cause

The credential store could not be read, written, or cleared.

## Fix

Check permissions on the credential file and retry. The failure is surfaced rather than absorbed so a login that did not persist never looks like a login that did.

## Related

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

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