Hi Devang, You may be sending information too fast or maybe there is a problem with some specific contacts. Try lowering the batch size and the number of threads, also for threaded applications it is important to have an exponential back-off strategy in place to avoid server saturation. In the other hand, try to narrow down the error to look for specific contacts that may causing the problem.
Please let me know your findings. Cheers, Julian. On Sep 12, 6:46 am, Devang Parekh <[email protected]> wrote: > HI Julian,Thanks a lot for your valuable time & reply. > > But, I am using V2. I have successfully added same emailAddress in multiple > contacts. So, That should not be issue. > When I was using V1, then for 409, contact was not being added on Google. > But I am facing problem for 409 for created Contacts. > Is anyone has such issue?? I am adding contacts using batch of 100 contacts > with 7 threads at a time. Can this be reason??? > > On Fri, Sep 11, 2009 at 7:48 PM, Julian (Google) <[email protected]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---
