Hello Dave,

When setting an e-mail address as primary for an UPDATE request, your
application should make sure that the previous primary e-mail address is set
to non-primary.
Otherwise, your request will send an UPDATE request with an entry containing
2 primary e-mail addresses which will trigger the error from the API.

Best,
Alain

On Tue, Jul 26, 2011 at 9:58 AM, <[email protected]> wrote:

> **
> We are using v3.0.
>
> So, this means that we are sending a single contact entry to gmail with the
> same email address listed twice and both set as primary?
>
> I don't think this is the case. If we ask the customer to delete there
> entire gmail contact list and then push the same requests to gmail
> everything works just fine.
>
> This issue appears only when UPDATING an existing gmail contact.
>
> We cannot obtain full log details since this issue happens on a customer
> machine that we do not have access to.
>
> Dave
>
> Sent from my Verizon Wireless BlackBerry
> ------------------------------
> *From: * Alain Vongsouvanh <[email protected]>
> *Sender: * [email protected]
> *Date: *Tue, 26 Jul 2011 09:15:51 -0700
> *To: *<[email protected]>
> *ReplyTo: * [email protected]
> *Subject: *Re: [Contacts API] Re: Can have at most one primary email
> address, found 2
>
> Hello David,
>
> Could you log the data that is sent to the API? The error message indicates
> that you are trying to create or update a contact with 2 primary e-mail
> addresses which is invalid.
>
> Also, which version of the API are you using?
>
> Best,
> Alain
>
> On Mon, Jul 25, 2011 at 5:03 AM, david levinson <[email protected]>wrote:
>
>> --
>> 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
>
>
>
>  --
> 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
>
> --
> 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

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