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
已提問 1 個月前檢視次數 102 次
1 個回答
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
已回答 25 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南