# Fix mirror.secret_missing

mirror.secret_missing
Recorded exits: 2 (usage). [1]

docs_rev: 6fd264d5335b1cda
applies_to: source at 4aca9a8; agc >=0.3.0
verified: 4aca9a8
Generated from: fix/mirror.secret_missing, build/local-development-with-agc-up, build/env-mirror-and-shell-environment, build/secrets, reference/error-code-catalog

## Steps

Cause: A name in `[secrets] required` has no value on the mirror; `data.missing` names them
Next action: Add test values to `.env.mirror`
[2]

Cause: `up`
Next action:  |  | commands/mirror.ts:538
[6]

## 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/mirror.secret_missing — Reference](/docs/fix/mirror.secret_missing.md#reference) (shipped; source at 4aca9a8; 4aca9a8)
[2] [build/local-development-with-agc-up — Errors](/docs/build/local-development-with-agc-up.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[3] [build/env-mirror-and-shell-environment — Errors](/docs/build/env-mirror-and-shell-environment.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[4] [build/env-mirror-and-shell-environment — .env.mirror and the shell environment](/docs/build/env-mirror-and-shell-environment.md#envmirror-and-the-shell-environment) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[5] [build/secrets — How it works](/docs/build/secrets.md#how-it-works) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[6] [reference/error-code-catalog — Reference](/docs/reference/error-code-catalog.md#reference) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)

## Known issues

- [build/local-development-with-agc-up](/docs/build/local-development-with-agc-up/known-issues.md)
- [build/env-mirror-and-shell-environment](/docs/build/env-mirror-and-shell-environment/known-issues.md)
- [build/env-mirror-and-shell-environment](/docs/build/env-mirror-and-shell-environment/known-issues.md)
- [build/secrets](/docs/build/secrets/known-issues.md)
- [reference/error-code-catalog](/docs/reference/error-code-catalog/known-issues.md)

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