AWS Certified Developer Associate DVA-C02 Practice Question
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?
200 OK
502 Bad Gateway
500 Internal Server Error
400 Bad Request