# Unauthorized

> The request carries no valid credential, or the credential expired.

Source: https://nodus-platform-site.pages.dev/docs/reference/errors/unauthorized/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

<!-- Code generated by tools/errgen. DO NOT EDIT. -->

**HTTP status:** 401 · **Retryable:** no

The request carries no valid credential, or the credential expired.

## Message

```text
authentication required{reason}
```

## What to do

run `nodus login`, or send a valid API key as `Authorization: Bearer <key>`

## On the wire

The response is a Kubernetes `Status` with `reason: Unauthorized` and `code: 401`, plus `fix`, `docs` (this page) and `requestId`. `details.causes` lists the fields involved, when there are any. The CLI prints the fix and the request id; the Python SDK raises `nodus.errors.Unauthorized`.
