'502 Bad Gateway when I provide a junk token for Authorization and a custom header

I have an express api on a couple of ec2 instances being load balanced and when I add an Authorization with a junk bearer token and a customized header, I get 502 Bad Gateway error and it's unclear to me as to why.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source