It was a coincidence but I happened to see the loop in one of my Google templates. The problem was with access token stored in the template. Client Id and Client Secret was for one user account and access token generated was for another. That was creating the loop. I cleaned the access token and generated it again and now the template works. By any chance you have the same case with your google template?