# expired_token

> The device code has expired. The device code expired before the sign-in was approved.

**The device code has expired.** The device code expired before the sign-in was approved.

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

## How to fix it

Run guv login again.

## What the response looks like

```json
{
  "type": "https://guv.dev/errors/expired_token",
  "title": "The device code has expired",
  "status": 400,
  "code": "expired_token",
  "detail": "The device code expired before the sign-in was approved.",
  "fix": "Run guv login again.",
  "docs_url": "https://guv.dev/errors/expired_token",
  "request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}
```

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