It seems to be impossible to set a contact's individual name fields to 
blank.  For example, trying to change "Mr. Jerry Seinfeld Jr." to Mr. Jerry 
Seinfeld" (removing the name suffix) produces "400 Bad Request" and "Missing 
required text content."  Here is the name element XML sent to Google 
Contacts:

  <gd:name>
    <gd:givenName>Jerry</gd:givenName>
    <gd:familyName>Seinfeld</gd:familyName>
    <gd:nameSuffix/>
  </gd:name>

Passing the following gives the same error:

  <gd:name>
    <gd:givenName>Jerry</gd:givenName>
    <gd:familyName>Seinfeld</gd:familyName>
    <gd:nameSuffix/></gd:nameSuffix>
  </gd:name>

Why does Google Contacts treat blank values as errors when they are 
certainly valid?  Is there any way around this?

-- 
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

Reply via email to