pygsheets
pygsheets copied to clipboard
Error on adding a row to the table
In an attempt to add the first row to the empty table.
File "*******\venv\lib\site-packages\pygsheets\utils.py", line 214, in wrapper
return func(*args, **kwargs)
File "*******\venv\lib\site-packages\pygsheets\worksheet.py", line 1148, in append_table
'tableRange': GridRange.create(response_json['tableRange'], self),
KeyError: 'tableRange'
and the response_json itself
{
'spreadsheetId': '*******',
'updates': {
'spreadsheetId': '**********',
'updatedRange': "'********'!A1:F1",
'updatedRows': 1,
'updatedColumns': 6,
'updatedCells': 6
}
}