---
title: "Troubleshooting"
description: "Common refusals and setup problems, and how to fix them."
source: "Key Guardian"
---
## A workload was refused

The workload only hears `"result": "fail"` and a reference. Find the entry with that reference in
the [attestation logs](../secrets/attestation-logs.mdx), then look for the message below.

| The log shows                                                      | What to do                                                       |
| ------------------------------------------------------------------ | ---------------------------------------------------------------- |
| Signing identity gate: "nonce signature did not verify against any identity this manifest declares" | The nonce was signed by a key the manifest doesn't declare, or over different bytes. Sign the nonce's exact characters with the notary, and send that notary's manifest. |
| Signing identity gate: "manifest declares no identity"             | The manifest is from an older notary. Use vcomp-notary 0.0.7 or later. |
| "signing_did … is not declared by this manifest"                   | Drop `signing_did`, or send the DID the manifest actually declares. |
| A measurement check fails                                          | The workload runs different firmware, kernel, initrd or image than the policy allows. Compare the observed value with your [reference values](../secrets/reference-values.mdx). |
| Intel Trust Authority errors                                       | Set up [Intel Trust Authority](../administration/intel-trust-authority.mdx), and check Key Guardian can reach it. |

**`400` "nonce is not valid - request a new one".** The nonce expired (5 minutes) or was already
used. Request a fresh one for every attempt.

**`429`.** Over 120 requests a minute from one address. Behind a proxy, set `KG_TRUSTED_PROXIES` so
each client gets its own budget.

## Key Guardian starts sealed

The log says "no key slot could unwrap the data key", and nothing can be decrypted. The
`ENCRYPTION_KEY` (or the vault or HSM behind your other slots) isn't the one the data was sealed
with. Restore the original value; a new key can't recover the data. This is why you
[keep more than one slot](../administration/key-custody.mdx).

## Hardware

**A TPM shows "Awaiting root".** Its EK certificate doesn't chain to a certificate you trust. Add
the issuer it names under **EK chains**. See [Enroll a TPM](../hardware/tpm.mdx#if-it-shows-awaiting-root).

**A Mac doesn't appear after installing the profile.** Check the Mac can reach Key Guardian at
`PUBLIC_URL` over HTTPS with a certificate it trusts, and that the profile was installed within an
hour of downloading it. A token works once: create a new one to try again.

**Renewal is refused.** The Mac was revoked or deleted, its certificate expired, or its last Apple
attestation is over a year old. Enroll it again [with a token](../hardware/mac.mdx#with-a-token).

## Factory reset asks for a password

The hardware reset password guards both reset scopes. Ask EQTY Lab support for it.