# challenge_expired

> The sign-in or approval challenge has expired. Sign-in and approval challenges last five minutes so that an old one cannot be replayed.

**The sign-in or approval challenge has expired.** Sign-in and approval challenges last five minutes so that an old one cannot be replayed. This one has run out.

- **HTTP status:** `400 Bad Request`
- **CLI exit code:** `2` (the request or file is not valid)
- **Retry:** not as it is; the same request will fail the same way until the cause is fixed

## How to fix it

Start again; challenges last five minutes.

## What the response looks like

```json
{
  "type": "https://guv.dev/errors/challenge_expired",
  "title": "The sign-in or approval challenge has expired",
  "status": 400,
  "code": "challenge_expired",
  "detail": "Sign-in and approval challenges last five minutes so that an old one cannot be replayed.",
  "fix": "Start again; challenges last five minutes.",
  "docs_url": "https://guv.dev/errors/challenge_expired",
  "request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}
```

The `code` field is stable: match on it, not on `title` or `detail`, which may be reworded.
