| Previous | Next |
| WININET_E_INVALID_URL | WININET_E_NAME_NOT_RESOLVED |
WININET_E_UNRECOGNIZED_SCHEME
WININET_E_UNRECOGNIZED_SCHEME means that the URL scheme is not recognized or is not supported by WinINet for the requested operation. This is different from a DNS or connection failure: WinINet rejected the protocol selection before it could reach the host.
Typical causes
- A missing or malformed scheme separator.
- An application passing a custom scheme to an API that only supports WinINet protocols.
- A redirect or URL builder changing the scheme to one the caller did not expect.
How to diagnose
Validate the scheme against the protocol support required by the application, then log the original and resulting URL after redirect or canonicalization logic. For service or server software, do not use WinINet as a general networking layer; Microsoft documents WinHTTP as the service-safe HTTP client API.
Microsoft: About WinINet · Microsoft: WinINet error messages
Looking for a different code? Search another status or error code.