amazon-cognito-identity-dart-2 icon indicating copy to clipboard operation
amazon-cognito-identity-dart-2 copied to clipboard

CognitoClientException 400 UnexpectedLambdaException

Open mikhael28 opened this issue 1 year ago • 1 comments

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 avatar Jul 20 '22 18:07 mikhael28

Happens on login.

mikhael28 avatar Jul 20 '22 18:07 mikhael28

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

Verify your lambda fuction.

CristopherVidalMachado avatar Aug 30 '22 20:08 CristopherVidalMachado

Thank you for your response! Closing.

mikhael28 avatar Aug 31 '22 20:08 mikhael28