DEV Community

Discussion on: Enforcing attribute uniqueness in Cognito with AWS Amplify and React

Collapse
mgiorgigithub profile image
mgiorgi • Edited on

Hi, I use Lambda function with React Native (Auth.signUp) and the error message returned is "PreSignUp failed with error [object Object].", can i pass the custom message only for this specific lambda like "SignUp failed, your email il already user"? I don't see EmailExistsException string... Thanks