| Previous | Next |
| SEC_E_INVALID_TOKEN | SEC_E_QOP_NOT_SUPPORTED |
SEC_E_CANNOT_PACK
SEC_E_CANNOT_PACK signals this condition: The security package could not marshal the logon buffer. The package could not prepare the credential or logon data in the format required for authentication. This normally requires application-level diagnostics rather than a password reset.
What to check
- Log the package, credential type, and calling API at the failure point without recording secret values.
- Verify that the caller passed the correct structure version and data sizes for the selected package.
- Check for code that crosses architecture, serialization, or impersonation boundaries before the SSPI call.
Microsoft: InitializeSecurityContext
Looking for a different code? Search another status or error code.
