Thanks for your help.
   
  My problem is solved. I need to URLEncode the Password.
  

Kulvinder Singh <[EMAIL PROTECTED]> wrote:
    I got the reason on my own. Its a bug in the API.
   
  look into the gauthRequest.cs class for the method : 
   
  QueryAuthToken(NetworkCredential nc)
   
  here when you set the 
   
  string postData = GoogleAuthentication.Email + "=" + nc.UserName + "&"; 
  postData += GoogleAuthentication.Password + "=" + nc.Password + "&"; 
  postData += GoogleAuthentication.Source + "=" + this.factory.ApplicationName 
+ "&"; 
  postData += GoogleAuthentication.Service + "=" + this.factory.Service + "&"; 
  postData += GoogleAuthentication.AccountType; 
  
and since the Password contains & it breaks the string.
   
  I have solved half of your problem myself. Rest should be solved ASAP by you 
guys.
   
  Thanks
   
  
Kulvinder Singh <[EMAIL PROTECTED]> wrote:
    Hi,
   
  In my application using Google Calendar API when i sent my Google Account 
User and Password to fetch the data from my Calendar, i got the 
"Error=BadAuthentication" error from google server. After a few hit and trials, 
i found that my password had "&" (ampersand) in it due to which i was getting 
this error.
   
  Any reason why the APi doesnt accept ampersand (&) in the Network credentials 
i suppiled ? or any change i need to do to accomplish my task. I dont want to 
change my password for this.
   
  Please help ASAP.
   
  Regards
  Kulvinder Singh
    
---------------------------------
  Access over 1 million songs - Yahoo! Music Unlimited.   
---------------------------------
  Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users




 
---------------------------------
Need a quick answer? Get one in minutes from people who know. Ask your question 
on Yahoo! Answers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to