What does HRESULT 0x80093005 (OSS_DATA_ERROR) mean?

 
Previous Next
OSS_MORE_INPUT OSS_BAD_ARG

OSS_DATA_ERROR

OSS_DATA_ERROR (0x80093005) is an OSS ASN.1 runtime result for encoded octets rejected as invalid. The runtime can read the buffer but the tag, length, value, or encoding-rule requirements do not form a valid value for the selected schema. Because first failing offset and nearby octets is central to this condition, Microsoft’s HRESULT range and the OSS Nokalva return-code documentation should be read together. Start the investigation by recording selected BER, DER, PER, or other rule set, then separate the encoded value from generated artifacts, call arguments, and the runtime package actually loaded by the process.

Locate the failing codec stage

At the encoded octets rejected as invalid boundary, capture the first OSS function returning the value and note whether the operation was encode, decode, copy, compare, constraint validation, or trace setup. Preserve the selected PDU, encoding rules, and independent decoder result against the same schema; otherwise an outer certificate or security wrapper may hide the useful codec result behind a generic failure.

Evidence worth preserving

  • first failing offset and nearby octets
  • selected BER, DER, PER, or other rule set
  • independent decoder result against the same schema

A controlled way to reproduce it

  1. Separate transport decoding from ASN.1 decoding
  2. try one known-good sample from the same producer
  3. Compare schema revision before modifying bytes

What not to confuse it with: the result

This broad data status should not be replaced by a certificate-chain diagnosis: trust evaluation starts only after the object decodes.

Instrumentation

Where first failing offset and nearby octets can expose sensitive content, a hash plus a bounded structural excerpt is safer than the complete payload. Use selected BER, DER, PER, or other rule set together with OSS module paths and versions logged once per process so packaging differences can be correlated without flooding normal diagnostics.

Exit criteria: the result

Fix the producer, framing, or schema mismatch and keep the original binary as regression evidence.

Technical references


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