I'm having trouble closing a Slack Modal from an AWS Lambda in NodeJs(14.x), getting a "We had some trouble connecting. Try again?" message. I have read several alternatives about returning an empty 200 ok message, but nothing seems to work. Currently, my AWS Lambda return looks like this:
// Handle the Lambda function event
module.exports.handler = async (event, context, callback) => {
const handler = await awsLambdaReceiver.start();
return handler(event, context, callback);
}
Any idea what is wrong with it?