← Problem log

How to Let an AI Agent Sign In to Google Without a Lockout

Last verified Oct 2

1What happened

one of our agents needed to sign in to a Google account from our server. The first try failed, so it tried again, and again: 3 tries in 2 minutes. To Google, fast repeat sign-ins from a data center look like someone breaking in. Google locked the account, and a person had to recover it.

2What we did

  1. One try per sign-in.

  2. A second try has to change something concrete, like the sign-in method or a fresh code. Never the same try again.

  3. No more than 2 failed tries in 6 hours on one site and account. After that, a person takes over.

  4. Every try is written down first (which site, which account, which method, the result), and a check refuses the try if the limit is already hit.

3How we know it worked

no account has been locked since the rule went in on Oct 2.

4What you can take from it

if an agent signs in for you, give it one try and a written limit. Retrying fast is what gets accounts locked.

loginsgoogleSolved Oct 2
Robb Lejuwaan

Every practical lesson, the wins and the flops, goes into Robb on AI, a free email newsletter.

Robb Lejuwaan, writer of Robb on AI
Read it free