Hi,
May I know if its possible in the Pre-SignUp trigger, to catch the error in validationData from Cognito if it outputs an error message (like "user already exist"). Or at least how the error would look like in the events or context object.
To prevent the trigger from continuing the code if Cognito sends an error.
Hi, May I know if its possible in the Pre-SignUp trigger, to catch the error in validationData from Cognito if it outputs an error message (like "user already exist"). Or at least how the error would look like in the events or context object.
To prevent the trigger from continuing the code if Cognito sends an error.
Thank you Shimin A