title: Telegram error 401: USER_DEACTIVATED after registration via telegram-cli
body: <p>My target is to registrate telegram accounts via python script.</p>
  
  <p>While i test registration by hands via telegram-cli (<a href="https://github.com/vysheng/tg" rel="nofollow noreferrer">https://github.com/vysheng/tg</a>) after successful registration account get permament ban after ~1-2min.</p>
  
  <p>If i register via phone or official telegram client, after registration - login via telegram-cli is OK.
  Problem only if i register via telegram-cli (<a href="https://github.com/vysheng/tg" rel="nofollow noreferrer">https://github.com/vysheng/tg</a>)</p>
  
  <p>Start of telegram-cli: </p>
  
  <p>telegram-cli -W -p profile_3 -k /etc/telegram/server.pub</p>
  
  <p>profile_3 is a config directive in ~/.telegram-cli/config file.</p>
  
  <pre><code>profile_3 = {
  config_directory = "~/.telegram-cli/3";
  msg_num = true;
  };
  </code></pre>
  
  <p>in ~/.telegram-cli/3 folder after registration creates files for auth. So after first login/registration i can move this folder to another stand and login without use phone number to account.</p>
  
  <p>So may be someone know why telegram banned me and which client for registration is better to use or how to solve my issue?
  Thanks</p>