I have an exception handler for Exception. app = APIGatewayRestResolver(enable_validation=True) @app.exception_handler(Exception) def handle_exception(ex: Exception ...