| Previous | Next |
| TPMAPI_E_TPM_COMMAND_ERROR | TPMAPI_E_INVALID_ENCODING |
TPMAPI_E_MESSAGE_TOO_LARGE
TPMAPI_E_MESSAGE_TOO_LARGE is a Windows TPM API result. It indicates that the requested payload cannot be represented within the size limits of the selected TPM encoding.
What to check for TPMAPI_E_MESSAGE_TOO_LARGE
- Validate the maximum input size for the command and encoding used by the application.
- Split or redesign application data rather than passing a larger blob through a fixed TPM field.
- Confirm that length fields are calculated after all encoding transformations.
Microsoft documentation for TPMAPI error codes
Diagnostic discriminator: Measure the encoded command or message before submission and compare it with the TPM API message limit. This result means the message cannot fit the selected encoding/buffer path.
Looking for a different code? Search another status or error code.