While debugging an AWS Lambda function triggered by an API Gateway, a developer finds that the HTTP client receives an error code indicating that the server cannot process the request due to a client error. Which HTTP status code is typically returned by the API Gateway when the request payload is formatted correctly but invalid?
500 Internal Server Error
400 Bad Request
200 OK
502 Bad Gateway