furaiev / amazon-cognito-identity-dart-2

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
187 stars 114 forks source link

CognitoClientException 400 UnexpectedLambdaException #204

Closed mikhael28 closed 2 years ago

mikhael28 commented 2 years ago

Encountering an odd error every once in a while, a 400 request that seems to be related to socket timeouts. Anyone else seeing this?

The full error is below:

CognitoClientException{statusCode: 400, code: UnexpectedLambdaException, name: UnexpectedLambdaException, message: PostAuthentication invocation failed due to error Socket timeout while invoking Lambda function.}
mikhael28 commented 2 years ago

Happens on login.

CristopherVidalMachado commented 2 years ago

You have a problem into your cognito integration lambda, for the trigger PostAuthentication.

Verify your lambda fuction.

mikhael28 commented 2 years ago

Thank you for your response! Closing.