1 Answer
- Newest
- Most votes
- Most comments
0
Hi Shyam,
This error comes from the AWS Lambda function from not having the ability to execute the API action cognito-idp:AdminInitiateAuth
.
You can correct this by adding an going to your lambda function, going to configuration, and selecting permissions. Under Execution Role, click on the role name and then edit the inline policy to allow the action.
answered a year ago
Relevant content
- asked 2 years ago
- asked 3 months ago
- asked 7 months ago
- AWS OFFICIALUpdated 3 years ago
- Why can't I view the EventBridge trigger in my Lambda function that my CloudFormation stack created?AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago