- Newest
- Most votes
- Most comments
@Keith_AWS, thanks for the suggestion, that was not the issue. I've already solved it. The issue was that I didn't return all fields of the original event. ( I received a deseriliazed version of the event that was missing some properties I didn't need, but that also prevented them to be serialized in the response ).
Adding "version", "userPoolId" and "region" to the response fixed the issue.
It would be great though that somehow it would be possible to see why Cognito didn't accept the response. At the moment it is just pure trial and error.
Is it possible that you are getting an error based on users not existing at the time of your invocation? I see some similar details in this post https://repost.aws/knowledge-center/cognito-prevent-user-existence-errors that might help you with your migration.
Glad it was resolved and I appreciate you sharing the answer back here.
Relevant content
- asked a year ago
- asked 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Could you provide screenshot of Lambda code?