Hi, Did you get any solution for the same problem.
Kindly let me know if you find any solution. Thanks in advance, Jai On Apr 26, 5:03 pm, Deeraf <[EMAIL PROTECTED]> wrote: > This exception is occured when i try to run the following code > Execution of request > failed:http://www.google.com/m8/feeds/contacts/default/base > > GAuthSubRequestFactory authFactory = new > GAuthSubRequestFactory("cp","GmailTest"); > authFactory.Token = (String)Session["token"]; > ContactService service = new > ContactService(authFactory.ApplicationName); > service.RequestFactory = authFactory; > > ContactEntry newEntry = new ContactEntry(); > newEntry.Title.Text = "Information"; > > EMail primaryEmail = new EMail("[EMAIL PROTECTED]"); > primaryEmail.Primary = true; > primaryEmail.Rel = ContactsRelationships.IsWork; > newEntry.Emails.Add(primaryEmail); > > PhoneNumber phoneNumber = new PhoneNumber("111-111-222"); > phoneNumber.Primary = true; > phoneNumber.Rel = ContactsRelationships.IsMobile; > newEntry.Phonenumbers.Add(phoneNumber); > > newEntry.Content.Content = "Information Center"; > > Uri uriFeed = new > Uri(ContactsQuery.CreateContactsUri("default")); > ContactEntry createEntry = > (ContactEntry)service.Insert(uriFeed, newEntry); > > Last line is having exception --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Data Protocol" 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-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
