Yes and I've just discovered that problem by waiting arbitrating many seconds and that's the way the problem was solved. It is too sad that sometimes takes 13 seconds to make the folder available. Problem solved. Thank you anyway!
On Jul 23, 1:19 pm, Eric Bidelman <api.e...@google.com> wrote: > There were serve changes that were made. There's a related conversation > here:http://groups.google.com/group/Google-Docs-Data-APIs/browse_thread/th... > > Basically, you need to make sure your client waits a few seconds > after creating folder to perform operations on it. I recommend querying > the folder entry and checking that it exists. > > <http://groups.google.com/group/Google-Docs-Data-APIs/browse_thread/th...> > Eric > > On Wed, Jul 22, 2009 at 4:10 PM, alorenzo <xeroxi...@gmail.com> wrote: > > > Hi, > > I have an app that is running 24/7 since 2 months ago with no > > failures. It is querying, uploading and downloading documents using > > the Java API. > > Recently I have found that the app is sending me this error when > > trying to move a folder I've just created: > > > ============================================================================= > > <Wed Jul 22 17:21:11 EDT 2009>3<GoogleDocs>moveObjectToFolder TOId > > <folder%3A0c2db371-c092-4c22-be3d-2e4673075d15> FROMId <folder > > %3A6ffa9a3d-cb62-460c-bae5-221db5581dae> > > com.google.gdata.util.InvalidEntryException: Bad Request > > Invalid document id: folder:6ffa9a3d-cb62-460c-bae5-221db5581dae > > > at > > com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse > > (HttpGDataRequest.java:503) > > at > > com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse > > (GoogleGDataRequest.java:562) > > at com.google.gdata.client.http.HttpGDataRequest.checkResponse > > (HttpGDataRequest.java:481) > > at com.google.gdata.client.http.HttpGDataRequest.execute > > (HttpGDataRequest.java:460) > > at com.google.gdata.client.http.GoogleGDataRequest.execute > > (GoogleGDataRequest.java:534) > > at com.google.gdata.client.Service.insert(Service.java:1243) > > at com.google.gdata.client.GoogleService.insert > > (GoogleService.java:561) > > at com.google.gdata.client.media.MediaService.insert > > (MediaService.java:337) > > at cumulus.GoogleDocs.moveObjectToFolder(GoogleDocs.java:236) > > at cumulus.EmailListener.run(EmailListener.java:405) > > at java.util.TimerThread.mainLoop(Timer.java:512) > > at java.util.TimerThread.run(Timer.java:462) > > > ============================================================================= > > The document ID is correct (FROM), it was giving to me before when > > requesting info from the repository: > > > <Wed Jul 22 17:21:11 EDT 2009>3<GoogleDocs>inRepository > > eMail-20090722.172109 > > <Wed Jul 22 17:21:11 EDT 2009>3<GoogleDocs>inRepository > > directoryNameFromRepository (t) = <eMail-20090722.172109> > > <Wed Jul 22 17:21:11 EDT 2009>3<GoogleDocs>inRepository > > directoryNameId (t) = <folder%3A6ffa9a3d-cb62-460c-bae5-221db5581dae> > > > Also the root document ID where the document/folder is set (TO): > > > <Wed Jul 22 17:21:10 EDT 2009>3<GoogleDocs>inRepository > > directoryNameFromRepository (t) = <alorenzo> > > <Wed Jul 22 17:21:10 EDT 2009>3<GoogleDocs>inRepository > > directoryNameId (t) = <folder%3A0c2db371-c092-4c22-be3d-2e4673075d15> > > > So my question is, is there any change on the server API that could > > affect my move? or this is a new bug? > > > Thanks for the help! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---