examples icon indicating copy to clipboard operation
examples copied to clipboard

fix: aws-node-express-dynamodb-api return early in case of validation error

Open KaranGauswami opened this issue 2 years ago • 0 comments

In the aws-node-express-dynamodb-api example, it currently returns a 500 error in the case of a validation error, when it should be returning a 400 Bad Request. This PR aims to address this issue by implementing an early return.

Image

KaranGauswami avatar Oct 22 '23 14:10 KaranGauswami