panchapol/gdata-objectivec-client

Getting error using Gdata to fetch google Docs file matadata

GoogleCodeExporter opened this issue · 6 comments

From last day I am facing error in fetching Google Docs file matadata before 
its working fine.Now its showing me error.
Error Domain=com.google.GDataServiceDomain Code=404 "The operation couldn’t 
be completed. (com.google.GDataServiceDomain error 404.)"
My Code is
NSURL *entryURL = [GDataServiceGoogleDocs 
metadataEntryURLForUserID:kGDataServiceDefaultUser];

    GDataServiceGoogleDocs *service = [self docsService];

    GDataServiceGoogleSpreadsheet *spreadsheetService;
    spreadsheetService = [[[GDataServiceGoogleSpreadsheet alloc] init] autorelease];

    GDataServiceGoogleDocs *docsService = [self docsService];
    [spreadsheetService setUserAgent:[docsService userAgent]];
    [spreadsheetService setUserCredentialsWithUsername:[docsService username]
                                              password:[docsService password]];

    [service fetchEntryWithURL:entryURL
             completionHandler:^(GDataServiceTicket *ticket, GDataEntryBase *entry, NSError *error) {
                 // callback
                 [self setMetadataEntry:(GDataEntryDocListMetadata *)entry];
                 if (error != nil) {
                     NSLog(@"Error fetching user metadata: %@", error);
                 }
             }];

Original issue reported on code.google.com by jamshed...@gmail.com on 29 May 2015 at 10:48

Same thing is happening to me when fetching contacts, in the past few days. It 
was working fine before but now I get the same error that you have mentioned. I 
think something has changed in their server side.

Original comment by syedtari...@gmail.com on 29 May 2015 at 4:15

I'm getting this issue too (via ScanSnap Manager's "Scan to Google Docs" 
functionality).

Original comment by seb.holl...@gmail.com on 30 May 2015 at 1:42

I'm having the same error too

Original comment by pierluig...@gmail.com on 10 Jun 2015 at 10:06

Im having the same problem too

Original comment by anto...@openroad.es on 10 Jun 2015 at 10:08

same error here

Original comment by cafaro.c...@gmail.com on 10 Jun 2015 at 1:29

The XML-based Documents List API is no longer supported. Apps should be updated 
to use the JSON-based Drive API.

https://developers.google.com/drive/web/migration

https://code.google.com/p/google-api-objectivec-client/

Original comment by grobb...@google.com on 19 Jun 2015 at 9:15

  • Changed state: WontFix