What does HRESULT 0x80100071 (SCARD_W_CACHE_ITEM_STALE) mean?

 
Previous Next
SCARD_W_CACHE_ITEM_NOT_FOUND SCARD_W_CACHE_ITEM_TOO_BIG

SCARD_W_CACHE_ITEM_STALE

The cache rejected an old value deliberately

SCARD_W_CACHE_ITEM_STALE means that the requested name-value pair existed in the Windows Smart Card Resource Manager cache but did not meet the caller's freshness requirement. The cache removes the outdated item rather than returning it as if it were current. This protects callers from using data that no longer corresponds to the current card state or expected revision.

The status is therefore stronger than a simple miss: it indicates that an old entry was known and invalidated. Treat the next step as a refresh from the authoritative card or provider, not as a reason to reduce the freshness requirement merely to make the error disappear.

What to inspect

  • Log the card identifier, lookup name, requested freshness counter, and the workflow that populated the cache.
  • Refresh data through the supported card/minidriver path, then write the new value with the correct revision.
  • Investigate frequent stale entries for card replacement, profile updates, provider bugs, or incorrect freshness handling.

References


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