I am using the Google Sheets API (PHP) with a service account. When running
spreadsheet_values->get($spreadsheetId, $sheet_name, ['majorDimension' => 'ROWS'])
I get a 404 error "Requested entity was not found". The spreadsheet ID is correct and the sheet in the drive has given the service account permissions. The weird thing is that this works on localhost, but has broken when moving to a web host (000webhostapp). Note that WordPress is being used with PHP version 7.2. The version of the Sheets API being used is v2.7.
source https://stackoverflow.com/questions/67766436/requested-entity-was-not-found-error-when-calling-spreadsheets-values-with-googl
Comments
Post a Comment