The service name for the DocList API is 'writely': http://code.google.com/apis/gdata/faq.html#clientlogin
<http://code.google.com/apis/gdata/faq.html#clientlogin>Is there a reason you aren't using DocsService()? http://code.google.com/apis/documents/docs/2.0/developers_guide_java.html#GettingStarted Eric On Mon, Aug 3, 2009 at 1:46 AM, jasiu86 <tomasz.gr...@gmail.com> wrote: > > I try this: > > GoogleService gs = new GoogleService("???", "", "http", "myDomain"); > gs.setUserCredentials("myUserName", "myPassowrd"); > gs.delete(documentEditUrl); > > but I have problem: "com.google.gdata.util.AuthenticationException: > Error authenticating (check service name)" > What should I write as first parameter (serviceName) in GoogleService > constructor? > I find this: > > http://code.google.com/intl/pl/apis/gdata/javadoc/com/google/gdata/client/GoogleService.html#GoogleService(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String) > > On 31 Lip, 19:54, Eric Bidelman <api.e...@google.com> wrote: > > 409 is a fact of v1 of the API. It occurs if youdon't have the latest > > version of the entry. You should > > re-query the entry an then delete it. The same error > > will happen when trying to update a out of date > > entry. > > > > Eric > > > > On Fri, Jul 31, 2009 at 10:02 AM, hitoshi uchida > > <hitoshi.uch...@gmail.com>wrote: > > > > > > > > > Recently I also failed to delete a ducument or folder sometimes using > > > edit link. But sometimes it was succeeded. The server returns 409 > > > Conflict in case of failed. I had reported it in this group several > > > weeks ago. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---