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

Reply via email to