Just want to add more information and a sample. I tried the sample from the current mercurial source here<http://code.google.com/p/gdata-python-client/source/browse/samples/contacts/contacts_example.py>, and it still doesn't work. Here is the snipped that does exactly what the sample does, with hardcoded data:
def create_contact(gd_client): new_contact = gdata.contacts.data.ContactEntry(name=gdata.data.Name(full_name=gdata.data.FullName(text='Elizabeth Bennet'))) new_contact.content = atom.data.Content(text='Notes') # Set the contact's email addresses. new_contact.email.append(gdata.data.Email(address='[email protected]', primary='true', rel=gdata.data.WORK_REL)) # Send the contact data to the server. contact_entry = gd_client.CreateContact(new_contact) print "Contact's ID: %s" % contact_entry.id.text return contact_entry This also fails with exactly the same error. -- 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
