| Previous | Next |
| TPMAPI_E_MESSAGE_TOO_LARGE | TPMAPI_E_INVALID_KEY_SIZE |
TPMAPI_E_INVALID_ENCODING
TPMAPI_E_INVALID_ENCODING is a Windows TPM API result. It indicates that a TPM blob or serialized structure does not match the encoding expected by the API.
What to check for TPMAPI_E_INVALID_ENCODING
- Verify the producer, TPM version, byte order, structure version, and serialization format of the blob.
- Do not pass text, base64, or transport-wrapped data where the API expects raw binary TPM data.
- Regenerate the blob from the original compatible API when conversion or corruption is suspected.
Microsoft documentation for TPMAPI error codes
Diagnostic interpretation
This result has the HRESULT value 0x8029010E. AllStat records the condition as “The encoding in the blob was not recognized.”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the tpmapi / encoding operation.
- check the documented return contract of the specific API because the same HRESULT can require different recovery in different interfaces.
Retry and recovery
” has changed.
Looking for a different code? Search another status or error code.