What does HRESULT 0x8002802A (TYPE_E_WRONGTYPEKIND) mean?

 
Previous Next
TYPE_E_INVALIDSTATE TYPE_E_ELEMENTNOTFOUND

TYPE_E_WRONGTYPEKIND

TYPE_E_WRONGTYPEKIND: the resolved Automation type has a different TYPEKIND than the caller requires

TYPE_E_WRONGTYPEKIND (0x8002802A) identifies a specific boundary: the resolved Automation type has a different TYPEKIND than the caller requires. Keep it separate from neighboring errors that may occur in the same product but represent a different lookup, state, trust, or transport decision.

Evidence to capture

Record the resolved type name/GUID, TYPEKIND, requested operation, HREFTYPE/MEMBERID path, and library version. This is a type-contract mismatch after lookup succeeds.

Corrective test

Correct the caller expectation or the generated metadata so the resolved type has the required kind, then repeat the same lookup/operation. Preserve the original identifiers while testing; if another HRESULT appears after this boundary is fixed, treat that value as the next-stage result.

Technical references


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