hi
im starting out with gdata .net wrapper
heres my very simple code
Sub SyncPersons()
Dim settings = New RequestSettings(MyApp, myusername, mypass)
Dim cr = New ContactsRequest(settings)
Dim query = New ContactsQuery(ContactsQuery.CreateContactsUri("default"))
query.NumberToRetrieve = 5000
Dim f = cr.Get(Of Contact)(query)
For Each entry In f.Entries
dim p=findgperson(entry.id)
If entry.Updated > p.LastEdit Then
p.GoogleCode = entry.Id
Else
entry.Name.FamilyName = p.Surname
cr.Update(Of Contact)(entry) 'err here
End If
Next
End Sub
as soon as it reaches the update line, it crashes with the
GDataRequestException: The remote server returned an error: (400) Bad
Request.
what can possibly be wrong here?
thanks
--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html