# UNAUTHORIZED

- Surface: API
- HTTP status: 401

## Cause

No valid credential was presented, or the one presented could not be parsed.

## Fix

Send a credential. A Client Key (`pk_…` key material) evaluates; an API Key (`sk_…`) reads and writes the control plane. At the CLI, run `splitch login`.

## Related

- [CREDENTIAL_REVOKED](https://splitch.dev/docs/error/CREDENTIAL_REVOKED)
- [INSUFFICIENT_SCOPES](https://splitch.dev/docs/error/INSUFFICIENT_SCOPES)
- [FORBIDDEN](https://splitch.dev/docs/error/FORBIDDEN)

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