Problem summary
Your Google Sheets export fails with a generic error that doesn't say what went wrong. This usually happens when the export contains more data than a Google Sheets spreadsheet can hold.
Error message or symptoms
The export run fails with an error like this, where the request ID changes each time:
RequestId: <request ID> Error: Runtime exited with error: exit status 1
When does this occur
The export has a long date range, many fields (columns) or both.
The export worked before, but the amount of data in it has grown.
The destination spreadsheet already holds data in other tabs.
Root cause
The most common cause is that the export is too large for Google Sheets. A Google Sheets spreadsheet can hold up to 20 million cells or 100 MB. The limit applies to the whole spreadsheet, so the cells in all its tabs count toward it.
Solution
Estimate the size of the export: multiply the number of rows by the number of columns (fields). For example, 250,000 rows and 40 columns make 10 million cells. Add the cells already in the other tabs of the destination spreadsheet.
If the total is close to or above the limit, make the export smaller with one or more of these changes:
Shorten the date range.
Remove fields (columns) that you don't need.
Add a row limit.
Split the data into several exports, each writing to its own spreadsheet. Separate tabs in one spreadsheet don't get around the limit, because all tabs count toward it.
Run the export again.
