My Pre Token Generation lambda setup in the Cognito fails because it\'s dependent on other APIS which isn\'t reliable and fails at times. I have realized that if the PTG lam