| Previous | Next |
| HTTP_E_STATUS_BAD_REQUEST | HTTP_E_STATUS_PAYMENT_REQ |
HTTP_E_STATUS_DENIED
HTTP_E_STATUS_DENIED maps to HTTP 401 Unauthorized. Despite the historical reason phrase, this status means that the request lacks valid authentication credentials for the target resource.
What to check for HTTP_E_STATUS_DENIED
- Inspect the
WWW-Authenticatechallenge to identify the authentication scheme the server accepts. - Verify token expiry, audience, issuer, clock skew, client certificate selection, or username/password credentials as appropriate.
- Do not confuse 401 with 403: a valid identity can still lack authorization for the requested action.
Diagnostic interpretation
This result has the HRESULT value 0x80190191. AllStat records the condition as “Unauthorized (401).”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the denied operation.
- Preserve the first failure in the call chain; a later HRESULT can describe cleanup rather than the original denied condition.
Retry and recovery
” has changed.
Looking for a different code? Search another status or error code.