Closed abhishek-appypie closed 2 years ago
"errorType": "TypeError", "errorMessage": "Cannot read property 'authorizer' of undefined", "trace": [ "TypeError: Cannot read property 'authorizer' of undefined",
const username = event.requestContext.authorizer.claims["cognito:username"];
Cloud you add console.log(event)
before the line to debug the lambda event?
Let me close this issue. If you still have such problem, I'll reopen this.
what have i missed? so it's showing unauthorised error in get_account lambda function, can anyone help