frramirezc / 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

Closed GoogleCodeExporter closed 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

GoogleCodeExporter commented 9 years ago
I'm having the same error too

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

GoogleCodeExporter commented 9 years ago
Im having the same problem too

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

GoogleCodeExporter commented 9 years ago
same error here

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

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