CustomMessage lambda not getting clientMetata from forgotPassword()

0

We are using Cognito Pools for storing identities and calling them using the AWS SDK for PHP. We are using the mail triggers calling AWS lambda function to customize the mails dynamically.

The solution works well in Mumbai region (Cognito and Lambda both in Mumbai region) but the same code DOES NOT work in Ohio region. The lambda function returns a null value for clientMetadata in Ohio. Can someone please share a resolution?

질문됨 4년 전285회 조회
1개 답변
0

Hi, We were able to resolve the issue in AWS SDK for PHP. The issue is with the version of the SDK. The earlier versions of the SDK did not support clientMetadata to be passed back to the Cognito handler. That in turn results in no data into the Lambda function.

When we upgraded the SDK, everything just started to work like a charm.

Best regards !!

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠