token_expired
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
How to fix it
Section titled “How to fix it”guv login (agents: ask the token owner for a new agent token).If you are an AI agent
Section titled “If you are an AI agent”Do not try to create a new token yourself. Tell the human that your token has expired and ask them for a new one.
What the response looks like
Section titled “What the response looks like”{ "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.