Hi, Are you exchanging the single use token for a session token?
If you are not, I think that could be the problem, for more information see: http://code.google.com/apis/accounts/docs/AuthSub.html#AuthSubSessionToken Also, I recommend you to take a look of the samples on the following thread: http://groups.google.com/group/google-contacts-api/browse_thread/thread/437480301a735658/e0c6b6b1682f80ba Regards, Julian On Mar 24, 6:36 pm, AshishJaiman <[email protected]> wrote: > i am using .net library to retrive all the contacts using the code > > string url = ContactsQuery.CreateContactsUri("default"); > ContactsQuery query = new ContactsQuery(url); > ContactsFeed feed = _service.Query(query); > return feed; > > i then loop thru and make changes to some contactentry then when i > call > > ContactEntry updatedEntry = (ContactEntry)gc.Update(); > > it throws an 401 - unauthorized exeption - same thign happens with > delete > > i am using authsub authentication and storing the session token and > reusing it. > > any help will be appriciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts 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-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
