| Previous | Next |
| HNS_INVALID_JSON | HNS_ENDPOINT_SHARING_DISABLED |
HNS_INVALID_JSON_REFERENCE
HNS_INVALID_JSON_REFERENCE is an HRESULT used by Windows Host Networking Service (HNS). It indicates that one JSON field references an object, identifier, or path that cannot be resolved.
What to check for HNS_INVALID_JSON_REFERENCE
- Check every referenced network, endpoint, policy, adapter, and GUID in the submitted document.
- Create dependent HNS objects before submitting a configuration that refers to them.
- Avoid copying references from a different host or a previously deleted network.
Microsoft documentation on Windows container networking and HNS
Diagnostic discriminator: Resolve every referenced HNS network, endpoint, policy and GUID from the submitted JSON. If one referenced object was deleted or belongs to another host, correct that reference rather than retrying the unchanged document.
Looking for a different code? Search another status or error code.