I'm guessing this has something to do with recent updates to Drive API and Sheets API for Google, but the examples don't appear consistent with the XML requests sent from this client. I receive following error:
PHP Fatal error: Uncaught exception 'Google\Spreadsheet\Exception' with message 'Error in Google Request' in ...vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/DefaultServiceRequest.php:256
Stack trace:
#0 ...vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/DefaultServiceRequest.php(152): Google\Spreadsheet\DefaultServiceRequest->execute(Resource id #59)
#1 ...vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/ListFeed.php(82): Google\Spreadsheet\DefaultServiceRequest->post('https://spreads...', '<entry xmlns="h...')
#2 ...cron.php(29): Google\Spreadsheet\ListFeed->insert(Array)
#3 {main}
thrown in ...vendor/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/DefaultServiceRequest.php on line 256
I'm guessing this has something to do with recent updates to Drive API and Sheets API for Google, but the examples don't appear consistent with the XML requests sent from this client. I receive following error:
Output from this client:
Example from Google: