I am also now seeing this error.  I have an iPhone application which
backs up to Google Docs.  It uploads the file fine but then gets the
error call back with status 503.  Here is the code:

        NSData *uploadData = [NSData dataWithContentsOfFile:odsFilePath];
        GDataEntrySpreadsheetDoc *mySpreadsheetDoc =
[GDataEntrySpreadsheetDoc documentEntry];
        [mySpreadsheetDoc setTitleWithString:title];
        [mySpreadsheetDoc setUploadSlug:title];
        [mySpreadsheetDoc setUploadData:uploadData];
        [mySpreadsheetDoc setUploadMIMEType:@"application/x-
vnd.oasis.opendocument.spreadsheet"];

        NSURL *feedURL = [NSURL
URLWithString:kGDataGoogleDocsDefaultPrivateFullFeed];

        ticket = [docService fetchDocEntryByInsertingEntry:mySpreadsheetDoc
                                                                                
        forFeedURL:feedURL
                                                                                
          delegate:self
                                                                         
didFinishSelector:@selector(ticket:finishedWithDoc:)
                                                                           
didFailSelector:@selector(ticket:failedWithError:)];

... or perhaps I should check for the set of errors that
GDataHTTPFetcher will retry on?  Actually turning retry on yields a
"lost connection" error message after two 503 errors.  So perhaps a
reasonable thing would be to NOT retry and instead look for any of the
errors that WOULD produce a retry and simply discard them silently?
Just looking for some advice.

Thanks folks,
George

On Nov 5, 12:22 pm, "Jochen Hartmann (Google)"
<[email protected]> wrote:
> David,
>
> Thanks for the post, this is something on our end. I have created an
> entry on our issue tracker so that we can track this. Please star it
> to be notified when we have a fix in place:
>
> http://code.google.com/p/gdata-issues/issues/detail?id=870
>
> Cheers,
> - Jochen
>
> On Nov 4, 11:15 am, David Gouldin <[email protected]> wrote:
>
> > When trying to move a spreadsheet to a folder, I get a "503 Service
> > Unavailable" response, but the spreadsheet does get moved successfully
> > when I look in the web UI.  I have moved documents without issue.
> > Here's a post body example:
>
> > <?xml version='1.0' encoding='UTF-8'?>
> > <atom:entry xmlns:atom="http://www.w3.org/2005/Atom";>
> >   <atom:id>http://docs.google.com/feeds/documents/private/full/
> > spreadsheet%3Aspreadsheet_id</atom:id>
> >   <atom:category scheme="http://schemas.google.com/g/2005#kind";
> >       term="http://schemas.google.com/docs/2007#spreadsheet"; />
> > </atom:entry>
>
> > posted to:
>
> >http://docs.google.com/feeds/folders/private/full/folder%3Afolder_id
>
> > where spreadsheet_id and folder_id are replaced with actual values of
> > course.
>
> > Am I doing something wrong, or is this a problem on Google's end?
--~--~---------~--~----~------------~-------~--~----~
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 [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-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to