React User Registeration Page Erorr

0

I have a react front end user registration page for my web app and i'm getting error in console saying POST 400 (Bad Request) and Error during registration: InvalidLambdaResponseException: Unrecognizable lambda output. My user data us being sent to cognito and dynamodb and all backend is working correctly but on the front end i'm getting that erorr. Any suggestions?

1 Antwort
0

Check Userpool whether it has pre-sign-up lambda enabled. If so, the check the lambda return value. https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html

This is the best guess based on the symptoms described.

Providing more details around the errored API and its console log might be helpful.

Yungang
beantwortet vor 3 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen