Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Pre-signup trigger output #207

Open
angsm opened this issue Aug 29, 2019 · 0 comments
Open

Pre-signup trigger output #207

angsm opened this issue Aug 29, 2019 · 0 comments

Comments

@angsm
Copy link

angsm commented Aug 29, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant