561 Unauthorized (Load Balancer)

AWS load balancer code logged when an identity provider returned an error during authentication.

Status

HTTP/1.1 561 Unauthorized (Load Balancer)

Details

An Application Load Balancer configured to authenticate users through an identity provider records 561 when the provider returns an error code. The request never reached the target.

It indicates a problem in the OIDC or Cognito configuration rather than in the application behind the load balancer.

Common causes

How to fix it

As the client

As the server

Examples

(ALB access log)
561 - - "GET https://app.example.com/ HTTP/1.1"

See also