| Previous | Next |
| HTTP_STATUS_SITE_FROZEN | HTTP_STATUS_NETWORK_READ_TIMEOUT |
HTTP_STATUS_UNAUTHORIZED
AWS documents 561 when a listener authentication rule is configured and the identity provider returns an error while authenticating the user. It is not the standard HTTP 401 status.
Check the load balancer access logs for the reason code, then verify the identity-provider configuration, redirect URI, client credentials, and the user authentication flow.
AWS: Application Load Balancer troubleshooting
Operational meaning of HTTP 561 for HTTP_STATUS_UNAUTHORIZED
HTTP 561 (HTTP_STATUS_UNAUTHORIZED) is a server-error response. AllStat records its meaning as “561 Unauthorized”. For HTTP_STATUS_UNAUTHORIZED, interpret it with the request method, selected representation, response headers, and the specification or product that defines the code; the number alone does not prove that application work completed.
Client and server handling for HTTP_STATUS_UNAUTHORIZED
- Correlate HTTP_STATUS_UNAUTHORIZED with origin, gateway, load-balancer, and dependency logs to locate which hop generated it.
- For HTTP_STATUS_UNAUTHORIZED, record request and trace identifiers, upstream timing, retry count, and the health of the selected backend.
- For HTTP_STATUS_UNAUTHORIZED, use bounded retries with backoff only for idempotent work and only when the service policy permits them.
For telemetry, record HTTP 561, method, authority, route template rather than secrets, response headers relevant to caching or retry, latency, upstream identity, and whether the response originated at the application or an intermediary.
Looking for a different code? Search another status or error code.