Going into a bit more detail: I'm trying to use the Google Spreadsheet API to insert some rows into a spreadsheet. My code is roughly this:
gd_client = gdata.spreadsheet.service.SpreadsheetsService() gd_client.email = XX gd_client.password = XX gd_client.source = 'XX' gd_client.ProgrammaticLogin() def ListInsertAction(gd_client, key, wksht_id, row_data): entry = gd_client.InsertRow(row_data, key, wksht_id) if isinstance(entry, gdata.spreadsheet.SpreadsheetsList): print 'Inserted!' feed = gd_client.GetSpreadsheetsFeed() id_parts = feed.entry[0].id.text.split('/') curr_key = id_parts[len(id_parts) - 1] worksheets = gd_client.GetWorksheetsFeed(curr_key) worksheet_id_parts = feed.entry[0].id.text.split('/') worksheet_key = worksheet_id_parts[len(worksheet_id_parts) - 1] print worksheet_key ListInsertAction(gd_client, curr_key, worksheet_key, { "A" : str(start_time), "B" : str(runtime) }) This fails with one of two errors - either I get: gdata.service.RequestError: {'status': 400, 'body': 'Invalid query parameter value for grid-id.', 'reason': 'Bad Request'} or gdata.service.RequestError: {'status': 500, 'body': 'Internal Error', 'reason': 'Internal Server Error'} The "Bad Request" error occurs when I use the code as above, if I guess at "1" as the worksheet id as I found suggested by a google search I get the Internal Server Error. On Nov 3, 2:05 pm, Michael Stevens <mpsteven...@gmail.com> wrote: > Hi. > > I'm trying to insert a row into a database on google docs and getting > the server response: > > gdata.service.RequestError: {'status': 500, 'body': 'Internal Error', > 'reason': 'Internal Server Error'} > > Where can I report bugs in the google Data API servers? -- 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 google-docs-data-a...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-docs-data-apis?hl=en.