| Previous | Next |
| HNS_VFP_PORTSETTING_NOT_FOUND | HNS_INVALID_NETWORK_TYPE |
HNS_INVALID_NETWORK
HNS_INVALID_NETWORK is an HRESULT used by Windows Host Networking Service (HNS). It indicates that a network definition is missing required fields or contains inconsistent values.
What to check for HNS_INVALID_NETWORK
- Validate the JSON schema, network type, subnets, gateways, and adapter references before submission.
- Compare the request with a known working network definition for the same Windows release.
- Record the exact HNS request body and any extended error returned by the host.
Microsoft documentation on Windows container networking and HNS
Diagnostic discriminator: Validate the final HNS network JSON for required fields and mutually consistent subnet, gateway, type and adapter values. A schema/definition failure should be separated from later switch or endpoint provisioning problems.
Looking for a different code? Search another status or error code.
