DataExecutionErrorCode

An enumeration of data execution error codes.

To call an enum, you call its parent class, name, and property. For example, `
SpreadsheetApp.DataExecutionErrorCode.TIME_OUT`.

### Properties

| Property | Type | Description |
|---|---|---|
| `DATA_EXECUTION_ERROR_CODE_UNSUPPORTED` | `Enum` | A data execution error code that is not supported in Apps Script. |
| `NONE` | `Enum` | The data execution has no error. |
| `TIME_OUT` | `Enum` | The data execution timed out. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `TOO_MANY_ROWS` | `Enum` | The data execution returns more rows than the limit. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `TOO_MANY_COLUMNS` | `Enum` | The data execution returns more columns than the limit. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `TOO_MANY_CELLS` | `Enum` | The data execution returns more cells than the limit. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `ENGINE` | `Enum` | Data execution engine error. Use `https://developers.google.com/apps-script/reference/spreadsheet/data-execution-status#getErrorMessage()` for details. |
| `PARAMETER_INVALID` | `Enum` | Invalid data execution parameter. The source cell must exist and contain only a number or text. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `UNSUPPORTED_DATA_TYPE` | `Enum` | The data execution returns unsupported data type. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. For BigQuery, `ARRAY` or `STRUCT` type is not supported. |
| `DUPLICATE_COLUMN_NAMES` | `Enum` | The data execution returns duplicate column names. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `INTERRUPTED` | `Enum` | The data execution is interrupted. Please refresh later. |
| `OTHER` | `Enum` | Other errors. |
| `TOO_MANY_CHARS_PER_CELL` | `Enum` | The data execution returns values that exceed the maximum characters allowed in a single cell. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `DATA_NOT_FOUND` | `Enum` | The database referenced by the data source is not found. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)`. |
| `PERMISSION_DENIED` | `Enum` | The user does not have access to the database referenced by the data source. Please update the data source `https://developers.google.com/apps-script/reference/spreadsheet/data-source#updateSpec(DataSourceSpec)` or contact the owner of the billing project to request access. |