| 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.
for it, Microsoft documentation on Windows container networking and HNS
Diagnostic interpretation
This result has the HRESULT value 0xC03B001C. AllStat records the condition as “The reference is invalid in the JSON document.”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the hns / json / reference operation.
- check the documented return contract of the specific API because the same HRESULT can require different recovery in different interfaces.
Retry and recovery
” has changed.
Looking for a different code? Search another status or error code.