Domanda

Since end of August 2012 scripts that used to work on GAS have stopped working.

Am using JDBC to retrieve records in my MySQl database and show in a sheet.

Was working and then I started getting "We're sorry, we were unable to process the operation because it contains too much data."

But the dataset in questions is 2400 rows * 35 columns, which is WAY below the 400 000 cell limit, and way below the 256 columns limit per sheet.

Any ideas? Has something changed recently...

È stato utile?

Soluzione

I think the conclusion here is that the

"We're sorry, we were unable to process the operation because it contains too much data."

error can be caused not only be the amount or rows and columns (cells) in a data set, but also be due to internals issues with memory use of objects being applied to the region.

Altri suggerimenti

Try adding a portion of the values at a time, with a Spreadsheet.flush(); in between each setValues(). That solved my problem.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top