A developer configured an Amazon API Gateway proxy integration to work with a Lambda function. However, when the API is being called, the developer receives a 502 Bad Gateway error. He tried invoking the underlying function but it properly returns the result in XML format.What is the likely root cause of this issue?