# Authentication is required

> Canonical HTML: https://screenrig.ai/problems/unauthorized/

HTTP 401 · `unauthorized`

## What it means

The API answers with HTTP 401 Unauthorized and an `application/problem+json` document when the condition is Authentication is required. The document's `type` member is `https://screenrig.ai/problems/unauthorized`, the address of this page, and its `code` member is `unauthorized`.

## What to do

The credential is missing, expired, or revoked, so retrying with it fails again. If a stored agent credential was rejected, sign this installation in again (screenrig login); enroll a new project only when the user asked for one.

## Player action

The Player action class is `remint`: Mint a new session, then continue.

## Reference

| Field | Value |
| --- | --- |
| Code | `unauthorized` |
| HTTP status | `401 Unauthorized` |
| Type | `https://screenrig.ai/problems/unauthorized` |
| Player action | `remint` |

- [All problem types](https://screenrig.ai/problems/)
- [API reference](https://screenrig.ai/docs/api/#problems)
- [Problem registry YAML](https://screenrig.ai/docs/api/problems.yaml)
