Handler Inference Failure: UserLambdaValidationException

0

An error occurred (UserLambdaValidationException) when calling the InitiateAuth operation: DefineAuthChallenge failed with error The adapter was unable to infer a handler to use for the event. This is likely related to how the Lambda function was invoked. (Are you testing locally? Make sure the request payload is valid for a supported handler.).

Ouf
preguntada hace un mes104 visualizaciones
1 Respuesta
0

You can check some aspect information is below:

  1. The payload. It is a valid Json.
  2. The permission. You client role and the function Resource-based policy.
  3. Function handler. The handler should be in the format file.function_name.
profile picture
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas