I am uploading a new contact using the python api, and running into
issues with inserting an anniversary field. The xml in the contact
entry that I am sending out is:

<ns1:event rel="anniversary"><ns2:when startTime="2011-01-01" /></
ns1:event>

The insert fails with the following code and reason:

Reason: Attribute 'when' shoud be date of one of types: xs:date or
xs:gMonthDay. Code: SYNC_BAD_REQUEST

There is nothing wrong with the format of startTime, clearly. What am
I missing? I have searched high and low for some light on this issue,
but found none. Can someone point me in the right direction?

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