I used the following code to add a row to the table (list-based feed), but it does not work ...
NSMutableArray * array = [[NSMutableArray alloc] init]; GDataEntrySpreadsheetList *listEntry = [GDataEntrySpreadsheetList listEntry]; GDataSpreadsheetCustomElement *serialNo = [GDataSpreadsheetCustomElement elementWithName:@"SNo" stringValue:@"1"]; [array addObject:serialNo]; [listEntry setCustomElements:array];
The above code gives an error, for example:
error :: - Error Domain = com.google.HTTPStatus Code = 400 "The operation could not be completed. (Sorry, a server error occurred. Wait a bit and try restarting the spreadsheet.)" UserInfo = 0x5fe2de0 {NSLocalizedFailureReason = (Sorry, an error occurred server. Wait a bit and try restarting the spreadsheet.), Error = Sorry, a server error has occurred. Wait a moment and try reloading the table.}
Please help me resolve this error.
Thanks in advance.
user821127
source share