Skip to content

expired_token

Error codeView as Markdown

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

Run guv login again.

{
"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.