WOAH - I found a bug in my indentiy-login function. So the problem has gone away
BUT why did older deploys not work when this was only in the lates version of the Function.
Functions are part of the deployments so should be saved with the deployment? Surely there is not just the latest version of Functions. I know you use AWS Lambda so maybe you do that? If so PLEASE DOCUMENTENT IT LOUD AND CLEAR!!!