Answer the question
In order to leave comments, you need to log in
How to move a contact to another group in google contacts?
Good day to all. Can't move contact in google contacts to another group. Example from documentation:
def add_group_membership(gd_client, contact_url, group_atom_id):
contact = gd_client.GetContact(contact_url)
contact.group_membership_info.append(contactsdata.GroupMembershipInfo(href=group_atom_id))
try:
updated_contact = gd_client.Update(contact)
return updated_contact
except gdataclient.RequestError, e:
print_exc()
if e.status == 412:
pass
return None
RequestError: Server responded with: 400, <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>invalid</code>
<internalReason>Group membership information not supported.</internalReason>
</error>
</errors>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question