Hello,

Please have a look at the reference
guide<http://code.google.com/apis/contacts/docs/3.0/reference.html#gcBirthday>,
the field you are looking for is gContact:birthday.
There's a similar class in the Python client library.

Best,
Alain

On Mon, Nov 28, 2011 at 1:43 AM, Karra <[email protected]> wrote:

>
> Does anyone have a clue about this one? Getting a bit desperate!
>
>
> On Nov 23, 5:49 pm, Karra <[email protected]> wrote:
> > 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
>



-- 
Alain Vongsouvanh | Developer Programs Engineer

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