背景资料
我正在使用python
gdata
spreadsheet-api
和OAuth2.0
访问certificate credentials
谷歌应用程序域中的数据
我正在尝试使用
spreadSheetClient = SpreadsheetsClient()
# Certificate Authentication ....
spreadSheetClient.add_list_entry(list_entry=list_entry, spreadsheet_key=spreadSheetKey,
worksheet_id=workSheetId)
where是andlist_entry
的一个实例,gdata.spreadsheets.data.ListEntry
并且是spreadsheetKey
worksheetId
str
我收到以下错误
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
我该如何解决 ?