502 bad gateway error from load balancer

Hello, we are getting 502 bad gateway error when sending Keycloak response to AWS load balancer. Can anyone help on this issue?