Hi Devang,

Even if you are using PHP/cURL directly, the same applies.

Usually the HTTP 409 means that there is a conflict, maybe you are
trying to insert a contact that already exists and you should update
instead of inserting. Check that the email address does not exist
before inserting a new contact.

If for some reason you need to have a contact more than once, make
sure that you use Contact v2, it allows multiple contacts with the
same email address. When using cURL, try adding the header ("GData-
Version", "2").

Cheers,
Julian.


On Sep 11, 3:12 pm, Devang Parekh <[email protected]> wrote:
> Can anyone help me or facing such issue???
> Regards,
> Devang
>
> On Sep 11, 11:11 am, Devang Parekh <[email protected]> wrote:
>
> > HI Julian,
> > Thanks for your time.
>
> > No that Question is not mine. I am not using any framework. I am using
> > php/cURL.
> > Don't know why there is such response for created contact.
> > Please inform me if you get any update regarding this.
>
> > Regards,
> > Devang
>
> > On Tue, Sep 8, 2009 at 6:44 PM, Julian (Google) <[email protected]> wrote:
>
> > > Hi,
>
> > > We just had a similar thread, please check if that is also your
> > > problem:
>
> > >http://groups.google.com/group/google-contacts-api/browse_thread/thre...
>
> > > Cheers,
> > > Julian
>
> > > On Sep 5, 3:07 pm, Devang Parekh <[email protected]> wrote:
> > > > Hello to ALL,
>
> > > > I am working on php/cURL. I am creating contacts successfully using
> > > > API. But I have one issue.
> > > > When I create Contacts using batch, for some contacts, I get response
> > > > 409 - TRANSIENT PROBLEM OCCURRED. This few contacts are already
> > > > created on google then also I receive such 409 response. What could be
> > > > the reason??? Normally for created Contact, response is 201.
>
> > > > When I create about 5000 contacts using batch operation, such response
> > > > comes only for 10-12 contacts & i also didn't get their contactIds.
>
> > > > So my question is "Why 409 statusCode for created Contact"??
>
> > > > Waiting for reply.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to