christosapl / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
Other
0 stars 0 forks source link

Getting error using Gdata to fetch google Docs file matadata #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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