Enum DataExecutionErrorCode

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

PropertyTypeDescription
DATA_EXECUTION_ERROR_CODE_UNSUPPORTEDEnumA data execution error code that is not supported in Apps Script.
NONEEnumThe data execution has no error.
TIME_OUTEnumThe data execution timed out. Please update the data sourcespecification.
TOO_MANY_ROWSEnumThe data execution returns more rows than the limit. Please update the data sourcespecification.
TOO_MANY_COLUMNSEnumThe data execution returns more columns than the limit. Please update the data sourcespecification.
TOO_MANY_CELLSEnumThe data execution returns more cells than the limit. Please update the data sourcespecification.
ENGINEEnumData execution engine error. UseDataExecutionStatus.getErrorMessage() for details.
PARAMETER_INVALIDEnumInvalid data execution parameter. The source cell must exist and contain only a number or text.Please update the data sourcespecification.
UNSUPPORTED_DATA_TYPEEnumThe data execution returns unsupported data type. Please update the data sourcespecification.

For BigQuery,ARRAY orSTRUCT type is not supported.

DUPLICATE_COLUMN_NAMESEnumThe data execution returns duplicate column names. Please update the data sourcespecification.
INTERRUPTEDEnumThe data execution is interrupted. Please refresh later.
OTHEREnumOther errors.
TOO_MANY_CHARS_PER_CELLEnumThe data execution returns values that exceed the maximum characters allowed in a single cell.Please update the data sourcespecification.
DATA_NOT_FOUNDEnumThe database referenced by the data source is not found. Please update the data sourcespecification.
PERMISSION_DENIEDEnumThe user does not have access to the database referenced by the data source. Please update thedata sourcespecification or contact the owner of the billingproject to request access.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-12-02 UTC.