0

I am new to node and AWS lambda, I want to run all API endpoints locally so I am hitting a protected route with all valid credentials, but still getting this error.

offline: Authorization response did not include a principalId: (λ: authorize) ,

any solutions?

  • Hello, Have you found a solution to this? I am experiencing the same issue. – Ryan Carville Aug 11 '20 at 23:06
  • @RyanCarville Yes, I was passing an incorrect variable to generate the policy method, in the response that I got the above error, I solved it by error handling and passing valid principleId(in my case its an userToken{UUID})to generate policy method – RIYAJ MULLA Nov 04 '20 at 04:21

0 Answers0