Getting Http 400 Bad request while adding new subscriber.

Jul 11, 2012 at 5:37 PM

 

 I am getting  Http 400 Bad request while adding new subscriber.
 Below is my code , 
 aweberClient  = new API(consumerKey, consumerSecret);
 aweberClient.OAuthToken = "<AccessToken>";
 aweberClient.OAuthTokenSecret = "<TokenSecrete>"
                            
 SortedList<string, object> param = new SortedList<string, object>();
 param.Add("name",name);
 param.Add("email",email);

 var account = aweberClient.getAccount();

foreach (var list in account.lists().entries)
  {
     
        BaseCollection<Subscriber> target = list.subscribers();

        Subscriber subscriber = target.create(param);
        
  }

Please help i am badly stuck at this. 

 

 

Dec 5, 2014 at 2:11 PM
Edited Dec 5, 2014 at 2:12 PM
Hi Ajay,

Have you got a solution to this proplem. I am getting exactly same issue and stuck here. If you found a solution, please share with me.

Thanks,
Sebi