Background Info
I am Using python
gdata
spreadsheet-api
with OAuth2.0
and certificate credentials
to access data in a google apps domain
I am trying to insert a row into a spreadsheet using
spreadSheetClient = SpreadsheetsClient() # Certificate Authentication .... spreadSheetClient.add_list_entry(list_entry=list_entry, spreadsheet_key=spreadSheetKey, worksheet_id=workSheetId)
where list_entry
is an instance of gdata.spreadsheets.data.ListEntry
and spreadsheetKey
and worksheetId
are instances of str
I am getting the following error
File "/home/gautam/Projects/osflow/build/runtime/gdata/spreadsheets/client.py", line 450, in update_cell **kwargs) File "/home/gautam/Projects/osflow/build/runtime/gdata/client.py", line 730, in update desired_class=entry.__class__, **kwargs) File "/home/gautam/Projects/osflow/build/runtime/gdata/client.py", line 319, in request RequestError) RequestError: Server responded with: 403, If-Match or If-None-Match header or entry etag attribute required
How do I fix this ?