I keep getting this error when I try to insert anything as a new row.
gdata.service.RequestError: {'status': 404, 'body': '<HTML>\n<HEAD>
\n<TITLE>Not Found</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF"
TEXT="#000000">\n<H1>Not Found</H1>\n<H2>Error 404</H2>\n</BODY>\n</
HTML>\n', 'reason': 'Not Found'}



On Apr 7, 3:28 pm, nikhil <[email protected]> wrote:
> Hi,
>
> I am reading this 
> pagehttp://code.google.com/apis/spreadsheets/docs/1.0/developers_guide_py...
> to know how to insert a new row in a spreadsheet.
> But I am unable to do so.
>
> def ListInsertAction(gd_client, key, wksht_id, row_data):
>   entry = gd_client.InsertRow(StringToDictionary(row_data),
>       key, wksht_id)
>   if isinstance(entry, gdata.spreadsheet.SpreadsheetsList):
>     print 'Inserted!'
>
> Notice that the InsertRow definition takes a dictionary where the key
> corresponds to the column name and the value  corresponds to the value
> of that column in the new row.
>
> Can anyone explain what is the format of row_data and what exactly do
> you mean by column name?
> An example would be great !!
>
> Thanks in advance,
> Nikhil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to