0

I just finished a Python Selenium script to automate Gmail accounts creation, using 5SIM API to verify and receive verification code. Everything is working fine and emails are created, but the problem is sometimes when I try to login with the created emails, Google block the account cause they know I'm using a bot, and I searched and found that using the same IP for multiple accounts creation can cause this too, so for each email I'm creating, I'm changing and using a different proxy (but sometimes even the proxy I use is already used before by someone else and my account is again blocked) or maybe the speed of creation ? Google page:

block account

If someone already got this error or found a solution please share.

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352

1 Answers1

0

This error message...

Your account have been disabled

...implies that your Google Account has been disabled as being the account owner you haven't followed the Google policies of:


This usecase

In your usecase using Selenium presumably your account got disabled due to either of the following reasons:

  • Use of multiple accounts for abuse: You have used automated bots to create fake accounts.
  • Automatic messages: Sending messages automatically through robodialing.
  • Impersonation & misrepresentation of identity: Impersonate a person or organization or misrepresent yourself.

Solution

You need to take some measure so your program doesn't gets detected as a following either of the approaches:

  • Change Google Chrome user agent while using Selenium.

You can find a relevant detailed discussion in Way to change Google Chrome user agent in Selenium?

  • Use rotating proxies to drive Selenium.

You can find a relevant detailed discussion in How to rotate Selenium webrowser IP address

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
  • After some work, i knew that it's a proxy problem, but i already triyed before to rotate proxy with selenium and change it for each instance, but changing proxy with Selenium is not working for me :( ( So i am doing it manually for now, untill i find a working solution ) Thanks ! – Soufiane El Himani Aug 08 '22 at 08:57