| Previous | Next |
| WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH | WS_E_SERVER_REQUIRES_DIGEST_AUTH |
WS_E_SERVER_REQUIRES_BASIC_AUTH
WS_E_SERVER_REQUIRES_BASIC_AUTH is a Windows Web Services API HRESULT. It means that the remote endpoint rejected the offered authentication scheme and requires HTTP Basic authentication.
Diagnostic discriminator: Distinguish the origin-server challenge from a proxy challenge and verify that the endpoint is protected by TLS before sending Basic credentials. If the server is reachable and explicitly requests Basic, focus on the endpoint realm and client security configuration. Preserve the challenge and requested resource while keeping passwords out of URLs and logs.
What to check for WS_E_SERVER_REQUIRES_BASIC_AUTH
- Confirm the endpoint is accessed through TLS before sending Basic credentials.
- Configure credentials through the supported client security settings and verify the correct realm.
- Avoid embedding passwords in URLs, source code or unredacted logs.
Looking for a different code? Search another status or error code.