Skip to content

token_expired

Error codeView as Markdown

Your token has expired. The token was valid but has passed its expiry time. CLI access tokens last one hour and refresh automatically; agent tokens expire on the date their owner chose.

  • HTTP status: 401 Unauthorized
  • 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
Terminal window
guv login (agents: ask the token owner for a new agent token).

Do not try to create a new token yourself. Tell the human that your token has expired and ask them for a new one.

{
"type": "https://guv.dev/errors/token_expired",
"title": "Your token has expired",
"status": 401,
"code": "token_expired",
"detail": "The token was valid but has passed its expiry time.",
"fix": "guv login (agents: ask the token owner for a new agent token).",
"docs_url": "https://guv.dev/errors/token_expired",
"request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}

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