| Previous | Next |
| TPM_E_INVALID_PCR_INFO | TPM_E_NOSRK |
TPM_E_NOSPACE
TPM_E_NOSPACE reports that a TPM 1.2 command does not have the required TPM storage capacity. The built-in Windows wording highlights the key-loading case, but the TPM 1.2 command specification also uses this result for nonvolatile-storage capacity and bounds checks.
This should be distinguished from TPM_E_RESOURCES, which is used for other internal resource pools such as sessions. The exact command tells whether TPM_E_NOSPACE concerns a loaded-key slot, NV capacity, or another storage bound.
Appropriate response
- Audit the application’s key-load and key-release lifecycle, especially error paths that skip cleanup.
- Use the documented context-save, flush, or key-lifecycle APIs for the TPM 1.2 stack in use; do not assume an opaque handle remains valid after unloading.
- Retry only after capacity has been deliberately released or the operation has been serialized with competing key users.
References
- Microsoft: TPM HRESULT values in Winerror.h
- TCG TPM 1.2 Part 2: Structures
- TCG TPM 1.2 Part 3: Commands
Looking for a different code? Search another status or error code.