Skip to main content

Enumeration: AuthErrorTypes

Authentication error types

Enumeration Members

CodeMismatchException

CodeMismatchException: "CodeMismatchException"

Invalid code or auth state for the user.


DeviceConfig

DeviceConfig: "deviceConfig"

Device tracking has not been configured in this User Pool


EmptyCode

EmptyCode: "emptyCode"

Provided confirmation code was empty.


EmptyPassword

EmptyPassword: "emptyPassword"

Provided password was empty.


EmptyUsername

EmptyUsername: "emptyUsername"

Provided username was empty.


InvalidUsername

InvalidUsername: "invalidUsername"

The username should be valid email address.


NetworkError

NetworkError: "networkError"

There was some network error during the request.


NoAccess

NoAccess: "NoAccess"

This exception is thrown then a user doesn't have access to current customer


NoUserSession

NoUserSession: "noUserSession"

Failed to get the session because the user is empty


NotAuthorizedException

NotAuthorizedException: "NotAuthorizedException"

This exception is thrown when a user isn't authorized.


SignUpError

SignUpError: "signUpError"

There was some error while creating account


UserAlreadyAuthenticatedException

UserAlreadyAuthenticatedException: "UserAlreadyAuthenticatedException"

This exception is thrown when a user tries to sign in while being already sign in


UserLambdaValidationException

UserLambdaValidationException: "UserLambdaValidationException"

This exception is thrown when the Amazon Cognito service encounters a user validation exception with the AWS Lambda service.


UserNotConfirmedException

UserNotConfirmedException: "UserNotConfirmedException"

This exception is thrown when a user isn't confirmed successfully.


UserNotFoundException

UserNotFoundException: "UserNotFoundException"

This exception is thrown when a user isn't found.