| Previous | Next |
| TBS_E_PROVISIONING_INCOMPLETE | TPMAPI_E_NOT_ENOUGH_DATA |
TPMAPI_E_INVALID_STATE
TPMAPI_E_INVALID_STATE is a Windows TPM API result. It indicates that the caller used a TPM command-buffer operation in an invalid sequence or after the buffer had reached an incompatible state.
What to check
- Recreate the command buffer and follow the required initialization, append, and execution sequence.
- Check that a previous failure did not leave the buffer partially built or already submitted.
- Keep buffer ownership and state transitions serialized when several threads use TPM work.
Microsoft documentation for TPMAPI error codes
Looking for a different code? Search another status or error code.