title: Whatsapp Login Failed not- authorized
body: <p>I am using <a href="https://www.nuget.org/packages/Whatsapp.NET/" rel="nofollow">this</a> API to connect &amp; send message to Whatsapp. Here is the code.</p>
  
  <pre><code>byte[] nextChallenge = null;
  WhatsApp wa = new WhatsApp("91999999999", "your password(WART)", "Name", true, true);
  wa.OnConnectSuccess += () =&gt;
  {
      Response.Write("connect");
      wa.OnLoginSuccess += (phno,data) =&gt;
      {
          wa.SendMessage("to", "msg");
      };
  
      wa.OnLoginFailed += (data) =&gt;
      {
          Response.Write("login failed "+data);
      };
      wa.Login(nextChallenge);
  };
  wa.OnConnectFailed+= (ex)=&gt;
  {
      Response.Write("connection failed");
  }
  wa.Connect();
  </code></pre>
  
  <p>I have generated the password with WART, but every time I run the code I get the error message</p>
  
  <pre><code>Login Failed not- authorized
  </code></pre>
  
  <p>What wrong I am doing there ?</p>