| Previous | Next |
| TPMAPI_E_INVALID_STATE | TPMAPI_E_TOO_MUCH_DATA |
TPMAPI_E_NOT_ENOUGH_DATA
TPMAPI_E_NOT_ENOUGH_DATA is a Windows TPM API result. It indicates that the encoded command is shorter than required for the operation or one of its expected fields is incomplete.
What to check for TPMAPI_E_NOT_ENOUGH_DATA
- Validate the command layout and every length field before submitting the buffer.
- Confirm that optional structures were encoded when the selected command requires them.
- Log the buffer size and the operation being built, but never log secrets or authorization values.
Microsoft documentation for TPMAPI error codes
Diagnostic discriminator: Compare the supplied command or serialized structure with the minimum fields and lengths required by the TPM API. This result indicates truncated or incomplete input data.
Looking for a different code? Search another status or error code.
