-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Labels
Milestone
Description
Problem
I was create app by bolt for python, And deploy on Lambda.
But It's not work correct.
I investigated this issue and found problems in determining the following areas.
https://github.com/slackapi/bolt-python/blob/main/slack_bolt/adapter/aws_lambda/handler.py
line:35
method = event.get("requestContext", {}).get("http", {}).get("method")
On my Lambda environment, it's always return None.
Workaround
I modified it below.
method = event.get("requestContext", {}).get("httpMethod", {})
It's work correct.
Reactions are currently unavailable