What does HRESULT 0xC03B001B (HNS_INVALID_JSON) mean?

 
Previous Next
HNS_REGKEY_FAILURE HNS_INVALID_JSON_REFERENCE

HNS_INVALID_JSON

HNS_INVALID_JSON is an HRESULT used by Windows Host Networking Service (HNS). It indicates that the HNS request is not valid JSON or cannot be parsed as the expected document.

What to check

  • Validate the serialized JSON before submission and retain the exact request in diagnostic logs.
  • Check quoting, commas, braces, escaping, and character encoding rather than only the object model.
  • Compare the request with a minimal known-good HNS definition to isolate the malformed field.

Microsoft documentation on Windows container networking and HNS


Looking for a different code? Search another status or error code.