What does HRESULT 0x80072F8E (WININET_E_LOGIN_FAILURE_DISPLAY_ENTITY_BODY) mean?

 
Previous Next
WININET_E_NOT_INITIALIZED WININET_E_DECODING_FAILED

WININET_E_LOGIN_FAILURE_DISPLAY_ENTITY_BODY

WININET_E_LOGIN_FAILURE_DISPLAY_ENTITY_BODY is a WinINet HRESULT. It means that authentication failed, but the server supplied an entity body intended to explain the failure or present the next required action. The application should preserve safe error details and display the body only in a context where doing so is appropriate.

What to check

  • Inspect the HTTP status, authentication challenge and response content type before presenting the entity body.
  • Do not automatically render untrusted HTML in a privileged UI context.
  • Avoid logging credentials, tokens or complete response bodies that may contain sensitive information.

Microsoft documentation


Looking for a different code? Search another status or error code.