0
comment
comment
on 6/6/2021 6:29 PM
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 with its request. It also lets the Lambda invocation complete …
How to handle client errors gracefully with AppSync and Lambda Read More »
Liked this article? Support me on Patreon and get direct help from me via a private Slack channel or[...]