How to handle client errors gracefully with AppSync and Lambda
AWS FeedHow to handle client errors gracefully with AppSync and Lambda With API Gateway and Lambda, you can handle client errors gracefully by returning a 4xx response. module.exports.handler = async (event) => { // run validation logic return { statusCode: 400 } } This way, we can communicate clearly to the client that there’s a problem…