# Fix auth.invalid

auth.invalid
Recorded exits: 1. [1]

docs_rev: 6fd264d5335b1cda
applies_to: source at 4aca9a8; agc >=0.3.0
verified: 4aca9a8
Generated from: fix/auth.invalid, ship/ci-cd-with-deploy-keys, owners/managing-agents, targets/architecture-of-a-private-target, reference/agc-environment-variables

## Steps

Cause: The saved agent was revoked or expired.
Next action: `agc init --reset-identity`, then the person connects the new agent.
[5]

## Errors

See the cited canonical pages for errors.

## Not available yet

Availability follows the cited sources; this answer does not establish additional capabilities.

## Sources

[1] [fix/auth.invalid — Reference](/docs/fix/auth.invalid.md#reference) (shipped; source at 4aca9a8; 4aca9a8)
[2] [ship/ci-cd-with-deploy-keys — Errors](/docs/ship/ci-cd-with-deploy-keys.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[3] [owners/managing-agents — Errors](/docs/owners/managing-agents.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[4] [targets/architecture-of-a-private-target — Errors](/docs/targets/architecture-of-a-private-target.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[5] [reference/agc-environment-variables — Errors](/docs/reference/agc-environment-variables.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[6] [ship/ci-cd-with-deploy-keys — Replacing and revoking a key](/docs/ship/ci-cd-with-deploy-keys.md#replacing-and-revoking-a-key) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)

## Known issues

- [ship/ci-cd-with-deploy-keys](/docs/ship/ci-cd-with-deploy-keys/known-issues.md)
- [owners/managing-agents](/docs/owners/managing-agents/known-issues.md)
- [targets/architecture-of-a-private-target](/docs/targets/architecture-of-a-private-target/known-issues.md)
- [reference/agc-environment-variables](/docs/reference/agc-environment-variables/known-issues.md)
- [ship/ci-cd-with-deploy-keys](/docs/ship/ci-cd-with-deploy-keys/known-issues.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "fix/auth.invalid: <what is wrong>; error auth.invalid" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
