| 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.
Looking for a different code? Search another status or error code.
