| Previous | Next |
| HTTP_E_STATUS_UNEXPECTED_REDIRECTION | HTTP_E_STATUS_UNEXPECTED_SERVER_ERROR |
HTTP_E_STATUS_UNEXPECTED_CLIENT_ERROR
HTTP_E_STATUS_UNEXPECTED_CLIENT_ERROR means the server or intermediary rejected the request with a 4xx response. The concrete status code and headers are essential: 401, 403, 404, 405, 407, 409, and 412 describe very different conditions.
What to check
- Preserve the exact HTTP status, request method, request headers, and any structured error body.
- Check authentication and authorization separately; a successful login does not imply that the caller is authorized for the resource.
- Do not retry unchanged requests automatically until the specific 4xx status is understood.
RFC 9110: Client error status codes
RFC 9110: HTTP status semantics
Looking for a different code? Search another status or error code.