Hi Nguyen, I'm very sorry that Google aren't man enough to answer questions on their own forums.
You obviously have had that code running for a number of years, since any info which related to the 'table feed' has been absent from the 'documentation' for some time now. But yeah, the Tables API was unilaterally deprecated and perhaps now it has finally been removed. http://googleappsdeveloper.blogspot.com.au/2011/03/deprecating-tables-and-records-feeds-in.html So the 'list feed' is now your friend. I would be inclined to take your error with that feed more seriously, although it could well be the fault of the gdata-java library. It sounds like you're trying to do: // Send the new row to the API for insertion. row = service.insert(listFeedUrl, row); before you've done: row.getCustomElements().setValueLocal("firstname", "Joe"); row.getCustomElements().setValueLocal("lastname", "Smith"); row.getCustomElements().setValueLocal("age", "26"); row.getCustomElements().setValueLocal("height", "176"); I would be inclined to check that the client lib is actually sending POST request that you think it is. cheers, David. On Tue, Jun 3, 2014 at 6:08 PM, Nguyen <[email protected]> wrote: > I also have tried to add data into SpreadSheet using API 3.0 with this > example: > https://developers.google.com/google-apps/spreadsheets/#adding_a_list_row > > I got this Exception when running the example: > > com.google.gdata.util.InvalidEntryException: OK > Blank rows cannot be written; use delete instead. > > -- > You received this message because you are subscribed to the Google Groups > "Google Spreadsheets API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Spreadsheets API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
