---
title: Error conditions in Databricks
description: Documentation for the error conditions used in Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/error-classes
---

# Error conditions in Databricks

**Applies to:** ![check marked yes](https://docs.databricks.com/gcp/en/images/icons/check.png) Databricks SQL ![check marked yes](https://docs.databricks.com/gcp/en/images/icons/check.png) Databricks Runtime 12.2 and above

Error conditions are descriptive, human-readable strings that unique to the error they describe.

You can use error conditions to programmatically handle errors in your application without the need to parse the error message.

This is a list of common, named error conditions returned by Databricks.

## Databricks Runtime and Databricks SQL

### ABAC\_BUILTIN\_FUNCTION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Built in functions are not supported as ABAC policy function

### ABAC\_FUNCTION\_ONLY\_ALLOWED\_IN\_POLICY

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<funcName>` can only be used in the context of `CREATE POLICY` statements.

### ABAC\_POLICY\_MULTIPLE\_BODIES\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Multiple policy effects (for example, Row Filter, Column Mask) in a single `CREATE POLICY` statement are not supported. Create one policy per policy effect.

### ADD\_DEFAULT\_UNSUPPORTED

[SQLSTATE: 42623](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to execute `<statementType>` command because `DEFAULT` values are not supported when adding new columns to previously existing target data source with table provider: "`<dataSource>`".

### AGGREGATE\_FUNCTION\_IN\_NESTED\_REFERENCES\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Detected aggregate functions in outer scope references `<expression>` which is not supported.

### AGGREGATE\_FUNCTION\_WITH\_NONDETERMINISTIC\_EXPRESSION

[SQLSTATE: 42845](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Non-deterministic expression `<sqlExpr>` should not appear in the arguments of an aggregate function.

### [AI\_COMPARE\_JOBS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ai-compare-jobs-error-error-class.md)

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Failed to compare the two job runs.

For more details see [AI\_COMPARE\_JOBS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ai-compare-jobs-error-error-class.md)

### [AI\_DIAGNOSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ai-diagnose-error-error-class.md)

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Failed to diagnose the issue.

For more details see [AI\_DIAGNOSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ai-diagnose-error-error-class.md)

### AI\_DIAGNOSE\_NO\_LOG\_DELIVERY

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Cluster `<clusterId>` does not have cluster log delivery configured. `AI_DIAGNOSE` requires cluster log delivery to access driver logs, event logs, and executor logs for diagnosis.

### AI\_FUNCTIONS\_DISABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

AI functions are disabled for this workspace. Your account or workspace administrator can enable AI functions.

### AI\_FUNCTION\_COMPILATION\_ERROR

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An error occurred while compiling the AI function: `<statusCode>`: `<errorMessage>`

### AI\_FUNCTION\_HTTP\_PARSE\_CAST\_ERROR

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to parse model output when casting to the specified returnType: "`<dataType>`", response `JSON` was: "`<responseString>`". Please update the returnType to match the contents of the type represented by the response `JSON` and then retry the query again. Exception: `<errorMessage>`

### AI\_FUNCTION\_HTTP\_PARSE\_COLUMNS\_ERROR

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The actual model output has more than one column "`<responseString>`". However, the specified return type\["`<dataType>`"] has only one column. Please update the returnType to contain the same number of columns as the model output and then retry the query again.

### AI\_FUNCTION\_HTTP\_REQUEST\_ERROR

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Error occurred while making an HTTP request for function `<funcName>`: `<errorMessage>`

### AI\_FUNCTION\_INVALID\_HTTP\_RESPONSE

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Invalid HTTP response for function `<funcName>`: `<errorMessage>`

### AI\_FUNCTION\_INVALID\_MAX\_WORDS

[SQLSTATE: 22032](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The maximum number of words must be a non-negative integer, but got `<maxWords>`.

### [AI\_FUNCTION\_INVALID\_MODEL\_PARAMETERS](https://docs.databricks.com/gcp/en/error-messages/ai-function-invalid-model-parameters-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The provided model parameters (`<modelParameters>`) are invalid in the `AI_QUERY` function for serving endpoint "`<endpointName>`".

For more details see [AI\_FUNCTION\_INVALID\_MODEL\_PARAMETERS](https://docs.databricks.com/gcp/en/error-messages/ai-function-invalid-model-parameters-error-class.md)

### AI\_FUNCTION\_INVALID\_RESPONSE\_FORMAT\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

AI function: "`<functionName>`" requires valid `<format>` string for `responseFormat` parameter, but found the following response format: "`<invalidResponseFormat>`". Exception: `<errorMessage>`

### AI\_FUNCTION\_JSON\_PARSE\_ERROR

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error occurred while parsing the `JSON` response for function `<funcName>`: `<errorMessage>`

### AI\_FUNCTION\_MODEL\_SCHEMA\_PARSE\_ERROR

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to parse the schema for the serving endpoint "`<endpointName>`": `<errorMessage>`, response `JSON` was: "`<responseJson>`".

Set the `returnType` parameter manually in the `AI_QUERY` function to override schema resolution.

### AI\_FUNCTION\_REGISTRY\_LOOKUP\_FAILURE

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to dynamically resolve function "`<functionName>`" from AI Function Registry.

Error: `<errorMessage>`

### AI\_FUNCTION\_SESSION\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

AI function `<funcName>` session creation failed. Permission denied: `<errorMessage>`.

### AI\_FUNCTION\_UNSUPPORTED\_DATA\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to evaluate the SQL function "`<functionName>`" because the provided argument has "`<invalidDataType>`" data type, but `<reason>`. Please update the function call and retry the query again.

### AI\_FUNCTION\_UNSUPPORTED\_ERROR

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The function `<funcName>` is not supported in the current environment. It is only available in Databricks SQL Pro and Serverless.

### AI\_FUNCTION\_UNSUPPORTED\_REQUEST

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to evaluate the SQL function "`<functionName>`" because the provided argument of `<invalidValue>` has "`<invalidDataType>`", but only the following types are supported: `<supportedDataTypes>`. Please update the function call to provide an argument of string type and retry the query again.

### [AI\_FUNCTION\_UNSUPPORTED\_RESPONSE\_FORMAT](https://docs.databricks.com/gcp/en/error-messages/ai-function-unsupported-response-format-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Found unsupported response format.

For more details see [AI\_FUNCTION\_UNSUPPORTED\_RESPONSE\_FORMAT](https://docs.databricks.com/gcp/en/error-messages/ai-function-unsupported-response-format-error-class.md)

### AI\_FUNCTION\_UNSUPPORTED\_RETURN\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

AI function: "`<functionName>`" does not support the following type as return type: "`<typeName>`". Return type must be a valid SQL type understood by Catalyst and supported by AI function. Current supported types includes: `<supportedValues>`

### AI\_GENERATE\_DESC\_FAILURE

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Failed to generate table description: `<errorMessage>`

### AI\_INVALID\_ARGUMENT\_VALUE\_ERROR

[SQLSTATE: 22032](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Provided value "`<argValue>`" is not supported by argument "`<argName>`". Supported values are: `<supportedValues>`

### [AI\_PREDICT\_INSUFFICIENT\_TRAINING\_DATA](https://docs.databricks.com/gcp/en/error-messages/ai-predict-insufficient-training-data-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The function `<funcName>` does not have adequate training data to fit a model.

For more details see [AI\_PREDICT\_INSUFFICIENT\_TRAINING\_DATA](https://docs.databricks.com/gcp/en/error-messages/ai-predict-insufficient-training-data-error-class.md)

### [AI\_PREDICT\_INVALID\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/ai-predict-invalid-parameter-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid argument for the function `<funcName>`.

For more details see [AI\_PREDICT\_INVALID\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/ai-predict-invalid-parameter-error-class.md)

### AI\_QUERY\_ENDPOINT\_NOT\_SUPPORT\_STRUCTURED\_OUTPUT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Expected the serving endpoint task type to be "Chat" for structured output support, but found "`<taskType>`" for the endpoint "`<endpointName>`".

### AI\_QUERY\_RETURN\_TYPE\_COLUMN\_TYPE\_MISMATCH

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Provided "`<sqlExpr>`" is not supported by the argument returnType.

### AI\_SEARCH\_CONFLICTING\_QUERY\_PARAM\_SUPPLY\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Conflicting parameters detected for `vector_search` SQL function: `<conflictParamNames>`.`<hint>`

### AI\_SEARCH\_EMBEDDING\_COLUMN\_TYPE\_UNSUPPORTED\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`vector_search` SQL function with embedding column type `<embeddingColumnType>` is not supported.

### AI\_SEARCH\_EMPTY\_QUERY\_PARAM\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`vector_search` SQL function is missing query input parameter, please specify at least one from: `<parameterNames>`.

### AI\_SEARCH\_HYBRID\_QUERY\_PARAM\_DEPRECATION\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The parameter `query` to `vector_search` SQL function is not supported for `hybrid` vector search. Please use `query_text` instead.

### AI\_SEARCH\_HYBRID\_TEXT\_NOT\_FOUND\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Query text not found in the `vector_search` SQL function for `hybrid` vector search. Please provide `query_text`.

### AI\_SEARCH\_INDEX\_TYPE\_UNSUPPORTED\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`vector_search` SQL function with index type `<indexType>` is not supported.

### AI\_SEARCH\_MISSING\_EMBEDDING\_INPUT\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`query_vector` must be specified for index `<indexName>` because it is not associated with an embedding model endpoint.

### AI\_SEARCH\_QUERY\_TYPE\_CONVERT\_ENCODE\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failure to materialize `vector_search` SQL function query from spark type `<dataType>` to scala-native objects during request-encoding with error: `<errorMessage>`.

### AI\_SEARCH\_QUERY\_TYPE\_UNSUPPORTED\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`vector_search` SQL function with query type `<unexpectedQueryType>` is not supported. Please specify one from: `<supportedQueryTypes>`.

### AI\_SEARCH\_UNSUPPORTED\_NUM\_RESULTS\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`vector_search` SQL function with num\_results larger than `<maxLimit>` is not supported. The limit specified was `<requestedLimit>`. Please try again with num\_results `<= <maxLimit>`

### AI\_TOP\_DRIVERS\_PARAM\_OUT\_OF\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The `ai_top_drivers` parameter `<param>` must be between `<lo>` and `<hi>`.

### AI\_TOP\_DRIVERS\_UNSUPPORTED\_AGGREGATION\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ai_top_drivers` does not support the `<aggName>` aggregate. Choose one of the following supported aggregates: `<allowed>`.

### AI\_TOP\_DRIVERS\_UNSUPPORTED\_DIMENSION\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ai_top_drivers` does not support numeric, map, or struct dimension columns. The column `<colName>` has type `<dataType>`. Remove this dimension or cast it to a supported type.

### AI\_TOP\_DRIVERS\_UNSUPPORTED\_LABEL\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ai_top_drivers` requires the label column type to be boolean. The column `<colName>` has type `<dataType>`. Change the label column or cast it to a supported type.

### AI\_TOP\_DRIVERS\_UNSUPPORTED\_METRIC\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ai_top_drivers` requires the metric column type to be numeric. The column `<colName>` has type `<dataType>`. Change the metric column or cast it to a supported type.

### ALL\_PARAMETERS\_MUST\_BE\_NAMED

[SQLSTATE: 07001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-07-dynamic-sql-error)

Using name parameterized queries requires all parameters to be named. Parameters missing names: `<exprs>`.

### ALL\_PARTITION\_COLUMNS\_NOT\_ALLOWED

[SQLSTATE: KD005](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot use all columns for partition columns.

### ALTER\_SCHEDULE\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot alter `<scheduleType>` on a table without an existing schedule or trigger. Please add a schedule or trigger to the table before attempting to alter it.

### ALTER\_SCHEDULE\_INVALID\_ENTITY

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot alter schedule for `<tableName>`. Alter schedule is only supported for streaming tables, materialized views, and Managed Tables associated with a Flow.

### ALTER\_TABLE\_COLUMN\_DESCRIPTOR\_DUPLICATE

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE <type>` column `<columnName>` specifies descriptor "`<optionName>`" more than once, which is invalid.

### AMBIGUOUS\_ALIAS\_IN\_NESTED\_CTE

[SQLSTATE: 42KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Name `<name>` is ambiguous in nested CTE.

Please set `<config>` to "`CORRECTED`" so that name defined in inner CTE takes precedence. If set it to "`LEGACY`", outer CTE definitions will take precedence.

See '[https://spark.apache.org/docs/latest/sql-migration-guide.html#query-engine](https://spark.apache.org/docs/latest/sql-migration-guide.html#query-engine)'.

### AMBIGUOUS\_COLUMN\_OR\_FIELD

[SQLSTATE: 42702](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column or field `<name>` is ambiguous and has `<n>` matches.

### AMBIGUOUS\_COLUMN\_REFERENCE

[SQLSTATE: 42702](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<name>` is ambiguous. It's because you joined several DataFrame together, and some of these DataFrames are the same.

This column points to one of the DataFrames but Spark is unable to figure out which one.

Please alias the DataFrames with different names via `DataFrame.alias` before joining them,

and specify the column using qualified name, for example, `df.alias("a").join(df.alias("b"), col("a.id") > col("b.id"))`.

### AMBIGUOUS\_CONSTRAINT

[SQLSTATE: 42K0C](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ambiguous reference to constraint `<constraint>`.

### AMBIGUOUS\_LATERAL\_COLUMN\_ALIAS

[SQLSTATE: 42702](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Lateral column alias `<name>` is ambiguous and has `<n>` matches.

### AMBIGUOUS\_REFERENCE

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Reference `<name>` is ambiguous, could be: `<referenceNames>`.

### AMBIGUOUS\_REFERENCE\_TO\_FIELDS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ambiguous reference to the field `<field>`. It appears `<count>` times in the schema.

### ANALYZE\_CONSTRAINTS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ANALYZE CONSTRAINTS` is not supported.

### ANALYZE\_TABLE\_COMPUTE\_STORAGE\_METRICS\_INVENTORY\_ACCESS\_ERROR

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Inventory list at `<path>` is not accessible. Make sure you have permissions on the external location corresponding to the inventory location.

### ANALYZE\_TABLE\_COMPUTE\_STORAGE\_METRICS\_INVENTORY\_CONTENTS\_NOT\_VALID

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The inventory list is not in the expected format. `<detail>`

### [ANALYZE\_TABLE\_COMPUTE\_STORAGE\_METRICS\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/analyze-table-compute-storage-metrics-not-supported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ANALYZE TABLE COMPUTE STORAGE METRICS` is not supported:

For more details see [ANALYZE\_TABLE\_COMPUTE\_STORAGE\_METRICS\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/analyze-table-compute-storage-metrics-not-supported-error-class.md)

### ANSI\_CONFIG\_CANNOT\_BE\_DISABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The ANSI SQL configuration `<config>` cannot be disabled in this product.

### APPEND\_ONCE\_FROM\_BATCH\_QUERY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please use the stream() operator.

Creating a streaming table from a batch query prevents incremental loading of new data from source. Offending table: '`<table>`'.

Example usage:

`CREATE STREAMING TABLE <target table name>` `...` `AS SELECT` `...` `FROM` stream(`<source table name>`) ...

### APPEND\_PARTITIONING\_COLUMNS\_MISMATCH

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided partitioning or clustering columns do not match the existing table's.

* provided: `<provided>`

* table: `<tablePartitioning>`

### APPROX\_TOP\_K\_INVALID\_NUM\_OF\_ARGUMENTS

[SQLSTATE: 42605](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`approx_top_k` expects 1 to 3 arguments, but got `<argNum>`.

### APPROX\_TOP\_K\_MAX\_ITEMS\_TRACKED\_EXCEEDS\_LIMIT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The max items tracked `maxItemsTracked`(`<maxItemsTracked>`) of `approx_top_k` should be less than or equal to `<limit>`.

### APPROX\_TOP\_K\_MAX\_ITEMS\_TRACKED\_LESS\_THAN\_K

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The max items tracked `maxItemsTracked`(`<maxItemsTracked>`) of `approx_top_k` should be greater than or equal to `k`(`<k>`).

### APPROX\_TOP\_K\_NON\_POSITIVE\_ARG

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value of `<argName>` in `approx_top_k` must be a positive integer, but got `<argValue>`.

### APPROX\_TOP\_K\_NULL\_ARG

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value of `<argName>` in `approx_top_k` cannot be `NULL`.

### APPROX\_TOP\_K\_SKETCH\_SIZE\_NOT\_MATCH

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Combining approx\_top\_k sketches of different sizes is not allowed. Found sketches of size `<size1>` and `<size2>`.

### APPROX\_TOP\_K\_SKETCH\_TYPE\_NOT\_MATCH

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Combining approx\_top\_k sketches of different types is not allowed. Found sketches of type `<type1>` and `<type2>`.

### AQE\_THREAD\_INTERRUPTED

[SQLSTATE: HY008](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hy-cli-specific-condition)

AQE thread is interrupted, probably due to query cancellation by user.

### ARCLIGHT\_VOLUMES\_FROM\_CLASSIC\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Volume `<volumeName>` is backed by default storage, which cannot be accessed from classic compute in this workspace. Access this volume from Serverless compute instead.

### ARGUMENT\_NOT\_CONSTANT

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<functionName>` includes a parameter `<parameterName>` at position `<pos>` that requires a constant argument. Please compute the argument `<sqlExpr>` separately and pass the result as a constant.

### [ARITHMETIC\_OVERFLOW](https://docs.databricks.com/gcp/en/error-messages/arithmetic-overflow-error-class.md)

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<message>`.`<alternative>` If necessary set `<config>` to "false" to bypass this error.

For more details see [ARITHMETIC\_OVERFLOW](https://docs.databricks.com/gcp/en/error-messages/arithmetic-overflow-error-class.md)

### ARRAY\_AGG\_WITH\_LIMIT\_NOT\_SUPPORTED\_OUTSIDE\_ROLLING\_WINDOW

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<funcName>` function with `LIMIT` is only supported within RollingWindow.

Normal aggregation (`GROUP BY`) and Window expressions are not supported.

### ARROW\_SCHEMA\_FIELD\_COUNT\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Arrow schema mismatch: encoder has `<encoderFieldCount>` fields but Arrow data only has `<arrowColumnCount>` columns.

### ARROW\_SCHEMA\_FIELD\_NAME\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Arrow schema mismatch: encoder field '`<encoderFieldName>`' does not match Arrow column '`<arrowColumnName>`' at the same position.

### ARROW\_TYPE\_MISMATCH

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid schema from `<operation>`: expected `<outputTypes>`, got `<actualDataTypes>`.

### ARTIFACT\_ALREADY\_EXISTS

[SQLSTATE: 42713](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The artifact `<normalizedRemoteRelativePath>` already exists. Please choose a different name for the new artifact because it cannot be overwritten.

### ARTIFACT\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The artifact '`<artifactName>`' was not found in the session. Expected path: `<expectedPath>`. Please ensure the artifact was uploaded via spark.addArtifact() before referencing it in dependencies.

### ASOF\_JOIN\_MATCH\_CONDITION\_INVALID\_EXPRESSION

[SQLSTATE: 42903](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `MATCH_CONDITION` operand contains an invalid expression: `<expr>`. Rewrite the query to avoid subqueries, aggregate functions, window functions, generator functions, or non-deterministic functions in `MATCH_CONDITION` operands.

### ASOF\_JOIN\_MATCH\_CONDITION\_INVALID\_OPERATOR

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `MATCH_CONDITION` operator must be one of >=, >, `<=`, \<. Got: `<operator>`.

### ASOF\_JOIN\_MATCH\_CONDITION\_INVALID\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `MATCH_CONDITION` operands must be of an orderable, mutually comparable type. Got: `<type1>` and `<type2>`.

### ASOF\_JOIN\_MATCH\_CONDITION\_TABLE\_REFERENCE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Each operand of the `MATCH_CONDITION` comparison must reference exactly one join input, and the two operands must reference different inputs. Got: `<refs1>` and `<refs2>`.

### ASSIGNMENT\_ARITY\_MISMATCH

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The number of columns or variables assigned or aliased: `<numTarget>` does not match the number of source expressions: `<numExpr>`.

### [AS\_OF\_JOIN](https://docs.databricks.com/gcp/en/error-messages/as-of-join-error-class.md)

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid as-of join.

For more details see [AS\_OF\_JOIN](https://docs.databricks.com/gcp/en/error-messages/as-of-join-error-class.md)

### ATTEMPT\_ANALYSIS\_IN\_PIPELINE\_QUERY\_FUNCTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operations that trigger DataFrame analysis or execution are not allowed in pipeline query functions. Move code outside of the pipeline query function.

### AUTOCDC\_BOTH\_COLUMN\_LIST\_AND\_EXCEPT\_COLUMN\_LIST

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

AutoCDC flow specifies both `column_list` and `except_column_list`; at most one may be provided.

### AUTOCDC\_BOTH\_TRACK\_HISTORY\_COLUMN\_LIST\_AND\_EXCEPT\_COLUMN\_LIST

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

AutoCDC flow specifies both `track_history_column_list` and `track_history_except_column_list`; at most one may be provided.

### AUTOCDC\_COLUMNS\_NOT\_FOUND\_IN\_SCHEMA

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Using `<caseSensitivity>` column name comparison, the following columns are not present in the `<schemaName>` schema: `<missingColumns>`. Available columns: `<availableColumns>`.

### AUTOCDC\_EMPTY\_KEYS

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

AutoCDC requires at least one key column to identify rows, but received an empty key set.

### [AUTOCDC\_INVALID\_STATE](https://docs.databricks.com/gcp/en/error-messages/autocdc-invalid-state-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Detected an invalid AutoCDC state for target table `<tableName>`:

For more details see [AUTOCDC\_INVALID\_STATE](https://docs.databricks.com/gcp/en/error-messages/autocdc-invalid-state-error-class.md)

### AUTOCDC\_KEY\_NOT\_IN\_SELECTED\_SCHEMA

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Using `<caseSensitivity>` column name comparison, the AutoCDC key column `<keyColumnName>` is not present in the flow's selected source schema. AutoCDC requires every key column to be present in the source change-data feed and retained by any configured column selection.

### [AUTOCDC\_MICROBATCH\_VALIDATION](https://docs.databricks.com/gcp/en/error-messages/autocdc-microbatch-validation-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

AutoCDC flow on table `<tableName>` in batch `<batchId>` failed microbatch validation.

For more details see [AUTOCDC\_MICROBATCH\_VALIDATION](https://docs.databricks.com/gcp/en/error-messages/autocdc-microbatch-validation-error-class.md)

### AUTOCDC\_MISSING\_SEQUENCE\_BY

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

AutoCDC flow is missing a required `sequence_by` expression. Specify a `sequence_by` column or expression that orders incoming change events.

### AUTOCDC\_MISSING\_SOURCE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

AutoCDC flow is missing a required `source` table name. Specify the name of the streaming source table the flow should read from.

### AUTOCDC\_MULTIPART\_COLUMN\_IDENTIFIER

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Expected a single column identifier; got the multi-part identifier `<columnName>` (parts: `<nameParts>`).

### AUTOCDC\_MULTIPLE\_FLOWS\_TO\_TARGET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid AutoCDC destination `<tableName>` with multiple flows: `<flows>`. An AutoCDC target table must have exactly one flow writing to it.

### AUTOCDC\_NON\_COLUMN\_IDENTIFIER

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Expected a column identifier; got the non-attribute expression `<expression>`. AutoCDC keys, sequence\_by, column\_list, and except\_column\_list must reference unqualified column names.

### AUTOCDC\_RESERVED\_COLUMN\_NAME\_CONFLICT

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<columnName>` in the `<schemaName>` schema collides with a reserved AutoCDC `<scdType>` column name (using `<caseSensitivity>` column name comparison). The following column names are reserved by AutoCDC and cannot appear in the source: `<reservedColumnNames>`. Rename or remove the column.

### AUTOCDC\_RESERVED\_COLUMN\_NAME\_PREFIX\_CONFLICT

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<columnName>` in the `<schemaName>` schema collides with the reserved AutoCDC column name prefix `<reservedColumnNamePrefix>` (using `<caseSensitivity>` column name comparison). Rename or remove the column.

### AUTOCDC\_TARGET\_DOES\_NOT\_SUPPORT\_MERGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot start AutoCDC flow: the target table `<tableName>` (format: `<format>`) does not support row-level operations. AutoCDC requires a target backed by a connector that supports `MERGE`.

### AUTOCDC\_TRACK\_HISTORY\_REQUIRES\_SCD2

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

AutoCDC flow specifies `track_history_column_list` or `track_history_except_column_list` but is not stored as SCD Type 2; history-tracking columns are only supported for SCD Type 2 target tables.

### AUTOCOMMIT\_BEGIN\_TRANSACTION\_DURING\_AUTOCOMMIT\_TRANSACTION

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Cannot start a new transaction while an implicit transaction started by `SET AUTOCOMMIT=FALSE` is active. `COMMIT` or `ROLLBACK` the current transaction first and `SET AUTOCOMMIT`=TRUE before starting a new transaction.

### AUTOCOMMIT\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`AUTOCOMMIT` is not enabled in this Databricks environment. `AUTOCOMMIT` is only supported on Databricks SQL warehouses.

### AUTOCOMMIT\_OLD\_SQL\_EDITOR\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`AUTOCOMMIT` cannot be accessed or modified in the legacy SQL Editor. Switch to the new SQL Editor (`<docLink>`) or use a notebook connected with a Databricks SQL warehouse.

### AUTOCOMMIT\_ONLY\_SUPPORTED\_IN\_DBSQL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`AUTOCOMMIT` can only be accessed or modified in Databricks SQL warehouses.

### AUTOCOMMIT\_SET\_DURING\_ACTIVE\_TRANSACTION

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Changing `AUTOCOMMIT` is not allowed during an active interactive transaction. `COMMIT` or `ROLLBACK` the current transaction first.

### AUTOCOMMIT\_SET\_FALSE\_ALREADY\_DISABLED

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

`SET AUTOCOMMIT=FALSE` is not allowed when `AUTOCOMMIT` is already disabled. Run `SET AUTOCOMMIT` to check the current state.

### AUTOCOMMIT\_SET\_TRUE\_DURING\_AUTOCOMMIT\_TRANSACTION

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

`SET AUTOCOMMIT`=TRUE is not allowed after statements have executed in an implicit transaction started by `SET AUTOCOMMIT=FALSE`. It is only allowed immediately after `SET AUTOCOMMIT=FALSE` (before any statements), or after `COMMIT` or `ROLLBACK`.

### AUTO\_CDC\_BITEMPORAL\_REQUIRES\_SYSTEM\_SEQUENCE\_BY

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`STORED AS BITEMPORAL` requires a `SYSTEM SEQUENCE BY` clause.

### AUTO\_CDC\_SYSTEM\_SEQUENCE\_BY\_REQUIRES\_BITEMPORAL

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SYSTEM SEQUENCE BY` can only be used with `STORED AS BITEMPORAL`.

### AUTO\_INDEX\_FEATURE\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Auto index feature is not enabled for your account. To enable it, contact your Databricks representative.

### AUTO\_TTL\_COLUMN\_NOT\_FOUND

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid table schema for Auto-TTL. Auto-TTL column `<column>` cannot be found.

### AUTO\_TTL\_COLUMN\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto-TTL column `<column>` has type `<type>` which is invalid. Column type has to be one of `TIMESTAMP, TIMESTAMP_NTZ`, or `DATE`.

### AUTO\_TTL\_FEATURE\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Please contact your Databricks representative to enable the Auto-TTL feature.

### AUTO\_TTL\_INCOMPLETE\_SETTING

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

To set Auto-TTL on a table, both table properties `autottl.timestampColumn` and `autottl.expireInDays` are required, but `<missing>` is missing.

### AUTO\_TTL\_INVALID\_COLUMN\_CHANGE

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<column>` cannot be `<operation>` since it's used in the definition of Auto-TTL.

### AUTO\_TTL\_NOT\_SUPPORT\_SHALLOW\_CLONES

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Auto-TTL is not supported on shallow clone tables.

### AUTO\_TTL\_NOT\_SUPPORT\_TABLES\_HAVING\_SHALLOW\_CLONES

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Auto-TTL is not supported on tables that have shallow clones.

### AUTO\_TTL\_REQUIRES\_PREDICTIVE\_OPTIMIZATION

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Auto-TTL requires Predictive Optimization to be enabled.

### AUTO\_TTL\_REQUIRES\_UC\_MANAGED\_TABLE

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Auto-TTL is only supported on UC Managed tables.

### AVRO\_CANNOT\_READ\_NULL\_FIELD

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot read null value for `<name>` into a non-nullable SQL type.

To allow null values, declare the corresponding type as nullable in the read schema.

### AVRO\_CANNOT\_WRITE\_NULL\_FIELD

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot write null value for field `<name>` defined as non-null Avro data type `<dataType>`.

To allow null value for this field, specify its avro schema as a union type with "null" using `avroSchema` option.

### AVRO\_DATA\_SOURCE\_NOT\_ENABLED

[SQLSTATE: 42K02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to find data source: `<provider>`. Avro is built-in but external data source module since Spark 2.4. Please deploy the application as per the deployment section of Apache Avro Data Source Guide.

### AVRO\_DEFAULT\_VALUES\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The use of default values is not supported when`rescuedDataColumn` is enabled. You may be able to remove this check by setting `spark.databricks.sql.avro.rescuedDataBlockUserDefinedSchemaDefaultValue` to false, but the default values will not apply and null values will still be used.

### AVRO\_ENCODE\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to encode value to Avro. Reason: `<reason>`.

### AVRO\_INCOMPATIBLE\_READ\_TYPE

[SQLSTATE: 22KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot convert Avro `<avroPath>` to SQL `<sqlPath>` because the original encoded data type is `<avroType>`, however you're trying to read the field as `<sqlType>`, which would lead to an incorrect answer.

To allow reading this field, enable the SQL configuration: "spark.sql.legacy.avro.allowIncompatibleSchema".

### AVRO\_INCOMPATIBLE\_SCHEMA

[SQLSTATE: 22KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot `<direction>` Avro type `<avroType>` as SQL type `<sqlType>`. Reason: `<reason>`.

### AVRO\_NOT\_LOADED\_SQL\_FUNCTIONS\_UNUSABLE

[SQLSTATE: 22KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot call the `<functionName>` SQL function because the Avro data source is not loaded.

Please restart your job or session with the 'spark-avro' package loaded, such as by using the --packages argument on the command line, and then retry your query or command again.

### AVRO\_POSITIONAL\_FIELD\_MATCHING\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The use of positional field matching is not supported when either `rescuedDataColumn` or `failOnUnknownFields` is enabled. Remove these options to proceed.

### AZURE\_INVALID\_CREDENTIALS\_CONFIGURATION

[SQLSTATE: 42KDK](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Azure key provider or credentials are configured incorrectly. Reason: `<causedBy>`.

### BATCH\_METADATA\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to find batch `<batchMetadataFile>`.

### BEAN\_ENCODER\_INTERFACE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Bean encoder does not support interface type `<className>`.

### [BIGQUERY\_DATA\_SOURCE\_OPTIONS\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/bigquery-data-source-options-validation-failed-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The BigQuery data source option(s) validation failed.

For more details see [BIGQUERY\_DATA\_SOURCE\_OPTIONS\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/bigquery-data-source-options-validation-failed-error-class.md)

### [BIGQUERY\_PROXY\_ADDRESS\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/bigquery-proxy-address-blocked-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The configured BigQuery proxy address cannot be used.

For more details see [BIGQUERY\_PROXY\_ADDRESS\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/bigquery-proxy-address-blocked-error-class.md)

### BIGQUERY\_STORAGE\_API\_PROXY\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

BigQuery Storage API does not work with Secure Egress Gateway (SEG) if proxyAddress is explicitly set. To use BigQuery with SEG, do not set proxyAddress in Hadoop configuration (fs.gs.proxy.address).

### BINARY\_ARITHMETIC\_OVERFLOW

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<value1> <symbol> <value2>` caused overflow. Use `<functionName>` to ignore overflow problem and return `NULL`.

### BINARY\_FILE\_DATA\_SOURCE\_SCHEMA\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The schema provided to the binary file data source does not match the expected schema.

Expected schema: `<expectedSchema>`

Provided schema: `<providedSchema>`

### BIN\_BY\_ALIGN\_TO\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `ALIGN` TO expression type `<originType>` must match the range column type `<rangeType>`.

### BIN\_BY\_DUPLICATE\_DISTRIBUTE\_COLUMN

[SQLSTATE: 42713](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` appears multiple times in the BIN `BY DISTRIBUTE UNIFORM` clause.

### BIN\_BY\_INVALID\_ALIGN\_TO

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `ALIGN` TO expression could not be evaluated to a constant value. Got: `<expr>`.

### BIN\_BY\_INVALID\_BIN\_WIDTH

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The BIN `WIDTH` expression could not be evaluated to a constant value. Got: `<expr>`.

### BIN\_BY\_INVALID\_BIN\_WIDTH\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The BIN `WIDTH` expression must be of type "`INTERVAL DAY` TO `SECOND`", but got `<inputType>`.

### BIN\_BY\_INVALID\_DISTRIBUTE\_COLUMN\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `DISTRIBUTE UNIFORM` columns in BIN `BY` must be `FLOAT` or `DOUBLE`. Column `<columnName>` has type `<columnType>`.

### BIN\_BY\_INVALID\_RANGE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The BIN `BY` range is invalid: the range start (`<rangeStart>`) must be less than or equal to the range end (`<rangeEnd>`).

### BIN\_BY\_MISSING\_DISTRIBUTE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

BIN `BY` requires at least one column in `DISTRIBUTE UNIFORM` (...).

### BIN\_BY\_NON\_POSITIVE\_BIN\_WIDTH

[SQLSTATE: 42816](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The BIN `WIDTH` expression must be positive. Got: `<expr>`.

### BIN\_BY\_NULL\_ARGUMENT

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The `<clause>` expression in BIN `BY` must not be `NULL`.

### BIN\_BY\_RANGE\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The range columns in BIN `BY` must be `TIMESTAMP` or `TIMESTAMP_NTZ`. Column `<columnName>` has type `<columnType>`. Both range columns must have the same type.

### BIN\_BY\_REQUIRES\_TOP\_LEVEL\_COLUMN

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

BIN `BY` requires a top-level column, but `<columnName>` is a nested or computed field. Alias it to a top-level column in a select before BIN `BY`.

### BUILTIN\_TVF\_CREDENTIAL\_RETRIEVAL\_FAILED

SQLSTATE: none assigned

Failed to retrieve Databricks credentials for built-in Python TVF '`<procedureName>`': `<message>`

### BUILT\_IN\_CATALOG

[SQLSTATE: 42832](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<operation>` doesn't support built-in catalogs.

### CACHE\_ACTIVE\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot cache the DataFrame: the session has reached the maximum of `<maxActiveEntries>` cached DataFrames. To make room, call `df.unpersist()` on a cached DataFrame you no longer need. Note that any DataFrame derived from that one also becomes unusable.

### CACHE\_DATAFRAME\_ACCESS\_AFTER\_UNCACHE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

This DataFrame, or a DataFrame it was derived from, has been uncached and can no longer be accessed. Create a new DataFrame from the original data source to continue working with the data.

### [CACHE\_ENTRY\_RESOLUTION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/cache-entry-resolution-failed-error-class.md)

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Failed to resolve cached data. This can happen when the session has been active for a long time and the underlying cached data has been cleaned up. Re-run `df.cache()` to re-materialize the DataFrame.

Details: planId=`<planId>`, reason=`<reason>`.

For more details see [CACHE\_ENTRY\_RESOLUTION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/cache-entry-resolution-failed-error-class.md)

### CACHE\_REQUIRES\_NEWER\_CLIENT\_ON\_SERVERLESS\_GC

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

df.cache(), df.persist(), and df.unpersist() require a newer client version on this compute. Upgrade your client to the minimum supported version for your environment and retry:

Databricks client environment: version 5 (v5) or above.

Databricks Connect for Python: 18.1.8 or above.

Databricks Connect for Scala: 18.1.5 or above.

### CACHE\_TOTAL\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot cache the DataFrame: the session has reached the total limit of `<maxTotalEntries>` cached and uncached DataFrames. To cache a new DataFrame, start a new session.

### CALL\_IN\_EXECUTE\_IMMEDIATE

[SQLSTATE: 07501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-07-dynamic-sql-error)

CALL statements in `EXECUTE IMMEDIATE` commands are not allowed. Ensure that the SQL query provided (`<sqlString>`) is not a CALL statement.

### CALL\_ON\_STREAMING\_DATASET\_UNSUPPORTED

[SQLSTATE: 42KDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The method `<methodName>` can not be called on streaming Dataset/DataFrame.

### CANNOT\_ALTER\_COLLATION\_BUCKET\_COLUMN

[SQLSTATE: 428FR](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE (ALTER|CHANGE) COLUMN` cannot change collation of type/subtypes of bucket columns, but found the bucket column `<columnName>` in the table `<tableName>`.

### CANNOT\_ALTER\_PARTITION\_COLUMN

[SQLSTATE: 428FR](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE (ALTER|CHANGE) COLUMN` is not supported for partition columns, but found the partition column `<columnName>` in the table `<tableName>`.

### CANNOT\_ASSIGN\_EVENT\_TIME\_COLUMN\_WITHOUT\_WATERMARK

[SQLSTATE: 42611](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Watermark needs to be defined to reassign event time column. Failed to find watermark definition in the streaming query.

### CANNOT\_CAST\_DATATYPE

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot cast `<sourceType>` to `<targetType>`.

### CANNOT\_CONVERT\_PROTOBUF\_FIELD\_TYPE\_TO\_SQL\_TYPE

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot convert Protobuf `<protobufColumn>` to SQL `<sqlColumn>` because schema is incompatible (protobufType = `<protobufType>`, sqlType = `<sqlType>`).

### CANNOT\_CONVERT\_PROTOBUF\_MESSAGE\_TYPE\_TO\_SQL\_TYPE

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to convert `<protobufType>` of Protobuf to SQL type `<toType>`.

### CANNOT\_CONVERT\_SQL\_TYPE\_TO\_PROTOBUF\_FIELD\_TYPE

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot convert SQL `<sqlColumn>` to Protobuf `<protobufColumn>` because schema is incompatible (protobufType = `<protobufType>`, sqlType = `<sqlType>`).

### CANNOT\_CONVERT\_SQL\_VALUE\_TO\_PROTOBUF\_ENUM\_TYPE

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot convert SQL `<sqlColumn>` to Protobuf `<protobufColumn>` because `<data>` is not in defined values for enum: `<enumString>`.

### CANNOT\_COPY\_STATE

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot copy catalog state like current database and temporary views from Unity Catalog to a legacy catalog.

### [CANNOT\_CREATE\_DATA\_SOURCE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/cannot-create-data-source-table-error-class.md)

[SQLSTATE: 42KDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create data source table `<tableName>`:

For more details see [CANNOT\_CREATE\_DATA\_SOURCE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/cannot-create-data-source-table-error-class.md)

### CANNOT\_DECODE\_URL

[SQLSTATE: 22546](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The provided URL cannot be decoded: `<url>`. Please ensure that the URL is properly formatted and try again.

### CANNOT\_DELETE\_SYSTEM\_OWNED

[SQLSTATE: 42832](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

System owned `<resourceType>` cannot be deleted.

### CANNOT\_DROP\_AMBIGUOUS\_CONSTRAINT

[SQLSTATE: 42K0C](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop the constraint with the name `<constraintName>` shared by a `CHECK` constraint

and a `PRIMARY KEY` or `FOREIGN KEY` constraint. You can drop the `PRIMARY KEY` or

`FOREIGN KEY` constraint by queries:

`ALTER TABLE` .. `DROP PRIMARY KEY` or

`ALTER TABLE` .. `DROP FOREIGN KEY` ..

### CANNOT\_DROP\_BASE\_TABLE\_REFERENCED\_BY\_SHALLOW\_CLONE

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop table `<baseTable>` because it is referenced by one or more shallow clone(s): `<cloneList>`. `DROP` all shallow clones before dropping the base table. If this is not possible, consider to use '`DROP TABLE` `...` `FORCE`' to drop the table forcefully. `WARNING`: This will immediately break all existing shallow clone references and make them unusable.

### CANNOT\_ESTABLISH\_CONNECTION

[SQLSTATE: 08001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Cannot establish connection to remote `<jdbcDialectName>` database. Please check connection information and credentials for example, host, port, user, password and database options. \*\* If you believe the information is correct, please check your workspace's network setup and ensure it does not have outbound restrictions to the host. Please also check that the host does not block inbound connections from the network where the workspace's Spark clusters are deployed. \*\* Detailed error message: `<causeErrorMessage>`.

### CANNOT\_ESTABLISH\_CONNECTION\_SERVERLESS

[SQLSTATE: 08001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Cannot establish connection to remote `<jdbcDialectName>` database. Please check connection information and credentials for example, host, port, user, password and database options. \*\* If you believe the information is correct, please allow inbound traffic from the Internet to your host, as you are using Serverless Compute. If your network policies do not allow inbound Internet traffic, please use non Serverless Compute, or you may reach out to your Databricks representative to learn about Serverless Private Networking. \*\* Detailed error message: `<causeErrorMessage>`.

### CANNOT\_ESTABLISH\_CONNECTION\_TO\_HOST

[SQLSTATE: 08001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Cannot establish `<protocol>` connection to `<host>`. Please check your workspace's network setup and ensure it does not have outbound restrictions to the host. Please also check that the host does not block inbound connections from the network where the workspace's clusters are deployed.

### CANNOT\_INSTANTIATE\_HIVE\_FUNCTION

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Cannot instantiate the Hive UDF/UDAF/UDTF wrapper class `<clazz>`. Check that the function arguments and their types are supported.

### CANNOT\_INVOKE\_IN\_TRANSFORMATIONS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Dataset transformations and actions can only be invoked by the driver, not inside of other Dataset transformations; for example, dataset1.map(x `=>` dataset2.values.count() \* x) is invalid because the values transformation and count action cannot be performed inside of the dataset1.map transformation. For more information, see `SPARK`-28702.

### [CANNOT\_LOAD\_CATALOG](https://docs.databricks.com/gcp/en/error-messages/cannot-load-catalog-error-class.md)

[SQLSTATE: 46103](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Cannot load catalog '`<name>`' with the plugin class '`<pluginClassName>`':

For more details see [CANNOT\_LOAD\_CATALOG](https://docs.databricks.com/gcp/en/error-messages/cannot-load-catalog-error-class.md)

### [CANNOT\_LOAD\_CHECKPOINT\_FILE\_MANAGER](https://docs.databricks.com/gcp/en/error-messages/cannot-load-checkpoint-file-manager-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Error loading streaming checkpoint file manager for path=`<path>`.

For more details see [CANNOT\_LOAD\_CHECKPOINT\_FILE\_MANAGER](https://docs.databricks.com/gcp/en/error-messages/cannot-load-checkpoint-file-manager-error-class.md)

### CANNOT\_LOAD\_FUNCTION\_CLASS

[SQLSTATE: 46103](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Cannot load class `<className>` when registering the function `<functionName>`, please make sure it is on the classpath.

### CANNOT\_LOAD\_PROTOBUF\_CLASS

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not load Protobuf class with name `<protobufClassName>`. `<explanation>`.

### [CANNOT\_LOAD\_STATE\_STORE](https://docs.databricks.com/gcp/en/error-messages/cannot-load-state-store-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

An error occurred during loading state.

For more details see [CANNOT\_LOAD\_STATE\_STORE](https://docs.databricks.com/gcp/en/error-messages/cannot-load-state-store-error-class.md)

### CANNOT\_MERGE\_INCOMPATIBLE\_DATA\_TYPE

[SQLSTATE: 42825](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to merge incompatible data types `<left>` and `<right>`. Please check the data types of the columns being merged and ensure that they are compatible. If necessary, consider casting the columns to compatible data types before attempting the merge.

### CANNOT\_MERGE\_SCHEMAS

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed merging schemas:

Initial schema:

`<left>`

Schema that cannot be merged with the initial schema:

`<right>`.

### CANNOT\_MODIFY\_CONFIG

[SQLSTATE: 46110](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Cannot modify the value of the Spark config: `<key>`.

See also '[https://spark.apache.org/docs/latest/sql-migration-guide.html#ddl-statements](https://spark.apache.org/docs/latest/sql-migration-guide.html#ddl-statements)'.

### CANNOT\_MODIFY\_STATIC\_CONFIG

[SQLSTATE: 46110](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Cannot modify the value of the static Spark config: `<key>`.

### CANNOT\_PARSE\_DECIMAL

[SQLSTATE: 22018](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot parse decimal. Please ensure that the input is a valid number with optional decimal point or comma separators.

### CANNOT\_PARSE\_INTERVAL

[SQLSTATE: 22006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unable to parse `<intervalString>`. Please ensure that the value provided is in a valid format for defining an interval. You can reference the documentation for the correct format. If the issue persists, please double check that the input value is not null or empty and try again.

### CANNOT\_PARSE\_JSON\_FIELD

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot parse the field name `<fieldName>` and the value `<fieldValue>` of the `JSON` token type `<jsonType>` to target Spark data type `<dataType>`.

### CANNOT\_PARSE\_PROTOBUF\_DESCRIPTOR

[SQLSTATE: 22018](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing descriptor bytes into Protobuf FileDescriptorSet.

### CANNOT\_PARSE\_TIME

[SQLSTATE: 22010](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The input string `<input>` cannot be parsed to a TIME value because it does not match to the datetime format `<format>`.

### CANNOT\_PARSE\_TIMESTAMP

[SQLSTATE: 22007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<message>`. Use `<func>` to tolerate invalid input string and return `NULL` instead.

### [CANNOT\_QUERY\_TABLE\_DURING\_INITIALIZATION](https://docs.databricks.com/gcp/en/error-messages/cannot-query-table-during-initialization-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot query MV/ST during initialization.

For more details see [CANNOT\_QUERY\_TABLE\_DURING\_INITIALIZATION](https://docs.databricks.com/gcp/en/error-messages/cannot-query-table-during-initialization-error-class.md)

### CANNOT\_READ\_ARCHIVED\_FILE

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot read file at path `<path>` because it has been archived. Please adjust your query filters to exclude archived files.

### [CANNOT\_READ\_FILE](https://docs.databricks.com/gcp/en/error-messages/cannot-read-file-error-class.md)

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot read `<format>` file at path: `<path>`.

For more details see [CANNOT\_READ\_FILE](https://docs.databricks.com/gcp/en/error-messages/cannot-read-file-error-class.md)

### CANNOT\_READ\_SENSITIVE\_KEY\_FROM\_SECURE\_PROVIDER

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot read sensitive key '`<key>`' from secure provider.

### CANNOT\_READ\_ZIP\_ENTRY

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot read zip entry `<entry>` in archive `<path>`: encrypted or an unsupported compression method.

### CANNOT\_RECOGNIZE\_HIVE\_TYPE

[SQLSTATE: 429BB](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot recognize hive type string: `<fieldType>`, column: `<fieldName>`. The specified data type for the field cannot be recognized by Spark SQL. Please check the data type of the specified field and ensure that it is a valid Spark SQL data type. Refer to the Spark SQL documentation for a list of valid data types and their format. If the data type is correct, please ensure that you are using a supported version of Spark SQL.

### CANNOT\_REFERENCE\_UC\_IN\_HMS

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot reference a Unity Catalog `<objType>` in Hive Metastore objects.

### CANNOT\_REFRESH\_NON\_MATERIALIZED\_VIEW

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot refresh a non-materialized view with `REFRESH MATERIALIZED VIEW`.

### CANNOT\_REMOVE\_RESERVED\_PROPERTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot remove reserved property: `<property>`.

### CANNOT\_RENAME\_ACROSS\_CATALOG

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Renaming a `<type>` across catalogs is not allowed.

### CANNOT\_RENAME\_ACROSS\_SCHEMA

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Renaming a `<type>` across schemas is not allowed.

### CANNOT\_RESOLVE\_DATAFRAME\_COLUMN

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve dataframe column `<name>`. It's probably because of illegal references like `df1.select(df2.col("a"))`.

### CANNOT\_RESOLVE\_STAR\_EXPAND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve `<targetString>`.\* given input columns `<columns>`. Please check that the specified table or struct exists and is accessible in the input columns.

### CANNOT\_RESTORE\_PERMISSIONS\_FOR\_PATH

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to set permissions on created path `<path>` back to `<permission>`.

### CANNOT\_SET\_AZURE\_KEY\_PROVIDER\_CONFIG

[SQLSTATE: 46110](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Cannot set configurations in the reserved Azure key-provider family '`<configFamily>`'. Setting these is blocked because they can be used to run arbitrary commands on the driver.

### CANNOT\_SHALLOW\_CLONE\_ACROSS\_UC\_AND\_HMS

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot shallow-clone tables across Unity Catalog and Hive Metastore.

### CANNOT\_SHALLOW\_CLONE\_AUTO\_TTL

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot shallow-clone a table `<table>` that has Auto-TTL enabled.

### CANNOT\_SHALLOW\_CLONE\_NESTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot shallow-clone a table `<table>` that is already a shallow clone.

### CANNOT\_SHALLOW\_CLONE\_NON\_UC\_MANAGED\_TABLE\_AS\_SOURCE\_OR\_TARGET

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Shallow clone is only supported for the `MANAGED` table type. The table `<table>` is not `MANAGED` table.

### CANNOT\_TRUNCATE\_EXTERNAL\_TABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation not allowed: `TRUNCATE TABLE` on external tables: `<tableName>`.

### [CANNOT\_UPDATE\_FIELD](https://docs.databricks.com/gcp/en/error-messages/cannot-update-field-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot update `<table>` field `<fieldName>` type:

For more details see [CANNOT\_UPDATE\_FIELD](https://docs.databricks.com/gcp/en/error-messages/cannot-update-field-error-class.md)

### CANNOT\_UPDATE\_PARTITION\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Declared partitioning `<requestedPartitionColumns>` conflicts with existing table partitioning `<existingPartitionColumns>`.

Please delete the table or change the declared partitioning to match its partitions.

### CANNOT\_UP\_CAST\_DATATYPE

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot up cast `<expression>` from `<sourceType>` to `<targetType>`.

`<details>`

### CANNOT\_USE\_KRYO

[SQLSTATE: 22KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot load Kryo serialization codec. Kryo serialization cannot be used in the Spark Connect client. Use Java serialization, provide a custom Codec, or use Spark Classic instead.

### CANNOT\_USE\_MULTI\_ALIASES\_IN\_WATERMARK\_CLAUSE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Multiple aliases are not supported in watermark clause.

### CANNOT\_USE\_RESERVED\_STREAMING\_PROVIDER\_NAME

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot use reserved streaming provider name: `<providerName>`.

### CANNOT\_VALIDATE\_CONNECTION

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Validation of `<jdbcDialectName>` connection is not supported. Please contact Databricks support for alternative solutions, or set "spark.databricks.testConnectionBeforeCreation" to "false" to skip connection testing before creating a connection object.

### CANNOT\_WRITE\_MANAGED\_FILE\_AS\_EXTERNAL

[SQLSTATE: 42821](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot write a `MANAGED` FILE reference to an `EXTERNAL` FILE column. Convert the `MANAGED` FILE into an `EXTERNAL` FILE with copy\_file().

### [CANNOT\_WRITE\_STATE\_STORE](https://docs.databricks.com/gcp/en/error-messages/cannot-write-state-store-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Error writing state store files for provider `<providerClass>`.

For more details see [CANNOT\_WRITE\_STATE\_STORE](https://docs.databricks.com/gcp/en/error-messages/cannot-write-state-store-error-class.md)

### [CAST\_INVALID\_INPUT](https://docs.databricks.com/gcp/en/error-messages/cast-invalid-input-error-class.md)

[SQLSTATE: 22018](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value `<expression>` of the type `<sourceType>` cannot be cast to `<targetType>` because it is malformed. Correct the value as per the syntax, or change its target type. Use `try_cast` to tolerate malformed input and return `NULL` instead.

For more details see [CAST\_INVALID\_INPUT](https://docs.databricks.com/gcp/en/error-messages/cast-invalid-input-error-class.md)

### CAST\_NULL\_INTO\_NON\_NULLABLE\_NESTED\_TYPE

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot cast to a nested type with a non-nullable `<position>`: the cast produced a `NULL` value there, which the target type does not allow.

### CAST\_OVERFLOW

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value `<value>` of the type `<sourceType>` cannot be cast to `<targetType>` due to an overflow. Use `try_cast` to tolerate overflow and return `NULL` instead.

### CAST\_OVERFLOW\_IN\_TABLE\_INSERT

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Fail to assign a value of `<sourceType>` type to the `<targetType>` type column or variable `<columnName>` due to an overflow. Use `try_cast` on the input value to tolerate overflow and return `NULL` instead.

### [CAST\_TO\_FILE\_TYPE](https://docs.databricks.com/gcp/en/error-messages/cast-to-file-type-error-class.md)

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot CAST `<sourceType>` to FILE.

For more details see [CAST\_TO\_FILE\_TYPE](https://docs.databricks.com/gcp/en/error-messages/cast-to-file-type-error-class.md)

### CATALOG\_ALREADY\_EXISTS

[SQLSTATE: 42KDN](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create catalog `<catalogName>` because it already exists.

Choose a different name, drop or replace the existing catalog, or add the `IF NOT EXISTS` clause to tolerate a pre-existing catalog.

### CATALOG\_CONVERSION\_FOREIGN\_ENTITY\_PRESENT

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Catalog conversion from UC Foreign to UC Standard failed because catalog contains foreign entities (up to 10 are shown here): `<entityNames>`. To see the full list of foreign entities in this catalog, please refer to the scripts in '`ALTER CATALOG DROP CONNECTION`' command documentation.

### CATALOG\_CONVERSION\_UNSUPPORTED\_CATALOG\_TYPE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Catalog cannot be converted from UC Foreign to UC Standard. Only `<convertableCatalogTypes>` Foreign UC catalogs can be converted to UC Standard.

### CATALOG\_MANAGED\_TABLE\_ACCESS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot access the streaming table or materialized view `<tableName>`: accessing a catalog-managed table is only supported on a shared or serverless cluster. If the issue persists after switching, please contact Databricks support.

### CATALOG\_MANAGED\_TABLE\_CREATION\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating Delta tables with `<feature>` table feature is not allowed. Please contact Databricks support.

### CATALOG\_MANAGED\_TABLE\_CREATION\_ON\_NON\_UC\_MANAGED\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating Delta tables with the catalog-managed table feature is only supported for Unity Catalog managed tables.

### CATALOG\_NOT\_FOUND

[SQLSTATE: 42P08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The catalog `<catalogName>` not found. Consider to set the SQL config `<config>` to a catalog plugin.

### CATALOG\_TABLE\_MISSING\_DELTA\_TRANSACTION\_LOG

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table `<tableName>` exists in the catalog, but its Delta log at `<path>` has no committed version. Verify its storage exists and is readable.

### CHECKPOINT\_DIR\_NOT\_SET

[SQLSTATE: 42K0I](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Checkpoint directory has not been set in the SparkContext.

Please set it with `SparkContext.setCheckpointDir()`.

### CHECKPOINT\_RDD\_BLOCK\_ID\_NOT\_FOUND

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Checkpoint block `<rddBlockId>` not found!

Either the executor that originally checkpointed this partition is no longer alive, or the original RDD is unpersisted.

If this problem persists, you may consider using `rdd.checkpoint()` instead, which is slower than local checkpointing but more fault-tolerant.

### CHECKPOINT\_RDD\_PARTITION\_COUNT\_MISMATCH

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The checkpoint of RDD `<originalRDDId>` has `<newRDDLength>` partition(s), but the RDD itself has `<originalRDDLength>`. The checkpoint RDD is `<newRDDId>`.

This usually means the checkpoint directory is not on storage that both the driver and the executors can read and write, or that some checkpoint files did not survive until the checkpoint was read back.

### CHECK\_CONSTRAINT\_VIOLATION

[SQLSTATE: 23001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

`CHECK` constraint `<constraintName> <expression>` violated by row with values:

`<values>`

### CIRCULAR\_CLASS\_REFERENCE

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot have circular references in class, but got the circular reference of class `<t>`.

### CLASS\_NOT\_OVERRIDE\_EXPECTED\_METHOD

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

`<className>` must override either `<method1>` or `<method2>`.

### CLASS\_UNSUPPORTED\_BY\_MAP\_OBJECTS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MapObjects` does not support the class `<cls>` as resulting collection.

### CLEANROOM\_COMMANDS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Clean Room commands are not supported

### CLEANROOM\_INVALID\_SHARED\_DATA\_OBJECT\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid name to reference a `<type>` inside a Clean Room. Use a `<type>`'s name inside the clean room following the format of \[catalog].\[schema].\[`<type>`].

If you are unsure about what name to use, you can run "`SHOW ALL IN CLEANROOM` \[clean\_room]" and use the value in the "name" column.

### CLONING\_WITH\_HISTORY\_INVALID\_OPTION

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cloning with history is specified with an invalid option: `<invalidOption>`.

Valid syntax: `CREATE` (OR `REPLACE) TABLE` ... DEEP `CLONE` `...` `WITH HISTORY`.

### CLONING\_WITH\_HISTORY\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cloning with history is not supported.

### CLOUDFILES\_SCHEMA\_LOCATION\_REQUIRED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find required option: schemaLocation. Provide a schema location using `cloudFiles.schemaLocation` for storing the inferred schema and supporting schema evolution.

### CLOUD\_ACCESS\_DENIED

[SQLSTATE: 42KDM](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Access denied to `<path>` cloud path for `<operation>` operation. Cloud provider error message: `<original>`

### CLOUD\_FILE\_ALREADY\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cloud file already exists. Reason: `<causedBy>`.

### CLOUD\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cloud file is not found. Reason: `<causedBy>`.

### CLOUD\_FILE\_SOURCE\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A file notification was received for file: `<filePath>` but it does not exist anymore. Please ensure that files are not deleted before they are processed. To continue your stream, you can set the Spark SQL configuration `<config>` to true.

### CLOUD\_INVALID\_PATH

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The specified path contains invalid characters and cannot be resolved. Path: `<path>`. Reason: `<reason>`

### CLOUD\_IO\_INVALID\_ARGUMENT

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Cloud storage request rejected as invalid: `<request_context_and_error_msg>`

### CLOUD\_PROVIDER\_ERROR

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Cloud provider error: `<message>`

### CLUSTERING\_COLUMNS\_MISMATCH

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Specified clustering does not match that of the existing table `<tableName>`.

Specified clustering columns: \[`<specifiedClusteringString>`].

Existing clustering columns: \[`<existingClusteringString>`].

### CLUSTERING\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<operation>`' does not support clustering.

### CLUSTER\_BY\_AUTO\_FEATURE\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Please contact your Databricks representative to enable the cluster-by-auto feature.

### CLUSTER\_BY\_AUTO\_REQUIRED\_FOR\_OPERATION

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Predictive optimization tried to automatically apply clustering keys to `<tableName>` but `<tableName>` no longer has `CLUSTER BY` AUTO enabled, therefore the operation failed.

Please re-enable `CLUSTER BY` AUTO if you want the clustering keys to be picked automatically.

### CLUSTER\_BY\_AUTO\_REQUIRES\_CLUSTERING\_FEATURE\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Please enable clusteringTable.enableClusteringTableFeature to use `CLUSTER BY` AUTO.

### CLUSTER\_BY\_AUTO\_REQUIRES\_PREDICTIVE\_OPTIMIZATION

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`CLUSTER BY` AUTO requires Predictive Optimization to be enabled.

### CLUSTER\_BY\_AUTO\_UNSUPPORTED\_TABLE\_TYPE\_ERROR

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`CLUSTER BY` AUTO is only supported on UC Managed tables.

### [CODEC\_NOT\_AVAILABLE](https://docs.databricks.com/gcp/en/error-messages/codec-not-available-error-class.md)

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The codec `<codecName>` is not available.

For more details see [CODEC\_NOT\_AVAILABLE](https://docs.databricks.com/gcp/en/error-messages/codec-not-available-error-class.md)

### CODEC\_SHORT\_NAME\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot find a short name for the codec `<codecName>`.

### COLLATION\_INVALID\_NAME

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The value `<collationName>` does not represent a correct collation name. Suggested valid collation names: \[`<proposals>`].

### COLLATION\_INVALID\_PROVIDER

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The value `<provider>` does not represent a correct collation provider. Supported providers are: \[`<supportedProviders>`].

### [COLLATION\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/collation-mismatch-error-class.md)

[SQLSTATE: 42P21](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not determine which collation to use for string functions and operators.

For more details see [COLLATION\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/collation-mismatch-error-class.md)

### [COLLECTION\_SIZE\_LIMIT\_EXCEEDED](https://docs.databricks.com/gcp/en/error-messages/collection-size-limit-exceeded-error-class.md)

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Can't create array with `<numberOfElements>` elements which exceeding the array size limit `<maxRoundedArrayLength>`,

For more details see [COLLECTION\_SIZE\_LIMIT\_EXCEEDED](https://docs.databricks.com/gcp/en/error-messages/collection-size-limit-exceeded-error-class.md)

### COLUMN\_ALIASES\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column aliases are not allowed in `<op>`.

### COLUMN\_ALREADY\_EXISTS

[SQLSTATE: 42711](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<columnName>` already exists. Choose another name or rename the existing column.

### COLUMN\_ARRAY\_ELEMENT\_TYPE\_MISMATCH

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Some values in field `<pos>` are incompatible with the column array type. Expected type `<type>`.

### COLUMN\_IS\_NOT\_VARIANT\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The semi-structured extraction operator (`:`) can only be applied to a column of the `VARIANT` type.

### COLUMN\_MASKS\_ABAC\_MISMATCH

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Column masks could not be resolved on `<tableName>` because the column mask inherited from ABAC policies does not apply the same function as the explicitly defined column mask on the table.

For resolution steps, contact the table owner or policy administrator, or see [https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/policy-evaluation#troubleshooting-policy-conflicts](https://docs.databricks.com/aws/en/data-governance/unity-catalog/abac/policy-evaluation#troubleshooting-policy-conflicts)

### COLUMN\_MASKS\_CATALOG\_SCHEMA\_OUT\_OF\_SYNC

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot set column mask on column `<columnName>` for table `<tableName>` because the column exists in the Delta schema but not in the Unity Catalog schema. This means the table metadata is out of sync. Run MSCK `REPAIR TABLE <tableName> SYNC METADATA` or re-add the column with catalog sync enabled before setting a column mask.

### COLUMN\_MASKS\_CHECK\_CONSTRAINT\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating `CHECK` constraint on table `<tableName>` with column mask policies is not supported.

### COLUMN\_MASKS\_DUPLICATE\_USING\_COLUMN\_NAME

[SQLSTATE: 42734](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A `<statementType>` statement attempted to assign a column mask policy to a column which included two or more other referenced columns in the `USING COLUMNS` list with the same name `<columnName>`, which is invalid.

### [COLUMN\_MASKS\_FEATURE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/column-masks-feature-not-supported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Column mask policies for `<tableName>` are not supported:

For more details see [COLUMN\_MASKS\_FEATURE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/column-masks-feature-not-supported-error-class.md)

### COLUMN\_MASKS\_GENERATED\_COLUMN\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot create generated column `<generatedColumn>` on table `<tableName>` because it references columns `<maskedColumns>` that have column masks.

### COLUMN\_MASKS\_INCOMPATIBLE\_SCHEMA\_CHANGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unable to `<statementType> <columnName>` from table `<tableName>` because it's referenced in a column mask policy for column `<maskedColumn>`. The table owner must remove or alter this policy before proceeding.

### COLUMN\_MASKS\_INDEX\_CREATION\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot create index `ON TABLE <tableName>` because the table has column mask policies defined.

### COLUMN\_MASKS\_INDEX\_REFRESH\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot refresh index `ON TABLE <tableName>` because the table has column mask policies defined.

### COLUMN\_MASKS\_LITERAL\_PARSEABLE\_COLUMN\_NAME\_AS\_PARAMETER

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` is not supported as input to a column mask function due to ambiguity with the corresponding constant value. Please rename the column to a non-ambiguous name.

### COLUMN\_MASKS\_MERGE\_UNSUPPORTED\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MERGE INTO` operations do not support column mask policies in source table `<tableName>`.

### COLUMN\_MASKS\_MERGE\_UNSUPPORTED\_TARGET

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MERGE INTO` operations do not support writing into table `<tableName>` with column mask policies.

### COLUMN\_MASKS\_MULTI\_PART\_TARGET\_COLUMN\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

This statement attempted to assign a column mask policy to a column `<columnName>` with multiple name parts, which is invalid.

### COLUMN\_MASKS\_MULTI\_PART\_USING\_COLUMN\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

This statement attempted to assign a column mask policy to a column and the `USING COLUMNS` list included the name `<columnName>` with multiple name parts, which is invalid.

### COLUMN\_MASKS\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Support for defining column masks is not enabled

### [COLUMN\_MASKS\_REFERENCED\_BY\_GENERATED\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/column-masks-referenced-by-generated-column-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Column mask policies cannot be used on columns referenced by generated columns.

For more details see [COLUMN\_MASKS\_REFERENCED\_BY\_GENERATED\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/column-masks-referenced-by-generated-column-error-class.md)

### COLUMN\_MASKS\_REQUIRE\_UNITY\_CATALOG

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Column mask policies are only supported in Unity Catalog.

### COLUMN\_MASKS\_SHOW\_PARTITIONS\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`SHOW PARTITIONS` command is not supported for`<format>` tables with column masks.

### COLUMN\_MASKS\_TABLE\_CLONE\_SOURCE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<mode>` clone from table `<tableName>` with column mask policies is not supported.

### COLUMN\_MASKS\_TABLE\_CLONE\_TARGET\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<mode>` clone to table `<tableName>` with column mask policies is not supported.

### COLUMN\_MASKS\_UNSUPPORTED\_CONSTANT\_AS\_PARAMETER

[SQLSTATE: 0AKD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Using a constant as a parameter in a column mask policy is not supported. Please update your SQL command to remove the constant from the column mask definition and then retry the command again.

### COLUMN\_MASKS\_UNSUPPORTED\_DATA\_TYPE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Function `<functionName>` used as a column mask policy contains parameter with unsupported data type `<dataType>`.

### COLUMN\_MASKS\_UNSUPPORTED\_PROVIDER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to execute `<statementType>` command because assigning column mask policies is not supported for target data source with table provider: "`<provider>`".

### COLUMN\_MASKS\_USING\_COLUMN\_NAME\_SAME\_AS\_TARGET\_COLUMN

[SQLSTATE: 42734](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<columnName>` had the same name as the target column, which is invalid; please remove the column from the `USING COLUMNS` list and retry the command.

### COLUMN\_NOT\_DEFINED\_IN\_TABLE

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<colType>` column `<colName>` is not defined in table `<tableName>`, defined table columns are: `<tableCols>`.

### COLUMN\_NOT\_FOUND

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<colName>` cannot be found. Verify the spelling and correctness of the column name according to the SQL config `<caseSensitiveConfig>`.

### COLUMN\_NOT\_FOUND\_IN\_EXISTING\_COLUMNS

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<columnType>` column `<columnName>` not found in existing columns (`<validColumnNames>`).

### COLUMN\_NOT\_FOUND\_IN\_SCHEMA

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Couldn't find column `<i>` in:

`<schema>`

### COLUMN\_NOT\_FOUND\_IN\_TABLE

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` not found in table `<tableFullName>`.

### COLUMN\_ORDINAL\_OUT\_OF\_BOUNDS

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Column ordinal out of bounds. The number of columns in the table is `<attributesLength>`, but the column ordinal is `<ordinal>`.

Attributes are the following: `<attributes>`.

### [COMMAND\_NOT\_APPLICABLE\_TO\_TABLE](https://docs.databricks.com/gcp/en/error-messages/command-not-applicable-to-table-error-class.md)

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<command>` does not apply to table `<tableName>`.

For more details see [COMMAND\_NOT\_APPLICABLE\_TO\_TABLE](https://docs.databricks.com/gcp/en/error-messages/command-not-applicable-to-table-error-class.md)

### COMMAND\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<command>` command is not enabled.

### COMMA\_PRECEDING\_CONSTRAINT\_ERROR

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unexpected ',' before constraint(s) definition. Ensure that the constraint clause does not start with a comma when columns (and expectations) are not defined.

### COMMENT\_ON\_CONNECTION\_NOT\_IMPLEMENTED\_YET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `COMMENT ON CONNECTION` command is not implemented yet

### COMPARATOR\_RETURNS\_NULL

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The comparator has returned a `NULL` for a comparison between `<firstValue>` and `<secondValue>`.

It should return a positive integer for "greater than", 0 for "equal" and a negative integer for "less than".

To revert to deprecated behavior where `NULL` is treated as 0 (equal), you must set "spark.sql.legacy.allowNullComparisonResultInArraySort" to "true".

### [COMPLEX\_EXPRESSION\_UNSUPPORTED\_INPUT](https://docs.databricks.com/gcp/en/error-messages/complex-expression-unsupported-input-error-class.md)

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot process input data types for the expression: `<expression>`.

For more details see [COMPLEX\_EXPRESSION\_UNSUPPORTED\_INPUT](https://docs.databricks.com/gcp/en/error-messages/complex-expression-unsupported-input-error-class.md)

### CONCURRENT\_QUERY

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Another instance of this query \[id: `<queryId>`] was just started by a concurrent session \[existing runId: `<existingQueryRunId>` new runId: `<newQueryRunId>`].

### CONCURRENT\_SCHEDULER\_INSUFFICIENT\_SLOT

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

The minimum number of free slots required in the cluster is `<numTasks>`, however, the cluster has only has `<numSlots>` slots free. Query will stall or fail. Increase cluster size to proceed.

### CONCURRENT\_STREAM\_LOG\_UPDATE

[SQLSTATE: 40000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

Concurrent update to the log. Multiple streaming jobs detected for `<batchId>`.

Please make sure only one streaming job runs on a specific checkpoint location at a time.

### [CONFIG\_NOT\_AVAILABLE](https://docs.databricks.com/gcp/en/error-messages/config-not-available-error-class.md)

[SQLSTATE: 42K0I](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Configuration `<config>` is not available.

For more details see [CONFIG\_NOT\_AVAILABLE](https://docs.databricks.com/gcp/en/error-messages/config-not-available-error-class.md)

### CONFLICTING\_CLUSTER\_CONFIGURATION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The following configuration(s) conflict with spark.databricks.streaming.realTimeMode.enabled: `<confNames>`. Remove these configurations from your cluster configuration and restart your Spark cluster.

### CONFLICTING\_DIRECTORY\_STRUCTURES

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Conflicting directory structures detected.

Suspicious paths:

`<discoveredBasePaths>`

If provided paths are partition directories, please set "basePath" in the options of the data source to specify the root directory of the table.

If there are multiple root directories, please load them separately and then union them.

### CONFLICTING\_PARTITION\_COLUMN\_NAMES

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Conflicting partition column names detected:

`<distinctPartColLists>`

For partitioned table directories, data files should only live in leaf directories.

And directories at the same level should have the same partition column name.

Please check the following directories for unexpected files or inconsistent partition column names:

`<suspiciousPaths>`

### CONFLICTING\_PARTITION\_COLUMN\_NAME\_WITH\_RESERVED

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Partition column name '`<partitionColumnName>`' conflicts with reserved column name.

The schema of `<tableName>` is Hive-incompatible, Spark automatically generates a reserved column '`<partitionColumnName>`' to store the table in a specific way.

Please use a different name for the partition column.

### CONFLICTING\_PIPELINE\_FLOW\_CASE\_SENSITIVITY

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The flows writing to table `<tableName>` do not agree on '`<configKey>`': `<flowConfigurations>`.

The effective value determines whether column names that differ only in case identify the same column, so the table's schema would depend on the order the flows are evaluated in.

Set '`<configKey>`' to the same value for every flow writing to this table.

### CONFLICTING\_PROVIDER

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The specified provider `<provider>` is inconsistent with the existing catalog provider `<expectedProvider>`. Please use '`USING <expectedProvider>`' and retry the command.

### CONFLICTING\_SQL\_CONFIGURATION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The following configuration(s) conflict with spark.databricks.streaming.realTimeMode.enabled: `<confNames>`. Remove these configurations from your SparkSession configuration.

### [CONNECT](https://docs.databricks.com/gcp/en/error-messages/connect-error-class.md)

[SQLSTATE: 56K00](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Generic Spark Connect error.

For more details see [CONNECT](https://docs.databricks.com/gcp/en/error-messages/connect-error-class.md)

### CONNECTION\_ALREADY\_EXISTS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create connection `<connectionName>` because it already exists.

Choose a different name, drop or replace the existing connection, or add the `IF NOT EXISTS` clause to tolerate pre-existing connections.

### CONNECTION\_BACKED\_VOLUMES\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Connection-backed volume `<volumeName>` is not enabled for this workspace.

### CONNECTION\_NAME\_CANNOT\_BE\_EMPTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot execute this command because the connection name must be non-empty.

### CONNECTION\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot execute this command because the connection name `<connectionName>` was not found.

### CONNECTION\_OPTION\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connections of type '`<connectionType>`' do not support the following option(s): `<optionsNotSupported>`. Supported options: `<allowedOptions>`.

### CONNECTION\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create connection of type '`<connectionType>`'. Supported connection types: `<allowedTypes>`.

### CONNECTION\_TYPE\_NOT\_SUPPORTED\_FOR\_OPTIONS\_INJECTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connection with name `<connectionName>` and type `<connectionType>` is not supported in dataframe options.

### CONNECTION\_TYPE\_NOT\_SUPPORTED\_FOR\_PIPELINES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The connection '`<connectionName>`' of type '`<connectionType>`' cannot be used in a pipeline.

This connection resolves to different per-user credentials depending on the running principal, which is incompatible with the deterministic, run-as semantics required by pipelines.

Use this connection from a batch query outside a pipeline instead.

### CONNECTION\_TYPE\_NOT\_SUPPORTED\_FOR\_REMOTE\_QUERY\_FUNCTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connection with name '`<connectionName>`' of type '`<connectionType>`' is not supported for remote query function execution.

### CONNECTION\_TYPE\_NOT\_SUPPORTED\_FOR\_STREAMING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The connection '`<connectionName>`' of type '`<connectionType>`' cannot be used in a streaming query.

This connection resolves to different per-user credentials depending on the running principal, which is incompatible with the checkpointed, deterministic semantics required by streaming.

Use this connection from a batch read (spark.read or a batch read\_files TVF) instead.

### [CONNECT\_INVALID\_PLAN](https://docs.databricks.com/gcp/en/error-messages/connect-invalid-plan-error-class.md)

[SQLSTATE: 56K00](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The Spark Connect plan is invalid.

For more details see [CONNECT\_INVALID\_PLAN](https://docs.databricks.com/gcp/en/error-messages/connect-invalid-plan-error-class.md)

### CONNECT\_LOCAL\_CREDENTIAL\_PROPERTY\_MISSING

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Required SparkContext local property `<property>` was not found for session `<sessionId>`.

### [CONNECT\_ML](https://docs.databricks.com/gcp/en/error-messages/connect-ml-error-class.md)

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Spark Connect ML error:

For more details see [CONNECT\_ML](https://docs.databricks.com/gcp/en/error-messages/connect-ml-error-class.md)

### [CONNECT\_SESSION\_MIGRATION](https://docs.databricks.com/gcp/en/error-messages/connect-session-migration-error-class.md)

[SQLSTATE: 56K00](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Generic Session Migration error (userId: `<userId>`, sessionId: `<sessionId>`, serverSessionId: `<serverSessionId>`).

For more details see [CONNECT\_SESSION\_MIGRATION](https://docs.databricks.com/gcp/en/error-messages/connect-session-migration-error-class.md)

### CONSTRAINTS\_REQUIRE\_UNITY\_CATALOG

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table constraints are only supported in Unity Catalog.

### CONSTRAINT\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Constraint '`<constraintName>`' already exists. Please delete the existing constraint first.

Existing constraint:

`<oldConstraint>`

### CONSTRAINT\_ALREADY\_EXISTS\_IN\_SCHEMA

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Constraint `<constraintName>` already exists in database `<schemaName>`.

### CONSTRAINT\_ALREADY\_EXISTS\_WITH\_SERVER\_MESSAGE

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<serverMessage>`

### CONSTRAINT\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop nonexistent constraint `<constraintName>` from table `<tableName>`.

### CONVERSION\_INVALID\_INPUT

[SQLSTATE: 22018](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value `<str> (<fmt>)` cannot be converted to `<targetType>` because it is malformed. Correct the value as per the syntax, or change its format. Use `<suggestion>` to tolerate malformed input and return `NULL` instead.

### COPY\_CONFLICT

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`COPY <copyOption>` is in conflict with `NOCOPY <nocopyOption>`.

### [COPY\_FILE\_AUTHORIZATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-file-authorization-error-error-class.md)

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Authorization error while copying a file.

For more details see [COPY\_FILE\_AUTHORIZATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-file-authorization-error-error-class.md)

### [COPY\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-file-error-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Error copying a file.

For more details see [COPY\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-file-error-error-class.md)

### [COPY\_FILE\_ILLEGAL\_USAGE](https://docs.databricks.com/gcp/en/error-messages/copy-file-illegal-usage-error-class.md)

SQLSTATE: none assigned

Illegal usage of `COPY_FILE`.

For more details see [COPY\_FILE\_ILLEGAL\_USAGE](https://docs.databricks.com/gcp/en/error-messages/copy-file-illegal-usage-error-class.md)

### [COPY\_INTO\_COLUMN\_ARITY\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/copy-into-column-arity-mismatch-error-class.md)

[SQLSTATE: 21S01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

Cannot write to `<tableName>`, the reason is

For more details see [COPY\_INTO\_COLUMN\_ARITY\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/copy-into-column-arity-mismatch-error-class.md)

### COPY\_INTO\_CREDENTIALS\_NOT\_ALLOWED\_ON

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invalid scheme `<scheme>`. `COPY INTO` source credentials currently only supports s3/s3n/s3a/wasbs/abfss.

### COPY\_INTO\_CREDENTIALS\_REQUIRED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`COPY INTO` source credentials must specify `<keyList>`.

### COPY\_INTO\_DUPLICATED\_FILES\_COPY\_NOT\_ALLOWED

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Duplicated files were committed in a concurrent `COPY INTO` operation. Please try again later.

### COPY\_INTO\_ENCRYPTION\_NOT\_ALLOWED\_ON

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invalid scheme `<scheme>`. `COPY INTO` source encryption currently only supports s3/s3n/s3a/abfss.

### COPY\_INTO\_ENCRYPTION\_NOT\_SUPPORTED\_FOR\_AZURE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`COPY INTO` encryption only supports ADLS Gen2, or abfss\:// file scheme

### COPY\_INTO\_ENCRYPTION\_REQUIRED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`COPY INTO` source encryption must specify '`<key>`'.

### COPY\_INTO\_ENCRYPTION\_REQUIRED\_WITH\_EXPECTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid encryption option `<requiredKey>`. `COPY INTO` source encryption must specify '`<requiredKey>`' = '`<keyValue>`'.

### COPY\_INTO\_FEATURE\_INCOMPATIBLE\_SETTING

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `COPY INTO` feature '`<feature>`' is not compatible with '`<incompatibleSetting>`'.

### COPY\_INTO\_NON\_BLIND\_APPEND\_NOT\_ALLOWED

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

`COPY INTO` other than appending data is not allowed to run concurrently with other transactions. Please try again later.

### COPY\_INTO\_ROCKSDB\_MAX\_RETRY\_EXCEEDED

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

`COPY INTO` failed to load its state, maximum retries exceeded.

### COPY\_INTO\_SCHEMA\_MISMATCH\_WITH\_TARGET\_TABLE

[SQLSTATE: 42KDG](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A schema mismatch was detected while copying into the Delta table (Table: `<table>`).

This may indicate an issue with the incoming data, or the Delta table schema can be evolved automatically according to the incoming data by setting:

`COPY_OPTIONS` ('mergeSchema' = 'true')

Schema difference:

`<schemaDiff>`

### COPY\_INTO\_SOURCE\_FILE\_FORMAT\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The format of the source files must be one of CSV, `JSON`, AVRO, ORC, `PARQUET`, TEXT, or `BINARYFILE`. Using `COPY INTO` on Delta tables as the source is not supported as duplicate data may be ingested after `OPTIMIZE` operations. This check can be turned off by running the SQL command `set spark.databricks.delta.copyInto.formatCheck.enabled = false`.

### COPY\_INTO\_SOURCE\_SCHEMA\_INFERENCE\_FAILED

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The source directory did not contain any parsable files of type `<format>`. Please check the contents of '`<source>`'.

The error can be silenced by setting '`<config>`' to 'false'.

### [COPY\_INTO\_STATE\_INTERNAL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-into-state-internal-error-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

An internal error occurred while processing `COPY INTO` state.

For more details see [COPY\_INTO\_STATE\_INTERNAL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-into-state-internal-error-error-class.md)

### [COPY\_INTO\_SYNTAX\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-into-syntax-error-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to parse the `COPY INTO` command.

For more details see [COPY\_INTO\_SYNTAX\_ERROR](https://docs.databricks.com/gcp/en/error-messages/copy-into-syntax-error-error-class.md)

### COPY\_INTO\_UNSUPPORTED\_FEATURE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `COPY INTO` feature '`<feature>`' is not supported.

### COPY\_NO\_COPY\_UNSUPPORTED\_OPTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`NOCOPY <option>` is not supported. Grants and tags are preserved by default on `CREATE` OR `REPLACE` and cannot be dropped with `NOCOPY`.

### COPY\_UNLOAD\_FORMAT\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot unload data in format '`<formatType>`'. Supported formats for `<connectionType>` are: `<allowedFormats>`.

### CORRUPTED\_CATALOG\_FUNCTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot convert the catalog function '`<identifier>`' into a SQL function due to corrupted function information in catalog. If the function is not a SQL function, please make sure the class name '`<className>`' is loadable.

### COUNTER\_DIFF\_NEGATIVE\_COUNTER\_VALUE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

A negative counter value `<value>` was provided to function `<function>`. Negative counter values are not allowed.

### COUNTER\_DIFF\_START\_TIME\_DECREASED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Start time provided to function `<function>` decreased from `<previousStartTime>` to `<currentStartTime>`. Start time is required to be non-decreasing.

### CREATE\_EXTERNAL\_TABLE\_WITHOUT\_LOCATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE EXTERNAL TABLE` must be accompanied by `LOCATION`.

### [CREATE\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/create-file-error-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Error creating a file.

For more details see [CREATE\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/create-file-error-error-class.md)

### [CREATE\_FILE\_ILLEGAL\_USAGE](https://docs.databricks.com/gcp/en/error-messages/create-file-illegal-usage-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Illegal usage of `CREATE_FILE`.

For more details see [CREATE\_FILE\_ILLEGAL\_USAGE](https://docs.databricks.com/gcp/en/error-messages/create-file-illegal-usage-error-class.md)

### CREATE\_FILE\_WRITE\_UNAUTHORIZED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User is not authorized to write the file to the destination path `<destination_path>`.

### CREATE\_FOREIGN\_SCHEMA\_NOT\_IMPLEMENTED\_YET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `CREATE FOREIGN SCHEMA` command is not implemented yet

### CREATE\_FOREIGN\_TABLE\_NOT\_IMPLEMENTED\_YET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `CREATE FOREIGN TABLE` command is not implemented yet

### CREATE\_OR\_REFRESH\_MV\_NOT\_SUPPORTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE` OR `REFRESH MATERIALIZED VIEW` is not supported. Use `CREATE` OR `REPLACE MATERIALIZED VIEW` instead.

### CREATE\_OR\_REFRESH\_MV\_ST\_ASYNC

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot `CREATE` OR `REFRESH` materialized views or streaming tables with `ASYNC` specified. Please remove `ASYNC` from the `CREATE` OR `REFRESH` statement or use `REFRESH ASYNC` to refresh existing materialized views or streaming tables asynchronously.

### CREATE\_PERMANENT\_VIEW\_WITHOUT\_ALIAS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Not allowed to create the permanent view `<name>` without explicitly assigning an alias for the expression `<attr>`.

### CREATE\_TABLE\_COLUMN\_DESCRIPTOR\_DUPLICATE

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE TABLE` column `<columnName>` specifies descriptor "`<optionName>`" more than once, which is invalid.

### [CREATE\_VIEW\_COLUMN\_ARITY\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/create-view-column-arity-mismatch-error-class.md)

[SQLSTATE: 21S01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

Cannot create view `<viewName>`, the reason is

For more details see [CREATE\_VIEW\_COLUMN\_ARITY\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/create-view-column-arity-mismatch-error-class.md)

### CREATE\_VIEW\_WITH\_IF\_NOT\_EXISTS\_AND\_REPLACE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE VIEW <viewName>` with both `IF NOT EXISTS` and `REPLACE` is not allowed.

### CREDENTIAL\_MISSING

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please provide credentials when creating or updating external locations.

### CREDENTIAL\_PURPOSE\_MISMATCH

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The credential `<credentialName>` has purpose `<actualPurpose>` but the purpose given in the command is `<expectedPurpose>`.

### CROSS\_CATALOG\_SCHEMA\_REFERENCE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cross-catalog schema reference `<fullSchemaName>` is not supported for this command.

Run 'USE `CATALOG <catalogName>`' first, then reference the schema directly.

### CSV\_ENFORCE\_SCHEMA\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The CSV option `enforceSchema` cannot be set when using `rescuedDataColumn` or `failOnUnknownFields`, as columns are read by name rather than ordinal.

### CTAS\_COLUMN\_COUNT\_MISMATCH

[SQLSTATE: 21S02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

The number of columns (`<declaredCount>`) declared in `<statementType>` does not match the number of columns (`<queryCount>`) in the query output.

### CTAS\_COLUMN\_MASKS\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Column masks may not be specified in a `<statementType>` statement.

### CTAS\_COLUMN\_NAME\_MISMATCH

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The declared column name `<declaredName>` at position `<position>` in `<statementType>` does not match the query output column name `<queryName>`.

### CTAS\_COLUMN\_NULLABILITY\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<columnName>` is declared as `NOT NULL` in `<statementType>`, but the query output for this column is nullable.

### CTAS\_COLUMN\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The declared type `<declaredType>` for column `<columnName>` in `<statementType>` does not match the query output type `<queryType>`.

### CURSOR\_ALREADY\_EXISTS

[SQLSTATE: 42723](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot declare cursor `<cursorName>` because it already exists in the current scope.

### CURSOR\_ALREADY\_OPEN

[SQLSTATE: 24502](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-24-invalid-cursor-state)

Cannot open cursor `<cursorName>` because it is already open.

### CURSOR\_IN\_EXECUTE\_IMMEDIATE

[SQLSTATE: 07000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-07-dynamic-sql-error)

A cursor statement (`DECLARE`, OPEN, `FETCH`, or `CLOSE`) is not supported as the single statement of an `EXECUTE IMMEDIATE` command (`<sqlString>`). Cursors are supported inside a SQL script passed to `EXECUTE IMMEDIATE`, but such a script only sees the cursors it declares itself, not the ones declared by the caller.

### CURSOR\_NOT\_FOUND

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cursor `<cursorName>` not found in the current scope.

### CURSOR\_NOT\_OPEN

[SQLSTATE: 24501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-24-invalid-cursor-state)

Cannot fetch from or close cursor `<cursorName>` because it is not open.

### CURSOR\_NO\_MORE\_ROWS

[SQLSTATE: 02000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-02-no-data)

No more rows available to fetch from cursor `<cursorName>`.

### CURSOR\_OUTSIDE\_SCRIPT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cursor `<cursorName>` can only be used within SQL scripts.

### CURSOR\_REFERENCE\_INVALID\_QUALIFIER

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cursor reference `<cursorName>` is invalid. Cursor references can only have at most one qualifier (for example, label.cursor).

### CYCLIC\_FUNCTION\_REFERENCE

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cyclic function reference detected: `<path>`.

### [DATABRICKS\_DELTA\_NOT\_ENABLED](https://docs.databricks.com/gcp/en/error-messages/databricks-delta-not-enabled-error-class.md)

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Databricks Delta is not enabled in your account.

For more details see [DATABRICKS\_DELTA\_NOT\_ENABLED](https://docs.databricks.com/gcp/en/error-messages/databricks-delta-not-enabled-error-class.md)

### DATAFLOW\_GRAPH\_NOT\_FOUND

[SQLSTATE: KD012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Dataflow graph with id `<graphId>` could not be found

### DATAFRAME\_INPUT\_NOT\_SINGLE\_COLUMN

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Input DataFrame must have exactly one column, but got `<numColumns>`.

### DATAFRAME\_INPUT\_NOT\_STRING\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Input DataFrame column must be StringType, but got `<dataType>`.

### DATATYPE\_CANNOT\_ORDER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Type `<dataType>` does not support ordered operations.

### [DATATYPE\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/datatype-mismatch-error-class.md)

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve `<sqlExpr>` due to data type mismatch:

For more details see [DATATYPE\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/datatype-mismatch-error-class.md)

### DATATYPE\_MISSING\_SIZE

[SQLSTATE: 42K01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DataType `<type>` requires a length parameter, for example `<type>`(10). Please specify the length.

### DATATYPE\_PARAMETER\_VALUE\_OUT\_OF\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The `<parameter>` value `<value>` of the `<type>` data type is out of the range of a 32-bit integer.

### DATA\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Query returned too much data. Add more selective filters to reduce the result set.

### DATA\_LINEAGE\_SECURE\_VIEW\_LEAF\_NODE\_HAS\_NO\_RELATION

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Write Lineage unsuccessful: missing corresponding relation with policies for CLM/RLS.

### DATA\_SKIPPING\_UNSUPPORTED\_TABLE\_TYPE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<functionName>` is not supported for `<tableIdentifier>`. Supported table types: `MANAGED, EXTERNAL, ICEBERG`/`UNIFORM, STREAMING_TABLE, MATERIALIZED_VIEW, EXTERNAL_SHALLOW_CLONE, MANAGED_SHALLOW_CLONE`.

### DATA\_SOURCE\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Data source '`<provider>`' already exists. Please choose a different name for the new data source.

### DATA\_SOURCE\_BATCH\_SCAN\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<description>`: Batch scan is not supported.

### DATA\_SOURCE\_BATCH\_WRITE\_BUILDER\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` does not support batch write.

### DATA\_SOURCE\_BATCH\_WRITE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<description>`: Batch write is not supported.

### DATA\_SOURCE\_COLUMNAR\_READER\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` cannot create columnar reader.

### DATA\_SOURCE\_CONNECTION\_MISSING\_ALLOW\_LIST

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connection `<connectionName>` is not supported in this context because it doesn't have an external options allow list configured. Please update the connection to include a valid `<optionName>`.

### DATA\_SOURCE\_CONTINUOUS\_SCAN\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<description>`: Continuous scan is not supported.

### DATA\_SOURCE\_DELTA\_BATCH\_WRITE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<description>`: Delta batch write is not supported.

### DATA\_SOURCE\_DELTA\_WRITE\_BUILD\_NOT\_IMPLEMENTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` does not implement build.

### DATA\_SOURCE\_EXTERNAL\_ERROR

[SQLSTATE: KD010](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Encountered error when saving to external data source.

### [DATA\_SOURCE\_INVALID\_RUNTIME\_FILTER\_ATTRIBUTE](https://docs.databricks.com/gcp/en/error-messages/data-source-invalid-runtime-filter-attribute-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The runtime filter attribute `<attribute>` reported by `<method>` in data source scan `<scanClass>` is invalid for the scan relation output `<relationOutput>`.

For more details see [DATA\_SOURCE\_INVALID\_RUNTIME\_FILTER\_ATTRIBUTE](https://docs.databricks.com/gcp/en/error-messages/data-source-invalid-runtime-filter-attribute-error-class.md)

### DATA\_SOURCE\_METADATA\_SCHEMA\_NOT\_IMPLEMENTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` does not implement metadataSchema.

### DATA\_SOURCE\_MICRO\_BATCH\_SCAN\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<description>`: Micro-batch scan is not supported.

### DATA\_SOURCE\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Data source '`<provider>`' not found. Please make sure the data source is registered.

### DATA\_SOURCE\_NOT\_FOUND

[SQLSTATE: 42K02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to find the data source: `<provider>`. Make sure the provider name is correct and the package is properly registered and compatible with your Spark version.

### [DATA\_SOURCE\_OPTIONS\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/data-source-options-validation-failed-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<dataSource>` data source option(s) validation failed.

For more details see [DATA\_SOURCE\_OPTIONS\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/data-source-options-validation-failed-error-class.md)

### DATA\_SOURCE\_OPTION\_CONTAINS\_INVALID\_CHARACTERS

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Option `<option>` must not be empty and should not contain invalid characters, query strings, or parameters.

### DATA\_SOURCE\_OPTION\_IS\_REQUIRED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Option `<option>` is required.

### DATA\_SOURCE\_OPTION\_NOT\_ALLOWED\_BY\_CONNECTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Option `<optionName>` is not allowed by connection `<connectionName>` and cannot be provided externally.

### [DATA\_SOURCE\_OPTION\_VALUE\_NOT\_VALID](https://docs.databricks.com/gcp/en/error-messages/data-source-option-value-not-valid-error-class.md)

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Provided data source option '`<option>`' contains invalid value ('`<value>`').

For more details see [DATA\_SOURCE\_OPTION\_VALUE\_NOT\_VALID](https://docs.databricks.com/gcp/en/error-messages/data-source-option-value-not-valid-error-class.md)

### DATA\_SOURCE\_ROW\_ID\_SCHEMA\_NOT\_IMPLEMENTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` does not implement rowIdSchema.

### DATA\_SOURCE\_STREAMING\_WRITE\_BUILD\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` does not support streaming write.

### DATA\_SOURCE\_STREAMING\_WRITE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<description>`: Streaming write is not supported.

### DATA\_SOURCE\_SYNTAX\_ERROR\_DURING\_QUERY\_EXECUTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

External data source engine `<dataSourceEngine>` threw syntax error during execution of query '`<query>`'. `<externalEngineError>`.

### DATA\_SOURCE\_TABLE\_SCHEMA\_MISMATCH

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The schema of the data source table does not match the expected schema. If you are using the DataFrameReader.schema API or creating a table, avoid specifying the schema.

Data Source schema: `<dsSchema>`

Expected schema: `<expectedSchema>`

### DATA\_SOURCE\_URL\_NOT\_ALLOWED

[SQLSTATE: 42KDB](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

JDBC URL is not allowed in data source options, please specify 'host', 'port', and 'database' options instead.

### [DATETIME\_FIELD\_OUT\_OF\_BOUNDS](https://docs.databricks.com/gcp/en/error-messages/datetime-field-out-of-bounds-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<rangeMessage>`.

For more details see [DATETIME\_FIELD\_OUT\_OF\_BOUNDS](https://docs.databricks.com/gcp/en/error-messages/datetime-field-out-of-bounds-error-class.md)

### DATETIME\_OVERFLOW

[SQLSTATE: 22008](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Datetime operation overflow: `<operation>`.

### DBFS\_DISABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Public DBFS root is disabled. Access is denied on path: `<path>`

### DBFS\_MOUNT\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<methodName>` is not supported on Standard access mode or Serverless compute. Switch to Dedicated access mode to use DBFS mounts.

### DBUTILS\_METHOD\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<methodName>` is not currently supported.

### [DC\_API\_QUOTA\_EXCEEDED](https://docs.databricks.com/gcp/en/error-messages/dc-api-quota-exceeded-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

You have exceeded the API quota for the data source `<sourceName>`.

For more details see [DC\_API\_QUOTA\_EXCEEDED](https://docs.databricks.com/gcp/en/error-messages/dc-api-quota-exceeded-error-class.md)

### [DC\_CONNECTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-connection-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to make a connection to the `<sourceName>` source. Error code: `<errorCode>`.

For more details see [DC\_CONNECTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-connection-error-error-class.md)

### [DC\_DYNAMICS\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-dynamics-api-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error happened in Dynamics API calls, errorCode: `<errorCode>`.

For more details see [DC\_DYNAMICS\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-dynamics-api-error-error-class.md)

### [DC\_NETSUITE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-netsuite-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error happened in Netsuite JDBC calls, errorCode: `<errorCode>`.

For more details see [DC\_NETSUITE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-netsuite-error-error-class.md)

### [DC\_SCHEMA\_CHANGE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-schema-change-error-error-class.md)

SQLSTATE: none assigned

A schema change has occurred in table `<tableName>` of the `<sourceName>` source.

For more details see [DC\_SCHEMA\_CHANGE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-schema-change-error-error-class.md)

### [DC\_SERVICENOW\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-servicenow-api-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error happened in ServiceNow API calls, errorCode: `<errorCode>`.

For more details see [DC\_SERVICENOW\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-servicenow-api-error-error-class.md)

### DC\_SFDC\_BULK\_QUERY\_JOB\_INCOMPLETE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Ingestion for object `<objName>` is incomplete because the Salesforce API query job took too long, failed, or was manually cancelled.

To try again, you can either re-run the entire pipeline or refresh this specific destination table. If the error persists, file a ticket. Job ID: `<jobId>`. Job status: `<jobStatus>`.

### [DC\_SHAREPOINT\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-sharepoint-api-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error happened in Sharepoint API calls, errorCode: `<errorCode>`.

For more details see [DC\_SHAREPOINT\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-sharepoint-api-error-error-class.md)

### DC\_SOURCE\_API\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the `<sourceName>` API call. Source API type: `<apiType>`. Error code: `<errorCode>`.

This can sometimes happen when you've reached a `<sourceName>` API limit. If you haven't exceeded your API limit, try re-running the connector. If the issue persists, please file a ticket.

### [DC\_UNSUPPORTED\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-unsupported-error-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported error happened in data source `<sourceName>`.

For more details see [DC\_UNSUPPORTED\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-unsupported-error-error-class.md)

### [DC\_WORKDAY\_RAAS\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-workday-raas-api-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error happened in Workday RAAS API calls, errorCode: `<errorCode>`.

For more details see [DC\_WORKDAY\_RAAS\_API\_ERROR](https://docs.databricks.com/gcp/en/error-messages/dc-workday-raas-api-error-error-class.md)

### DECIMAL\_PRECISION\_EXCEEDS\_MAX\_PRECISION

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Decimal precision `<precision>` exceeds max precision `<maxPrecision>`.

### DECIMAL\_SCALE\_EXCEEDS\_PRECISION

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Decimal scale (`<scale>`) cannot be greater than precision (`<precision>`).

### DEFAULT\_DATABASE\_NOT\_EXISTS

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Default database `<defaultDatabase>` does not exist, please create it first or change default database to `<defaultDatabase>`.

### DEFAULT\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

It is possible the underlying files have been updated. You can explicitly invalidate the cache in Spark by running '`REFRESH TABLE` tableName' command in SQL or by recreating the Dataset/DataFrame involved. If disk cache is stale or the underlying files have been removed, you can invalidate disk cache manually by restarting the cluster.

### DEFAULT\_PLACEMENT\_INVALID

[SQLSTATE: 42608](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A `DEFAULT` keyword in a `MERGE, INSERT, UPDATE`, or `SET VARIABLE` command could not be directly assigned to a target column because it was part of an expression.

For example: `UPDATE SET c1 = DEFAULT` is allowed, but `UPDATE T SET c1 = DEFAULT + 1` is not allowed.

### DEFAULT\_UNSUPPORTED

[SQLSTATE: 42623](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to execute `<statementType>` command because `DEFAULT` values are not supported for target data source with table provider: "`<dataSource>`".

### DEFINE\_FLOW\_ONCE\_OPTION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Defining a one-time flow `<flowName>` with the 'once' option is not supported.

### DESCRIBE\_JSON\_NOT\_EXTENDED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`DESCRIBE TABLE` `...` `AS JSON` only supported when \[`EXTENDED|FORMATTED`] is specified.

For example: `DESCRIBE EXTENDED <tableName> AS JSON` is supported but `DESCRIBE <tableName> AS JSON` is not.

### DIFFERENT\_DELTA\_TABLE\_READ\_BY\_STREAMING\_SOURCE

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The streaming query was reading from an unexpected Delta table (id = '`<newTableId>`').

It used to read from another Delta table (id = '`<oldTableId>`') according to checkpoint.

This may happen when you changed the code to read from a new table or you deleted and

re-created a table. Please revert your change or delete your streaming query checkpoint

to restart from scratch.

### DIRECTORY\_ATOMIC\_COMMIT\_CONCURRENT\_WRITE

[SQLSTATE: 40000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

Failed to commit because of a concurrent write to `<path>`. Retry the operation.

### DIRECTORY\_ATOMIC\_COMMIT\_MARKER\_READ\_FAILURE

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to read job commit marker: `<marker>`.

### DISTINCT\_WINDOW\_FUNCTION\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Distinct window functions are not supported: `<windowExpr>`.

### [DIVIDE\_BY\_ZERO](https://docs.databricks.com/gcp/en/error-messages/divide-by-zero-error-class.md)

[SQLSTATE: 22012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Division by zero. Use `try_divide` to tolerate divisor being 0 and return `NULL` instead. If necessary set `<config>` to "false" to bypass this error.

For more details see [DIVIDE\_BY\_ZERO](https://docs.databricks.com/gcp/en/error-messages/divide-by-zero-error-class.md)

### DLT\_EXPECTATIONS\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Expectations are only supported within a Lakeflow pipeline.

### DLT\_VIEW\_LOCATION\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`MATERIALIZED VIEW` locations are supported only in a Lakeflow pipeline.

### DLT\_VIEW\_SCHEMA\_WITH\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`MATERIALIZED VIEW` schemas with a specified type are supported only in a Lakeflow pipeline.

### DLT\_VIEW\_TABLE\_CONSTRAINTS\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`CONSTRAINT` clauses in a view are only supported in a Lakeflow pipeline.

### DML\_OPERATIONS\_NOT\_SUPPORTED\_FOR\_REMOTE\_QUERY\_FUNCTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The remote query function does not support DML queries.

### DROPPED\_CATALOG\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop catalog because no catalog `<catalog>` qualifies for undrop. This catalog might be already undropped, deleted beyond the maximum restoration period, or have never existed. Run `SHOW CATALOGS DROPPED` to list the catalogs that can be undropped and then retry the command.

### DROPPED\_SCHEMA\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop schema because no schema `<schema>` qualifies for undrop. This schema might be already undropped, deleted beyond the maximum restoration period, or have never existed. Run `SHOW SCHEMAS DROPPED` to list the schemas that can be undropped and then retry the command.

### DROPPED\_VOLUME\_NAME\_CONFLICT

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop volume `<volume>` because a volume named `<name>` already exists in the same schema. Rename the existing volume, then retry the undrop.

### DROPPED\_VOLUME\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop volume because no volume `<volume>` qualifies for undrop. This volume might have been deleted beyond the maximum restoration period, or have never existed.

### DROP\_COMMAND\_TYPE\_MISMATCH

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop a `<metadataType>` with `DROP <commandType>`.

Use `DROP <metadataTypeUpper>` instead.

### DROP\_SCHEDULE\_DOES\_NOT\_EXIST

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop `SCHEDULE` on a table without an existing schedule or trigger.

### [DR\_TIMESTAMP\_QUERY\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/dr-timestamp-query-not-supported-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Timestamp-based time travel is not supported on DR table '`<tableName>`'.

For more details see [DR\_TIMESTAMP\_QUERY\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/dr-timestamp-query-not-supported-error-class.md)

### DUPLICATED\_CTE\_NAMES

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

CTE definition can't have duplicate names: `<duplicateNames>`.

### DUPLICATED\_FIELD\_NAME\_IN\_ARROW\_STRUCT

[SQLSTATE: 42713](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicated field names in Arrow Struct are not allowed, got `<fieldNames>`.

### DUPLICATED\_MAP\_KEY

[SQLSTATE: 23505](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

Duplicate map key `<key>` was found, please check the input data.

If you want to remove the duplicated keys, you can set `<mapKeyDedupPolicy>` to "`LAST_WIN`" so that the key inserted at last takes precedence.

### DUPLICATED\_METRICS\_NAME

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric name is not unique: `<metricName>`. The same name cannot be used for metrics with different results.

However multiple instances of metrics with with same result and name are allowed (for example, self-joins).

### DUPLICATE\_ASSIGNMENTS

[SQLSTATE: 42701](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The columns or variables `<nameList>` appear more than once as assignment targets.

### DUPLICATE\_CLAUSES

[SQLSTATE: 42614](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate clauses: `<clauseName>`. Please, remove one of them.

### DUPLICATE\_CONDITION\_IN\_SCOPE

[SQLSTATE: 42734](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate condition `<condition>` in the scope. Please, remove one of them.

### [DUPLICATE\_EXCEPTION\_HANDLER](https://docs.databricks.com/gcp/en/error-messages/duplicate-exception-handler-error-class.md)

[SQLSTATE: 42734](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate handlers. Please, remove one of them.

For more details see [DUPLICATE\_EXCEPTION\_HANDLER](https://docs.databricks.com/gcp/en/error-messages/duplicate-exception-handler-error-class.md)

### DUPLICATE\_FLOW\_SQL\_CONF

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate SQL conf for dataset '`<datasetName>`': '`<key>`' is defined by both '`<flowName1>`' and '`<flowName2>`'

### DUPLICATE\_GRAPH\_ELEMENT

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate `<graphElementType>` '`<graphElementName>`'.

### DUPLICATE\_KEY

[SQLSTATE: 23505](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

Found duplicate keys `<keyColumn>`.

### DUPLICATE\_PARTITION\_TRANSFORM

[SQLSTATE: 42711](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate column(s) `<checkType>`: `<duplicateColumns>`

### [DUPLICATE\_ROUTINE\_PARAMETER\_ASSIGNMENT](https://docs.databricks.com/gcp/en/error-messages/duplicate-routine-parameter-assignment-error-class.md)

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Call to routine `<routineName>` is invalid because it includes multiple argument assignments to the same parameter name `<parameterName>`.

For more details see [DUPLICATE\_ROUTINE\_PARAMETER\_ASSIGNMENT](https://docs.databricks.com/gcp/en/error-messages/duplicate-routine-parameter-assignment-error-class.md)

### DUPLICATE\_ROUTINE\_PARAMETER\_NAMES

[SQLSTATE: 42734](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate name(s) in the parameter list of the user-defined routine `<routineName>`: `<names>`.

### DUPLICATE\_ROUTINE\_RETURNS\_COLUMNS

[SQLSTATE: 42711](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate column(s) in the `RETURNS` clause column list of the user-defined routine `<routineName>`: `<columns>`.

### DUPLICATE\_SQL\_PATH\_ENTRY

[SQLSTATE: 42732](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicate SQL path entry `<pathEntry>`. The session SQL path cannot contain the same namespace more than once (including after expanding shortcuts like `DEFAULT_PATH` or `SYSTEM_PATH`).

### DUPLICATE\_VARIABLE\_NAME\_INSIDE\_DECLARE

[SQLSTATE: 42734](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate variable `<variableName>` in the declare variable list. Please, remove one of them.

### DYNAMIC\_PARTITION\_WRITE\_PARTITION\_NUM\_LIMIT\_EXCEEDED

[SQLSTATE: 54054](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Number of dynamic partitions created is `<numWrittenParts>`, which is more than `<maxDynamicPartitions>`. To solve this try to set `<maxDynamicPartitionsKey>` to at least `<numWrittenParts>`.

### EMITTING\_ROWS\_OLDER\_THAN\_WATERMARK\_NOT\_ALLOWED

[SQLSTATE: 42815](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Previous node emitted a row with eventTime=`<emittedRowEventTime>` which is older than current\_watermark\_value=`<currentWatermark>`

This can lead to correctness issues in the stateful operators downstream in the execution pipeline.

Please correct the operator logic to emit rows after current global watermark value.

### EMPTY\_COLLECTION\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

empty collection

### EMPTY\_JSON\_FIELD\_VALUE

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to parse an empty string for data type `<dataType>`.

### EMPTY\_LOCAL\_FILE\_IN\_STAGING\_ACCESS\_QUERY

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Empty local file in staging `<operation>` query

### EMPTY\_PARTITION\_COLUMN\_NAME

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Found an empty partition column name in the path segment '`<columnSpec>`'. Each partition directory must have a non-empty column name before the '=' sign (for example, 'col=value').

### EMPTY\_PARTITION\_COLUMN\_VALUE

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Found an empty partition column value in the path segment '`<columnSpec>`'. Each partition directory must have a non-empty value after the '=' sign (for example, 'col=value').

### EMPTY\_SCHEMA\_NOT\_SUPPORTED\_FOR\_DATASOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<format>` datasource does not support writing empty or nested empty schemas. Please make sure the data schema has at least one or more column(s).

### ENCODER\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Not found an encoder of the type `<typeName>` to Spark SQL internal representation.

Consider to change the input type to one of supported at '`<docroot>`/sql-ref-datatypes.html'.

### END\_LABEL\_WITHOUT\_BEGIN\_LABEL

[SQLSTATE: 42K0L](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

End label `<endLabel>` can not exist without begin label.

### END\_OFFSET\_HAS\_GREATER\_OFFSET\_FOR\_TOPIC\_PARTITION\_THAN\_LATEST\_WITH\_TRIGGER\_AVAILABLENOW

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Some of partitions in Kafka topic(s) report available offset which is less than end offset during running query with Trigger.AvailableNow. The error could be transient - restart your query, and report if you still see the same issue.

latest offset: `<latestOffset>`, end offset: `<endOffset>`

### END\_OFFSET\_HAS\_GREATER\_OFFSET\_FOR\_TOPIC\_PARTITION\_THAN\_PREFETCHED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

For Kafka data source with Trigger.AvailableNow, end offset should have lower or equal offset per each topic partition than pre-fetched offset. The error could be transient - restart your query, and report if you still see the same issue.

pre-fetched offset: `<prefetchedOffset>`, end offset: `<endOffset>`.

### ENVIRONMENT\_DOWNLOAD\_CLOUD\_FAILURE

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Failed to download the Python notebook environment (hash: `<hash>`) for Spark session `<id>`. The cloud storage provider returned a server error. Retry the operation. `<details>`

### ENVIRONMENT\_DOWNLOAD\_DEPENDENCY\_FAILURE

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Failed to download the Python notebook environment (hash: `<hash>`) for Spark session `<id>`. A temporary service error occurred. Retry the operation. Contact Databricks support if the issue persists. `<details>`

### [ENVIRONMENT\_DOWNLOAD\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/environment-download-user-error-error-class.md)

[SQLSTATE: KD00F](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to download the Python notebook environment (hash: `<hash>`) for Spark session `<id>`.

For more details see [ENVIRONMENT\_DOWNLOAD\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/environment-download-user-error-error-class.md)

### ENVIRONMENT\_NOT\_SUPPORTED\_FOR\_CONNECTION\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connection type '`<connectionType>`' does not support environment settings. Supported types: `<supportedTypes>`.

### ERROR\_READING\_AVRO\_UNKNOWN\_FINGERPRINT

[SQLSTATE: KD00B](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error reading avro data -- encountered an unknown fingerprint: `<fingerprint>`, not sure what schema to use.

This could happen if you registered additional schemas after starting your spark context.

### EVENT\_LOG\_EMPTY

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The event log for `<tableOrPipeline>` has no schema and contains no events. Try again later after events are generated

### EVENT\_LOG\_REQUIRES\_SHARED\_COMPUTE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot query event logs from an Assigned or No Isolation Shared cluster, please use a Shared cluster or a Databricks SQL warehouse instead.

### EVENT\_LOG\_TVF\_UNSUPPORTED\_FOR\_PIPELINE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `EVENT_LOG` Table-Valued Function is not supported for pipelines using the 'schema' field or pipelines publishing to default storage.

To query the event log, publish it to the metastore by specifying the event\_log field in the pipeline settings.

For more information, see the Monitor pipelines documentation: [https://docs.databricks.com/aws/en/ldp/observability](https://docs.databricks.com/aws/en/ldp/observability)

### EVENT\_LOG\_TVF\_UNSUPPORTED\_IN\_TEST

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The event\_log TVF is not supported inside a Spark Declarative Pipelines on Lakeflow test. The test run event log is in test\_pipeline.run().event\_log or test\_pipeline.event\_log.

### EVENT\_LOG\_UNAVAILABLE

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

No event logs available for `<tableOrPipeline>`. Please try again later after events are generated

### EVENT\_LOG\_UNSUPPORTED\_TABLE\_TYPE

[SQLSTATE: 42832](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table type of `<tableIdentifier>` is `<tableType>`.

Querying event logs only supports materialized views, streaming tables, or Spark Declarative Pipelines on Lakeflow

### EVENT\_TIME\_IS\_NOT\_ON\_TIMESTAMP\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The event time `<eventName>` has the invalid type `<eventType>`, but expected "`TIMESTAMP`".

### EVENT\_TIME\_MUST\_BE\_TOP\_LEVEL\_COLUMN

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The event time in withWatermark must be a top-level column, but '`<eventExpr>`' is a nested field. To use it, alias it to a top-level column in a select before withWatermark.

### EXCEED\_LIMIT\_LENGTH

[SQLSTATE: 54006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Exceeds char/varchar type length limitation: `<limit>`.

### EXCEL\_DATA\_SOURCE\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Excel data source is not enabled in this cluster.

### EXCEL\_DATA\_WRITER\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Excel file format writes are not supported.

### [EXCEL\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/excel-file-error-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Error processing Excel file '`<filePath>`'.

For more details see [EXCEL\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/excel-file-error-error-class.md)

### [EXCEL\_INVALID\_READ\_OPTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/excel-invalid-read-option-value-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid read option value for Excel data source.

For more details see [EXCEL\_INVALID\_READ\_OPTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/excel-invalid-read-option-value-error-class.md)

### [EXCEL\_INVALID\_WRITE\_OPTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/excel-invalid-write-option-value-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The Excel data source does not support the value '`<value>`' for the write option '`<option>`'.

For more details see [EXCEL\_INVALID\_WRITE\_OPTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/excel-invalid-write-option-value-error-class.md)

### EXCEL\_INVALID\_WRITE\_SCHEMA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Excel data source does not support the schema '`<schema>`' for writes.

`<hint>`

### [EXCEL\_PARSING\_ERROR](https://docs.databricks.com/gcp/en/error-messages/excel-parsing-error-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing Excel data.

For more details see [EXCEL\_PARSING\_ERROR](https://docs.databricks.com/gcp/en/error-messages/excel-parsing-error-error-class.md)

### EXCEL\_THREAD\_WAIT\_TIMEOUT

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Excel thread wait exceeded `<timeoutMs>`ms timeout.

### EXCEL\_UNSUPPORTED\_WRITE\_OPTION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Excel data source does not support the write option '`<option>`'.

`<hint>`

### EXCEPT\_NESTED\_COLUMN\_INVALID\_TYPE

[SQLSTATE: 428H2](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`EXCEPT` column `<columnName>` was resolved and expected to be StructType, but found type `<dataType>`.

### EXCEPT\_OVERLAPPING\_COLUMNS

[SQLSTATE: 42702](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Columns in an `EXCEPT` list must be distinct and non-overlapping, but got (`<columns>`).

### EXCEPT\_RESOLVED\_COLUMNS\_WITHOUT\_MATCH

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`EXCEPT` columns \[`<exceptColumns>`] were resolved, but do not match any of the columns \[`<expandedColumns>`] from the star expansion.

### EXCEPT\_UNRESOLVED\_COLUMN\_IN\_STRUCT\_EXPANSION

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column/field name `<objectName>` in the `EXCEPT` clause cannot be resolved. Did you mean one of the following: \[`<objectList>`]?

Note: nested columns in the `EXCEPT` clause may not include qualifiers (table name, parent struct column name, etc.) during a struct expansion; try removing qualifiers if they are used with nested columns.

### EXECUTOR\_DISK\_OUT\_OF\_SPACE

[SQLSTATE: 53100](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Executor disk out of space. Please increase the disk capacity if available. If you are using Serverless, please contact our support team.

### EXEC\_IMMEDIATE\_DUPLICATE\_ARGUMENT\_ALIASES

[SQLSTATE: 42701](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `USING` clause of this `EXECUTE IMMEDIATE` command contained multiple arguments with same alias (`<aliases>`), which is invalid; please update the command to specify unique aliases and then try it again.

### EXPECT\_PERMANENT\_TABLE\_NOT\_TEMP

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<operation>`' expects a permanent table but `<tableName>` is a temporary table. Please specify a permanent table instead.

### EXPECT\_PERMANENT\_VIEW\_NOT\_TEMP

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<operation>`' expects a permanent view but `<viewName>` is a temp view.

### EXPECT\_PERSISTENT\_FUNCTION\_NOT\_TEMP

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<functionName>` is a temporary function. '`<operation>`' expects a persistent function.`<alternative>`

### [EXPECT\_TABLE\_NOT\_VIEW](https://docs.databricks.com/gcp/en/error-messages/expect-table-not-view-error-class.md)

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<operation>`' expects a table but `<viewName>` is a view.

For more details see [EXPECT\_TABLE\_NOT\_VIEW](https://docs.databricks.com/gcp/en/error-messages/expect-table-not-view-error-class.md)

### [EXPECT\_VIEW\_NOT\_TABLE](https://docs.databricks.com/gcp/en/error-messages/expect-view-not-table-error-class.md)

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table `<tableName>` does not support `<operation>`.

For more details see [EXPECT\_VIEW\_NOT\_TABLE](https://docs.databricks.com/gcp/en/error-messages/expect-view-not-table-error-class.md)

### EXPLODE\_EMBEDDED\_ARRAY\_CONFLICTING\_OPTION

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The 'explodeEmbeddedArray' DataFrame API reader option is mutually exclusive with the '`<option>`' DataFrame API option.

Please remove one of them and then retry the DataFrame operation again.

### EXPLODE\_EMBEDDED\_ARRAY\_UNSUPPORTED\_USAGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The 'explodeEmbeddedArray' option can only be used when reading `JSON` files. It is not supported in `<usage>`.

### [EXPORT\_TO\_OSSIE](https://docs.databricks.com/gcp/en/error-messages/export-to-ossie-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot read Apache Ossie YAML from the metric view.

For more details see [EXPORT\_TO\_OSSIE](https://docs.databricks.com/gcp/en/error-messages/export-to-ossie-error-class.md)

### EXPRESSION\_DECODING\_FAILED

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to decode a row to a value of the expressions: `<expressions>`.

### EXPRESSION\_ENCODING\_FAILED

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to encode a value of the expressions: `<expressions>` to a row.

### EXPRESSION\_TRANSLATION\_TO\_V2\_IS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Expression `<expr>` cannot be translated to v2 expression.

### EXPRESSION\_TYPE\_IS\_NOT\_ORDERABLE

[SQLSTATE: 42822](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column expression `<expr>` cannot be sorted because its type `<exprType>` is not orderable.

### [EXTENDED\_METADATA\_FETCH\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/extended-metadata-fetch-failure-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to fetch extended metadata for file `<path>`.

For more details see [EXTENDED\_METADATA\_FETCH\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/extended-metadata-fetch-failure-error-class.md)

### EXTERNAL\_METADATA\_UNRESOLVED\_PROJECTION

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The projection query '`<query>`' can't be resolved on schema: `<schemaTreeString>`

### [EXTERNAL\_METADATA\_UNSUPPORTED\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/external-metadata-unsupported-source-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

External Metadata doesn't support source:

For more details see [EXTERNAL\_METADATA\_UNSUPPORTED\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/external-metadata-unsupported-source-error-class.md)

### [EXTERNAL\_METASTORE\_CLIENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/external-metastore-client-error-error-class.md)

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Client operation failed:

For more details see [EXTERNAL\_METASTORE\_CLIENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/external-metastore-client-error-error-class.md)

### EXTERNAL\_SHALLOW\_CLONE\_STILL\_EXISTS

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to run the operation on the source table `<sourceTable>` because the shallow clone `<targetTable>` still exists and its status is invalid. If you indeed want to proceed with this operation, please clean up the shallow clone by explicitly running `DROP` command.

### EXTERNAL\_TABLE\_INVALID\_SCHEME

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

External tables don't support the `<scheme>` scheme.

### EXTERNAL\_UDF\_REQUIRES\_DEDICATED\_COMPUTE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

External UDF execution requires Dedicated or No Isolation compute.

### FABRIC\_REFRESH\_INVALID\_SCOPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Error running '`REFRESH FOREIGN <scope> <name>`'. Cannot refresh a Fabric `<scope>` directly, please use '`REFRESH FOREIGN CATALOG <catalogName>`' to refresh the Fabric Catalog instead.

### FABRIC\_UNSUPPORTED\_DATA\_ITEM\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The Microsoft Fabric data item '`<itemId>`' in workspace '`<workspaceId>`' has type '`<actualItemType>`', which does not match the selected item type '`<selectedItemType>`'. The actual type returned by Fabric must equal the value of the 'item\_type' catalog option, or — when 'item\_type' is not specified in Unity Catalog — must be one of 'Lakehouse' or 'Warehouse'.

### FAILED\_CREATE\_CHECKPOINT\_DIRECTORY

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to create the checkpoint directory `<path>` as FileSystem.mkdirs returned false.

### FAILED\_DATASOURCE

[SQLSTATE: HV000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hv-fdw-specific-condition)

Failed to execute `<datasource>` operation: `<message>`

### FAILED\_EXECUTE\_UDF

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

User defined function (`<functionName>`: (`<signature>`) `=> <result>`) failed due to: `<reason>`.

### FAILED\_FUNCTION\_CALL

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Failed preparing of the function `<funcName>` for call. Please, double check function's arguments.

### [FAILED\_IRC](https://docs.databricks.com/gcp/en/error-messages/failed-irc-error-class.md)

[SQLSTATE: HV000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hv-fdw-specific-condition)

Failed Apache Iceberg REST Catalog `<catalogName>` on the operation:

For more details see [FAILED\_IRC](https://docs.databricks.com/gcp/en/error-messages/failed-irc-error-class.md)

### [FAILED\_JDBC](https://docs.databricks.com/gcp/en/error-messages/failed-jdbc-error-class.md)

[SQLSTATE: HV000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hv-fdw-specific-condition)

Failed JDBC `<url>` on the operation:

For more details see [FAILED\_JDBC](https://docs.databricks.com/gcp/en/error-messages/failed-jdbc-error-class.md)

### FAILED\_PARSE\_STRUCT\_TYPE

[SQLSTATE: 22018](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed parsing struct: `<raw>`.

### [FAILED\_READ\_FILE](https://docs.databricks.com/gcp/en/error-messages/failed-read-file-error-class.md)

[SQLSTATE: KD001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error while reading file `<path>`.

For more details see [FAILED\_READ\_FILE](https://docs.databricks.com/gcp/en/error-messages/failed-read-file-error-class.md)

### FAILED\_REGISTER\_CLASS\_WITH\_KRYO

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to register classes with Kryo.

### FAILED\_RENAME\_PATH

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to rename `<sourcePath>` to `<targetPath>` as destination already exists.

### FAILED\_RENAME\_TEMP\_FILE

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to rename temp file `<srcPath>` to `<dstPath>` as FileSystem.rename returned false.

### FAILED\_ROW\_TO\_JSON

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to convert the row value `<value>` of the class `<class>` to the target SQL type `<sqlType>` in the `JSON` format.

### FAILED\_TO\_CREATE\_PLAN\_FOR\_DIRECT\_QUERY

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to create plan for direct query on files: `<dataSourceType>`

### FAILED\_TO\_LOAD\_ROUTINE

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Failed to load routine `<routineName>`.

### FAILED\_TO\_PARSE\_TOO\_COMPLEX

[SQLSTATE: 54001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The statement, including potential SQL functions and referenced views, was too complex to parse.

To mitigate this error divide the statement into multiple, less complex chunks.

### FAILED\_UPDATE\_VIEW\_SCHEMA

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The schema of view `<viewName>` is out of sync with its query output. Queries on this view will fail until the schema is updated.

Because the view is created `<schemaMode>`, an automatic sync was attempted but the catalog failed to apply the update.

Stored view schema: `<existingSchema>`

Query output schema: `<newSchema>`

To resolve this, `ALTER` the view schema manually or ask an administrator to do so. Alternatively, consider running `ALTER VIEW <viewName> WITH SCHEMA COMPENSATION`, which casts the query output to match the stored view schema at query time and does not require updating the catalog.

### [FANOUT\_INVALID\_TABLE\_EXPR](https://docs.databricks.com/gcp/en/error-messages/fanout-invalid-table-expr-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid fanout.tableExpr.

For more details see [FANOUT\_INVALID\_TABLE\_EXPR](https://docs.databricks.com/gcp/en/error-messages/fanout-invalid-table-expr-error-class.md)

### FANOUT\_MISSING\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

fanout format requires the '`<optionName>`' option.

### FANOUT\_NO\_COLUMN\_REF\_IN\_EXPR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot route by 'fanout.tableExpr': expression must reference at least one input column.

### FANOUT\_NULL\_ROUTING\_KEY

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Fanout routing column must not contain null values. Use filter or coalesce to eliminate nulls before calling fanout.

### FANOUT\_SINK\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The fanout streaming sink is not enabled.

### FANOUT\_TABLE\_EXPR\_TYPE\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot route by 'fanout.tableExpr': expression resolves to type `<dataType>`; only `STRING` is supported.

### FANOUT\_TRANSFORMER\_INSTANTIATION\_FAILED

[SQLSTATE: 46103](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Failed to instantiate fanout transformer class '`<className>`'.

### FANOUT\_TRANSFORMER\_INVALID\_TYPE

[SQLSTATE: 46110](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Class '`<className>`' does not implement '`<expectedType>`'.

### FANOUT\_TRANSFORMER\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Custom fanout transformer class '`<className>`' is not allowed by the cluster configuration.

### FANOUT\_TRANSFORMER\_RESOLUTION\_FAILED

[SQLSTATE: 46000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Failed to resolve fanout transformer: `<message>`

### FANOUT\_TRANSFORMER\_UNKNOWN

[SQLSTATE: 46103](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

Fanout transformer class '`<className>`' was not found on the driver classpath.

### FANOUT\_UNKNOWN\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unrecognized fanout option '`<optionName>`'. Known fanout options: \[`<knownOptions>`].

### FANOUT\_UNSUPPORTED\_TRIGGER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<triggerType>` is not supported by fanout.

### FEATURE\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The feature `<featureName>` is not enabled. Consider setting the config `<configKey>` to `<configValue>` to enable this capability.

### FEATURE\_NOT\_ON\_CLASSIC\_WAREHOUSE

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`<feature>` is not supported on Classic SQL warehouses. To use this feature, use a Pro or Serverless SQL warehouse.

### FEATURE\_REQUIRES\_UC

[SQLSTATE: 0AKUD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<feature>` is not supported without Unity Catalog. To use this feature, enable Unity Catalog.

### FEATURE\_REQUIRES\_UC\_TABLE

[SQLSTATE: 0AKUD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<feature>` is only supported for Unity Catalog tables, but `<tableName>` is not a Unity Catalog table.

### FEATURE\_UNAVAILABLE

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`<feature>` is not supported in your environment. To use this feature, please contact Databricks Support.

### FEATURE\_UNDER\_DEVELOPMENT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The feature `<featureName>` is under development and is not yet available.

### FGAC\_ON\_DEDICATED\_COMPUTE\_FAILED

[SQLSTATE: KD011](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Fine-grained access control (FGAC) on dedicated compute failed due the following exception: `<message>`

### [FGAC\_TIME\_TRAVEL\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/fgac-time-travel-not-supported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot time travel to the specified version or timestamp of this table.

For more details see [FGAC\_TIME\_TRAVEL\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/fgac-time-travel-not-supported-error-class.md)

### [FGAC\_TIME\_TRAVEL\_SCHEMA\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/fgac-time-travel-schema-mismatch-error-class.md)

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot time travel to this table version because its schema is incompatible with the current schema required for row filters or column masks.

For more details see [FGAC\_TIME\_TRAVEL\_SCHEMA\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/fgac-time-travel-schema-mismatch-error-class.md)

### FIELD\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<op>` column, because `<fieldNames>` already exists in `<struct>`.

### FIELD\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No such struct field `<fieldName>` in `<fields>`.

### FILE\_DATA\_SOURCE\_SCHEMA\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The schema provided to the file reference data source does not match the expected schema.

Expected schema: `<expectedSchema>`

Provided schema: `<providedSchema>`

Remove the explicit schema or update it to match the expected schema.

### FILE\_IN\_STAGING\_PATH\_ALREADY\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File in staging path `<path>` already exists but `OVERWRITE` is not set

### [FILE\_MANAGED\_REQUIRES\_MANAGED\_TABLE](https://docs.databricks.com/gcp/en/error-messages/file-managed-requires-managed-table-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

FILE `MANAGED` columns are not supported on this table type.

For more details see [FILE\_MANAGED\_REQUIRES\_MANAGED\_TABLE](https://docs.databricks.com/gcp/en/error-messages/file-managed-requires-managed-table-error-class.md)

### FILE\_SOURCE\_CONNECTOR\_ACCESS\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Access denied for `<sourceType>` file `<file>`.

`<cause>`

### FILE\_SOURCE\_CONNECTOR\_API\_REQUEST\_FAILED

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The request to the `<sourceType>` API failed for '`<target>`'.

### FILE\_SOURCE\_CONNECTOR\_API\_RESPONSE\_INVALID

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The `<sourceType>` API returned an unexpected or unparseable response for '`<target>`'.

### FILE\_SOURCE\_CONNECTOR\_CHANGE\_FEED\_REQUIRES\_DRIVE

[SQLSTATE: 22K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot list change feeds: the path `<path>` must point to a drive or a folder within a drive.

### FILE\_SOURCE\_CONNECTOR\_FAIL\_TO\_RETRIEVE\_ACCESS\_TOKEN

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Failed to retrieve access token for `<source>` connector. Please verify the UC connection is valid and up-to-date.

### FILE\_SOURCE\_CONNECTOR\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The file `<file>` was not found in `<sourceType>`.

### FILE\_SOURCE\_CONNECTOR\_GDRIVE\_EXPORT\_SIZE\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot export Google Drive file `<file>` as `<format>` because it exceeds Google's 10MB files.export size limit.

### FILE\_SOURCE\_CONNECTOR\_GDRIVE\_INSUFFICIENT\_SCOPE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The service account is missing the '`<scope>`' API scope required to access this Google Drive resource.

### FILE\_SOURCE\_CONNECTOR\_GDRIVE\_INVALID\_ADMIN\_EMAIL

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The fs.gdrive.admin.email value `<email>` is not a valid email address.

### [FILE\_SOURCE\_CONNECTOR\_GDRIVE\_INVALID\_PATH](https://docs.databricks.com/gcp/en/error-messages/file-source-connector-gdrive-invalid-path-error-class.md)

[SQLSTATE: 22K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path `<path>` is not a valid GDrive path.

For more details see [FILE\_SOURCE\_CONNECTOR\_GDRIVE\_INVALID\_PATH](https://docs.databricks.com/gcp/en/error-messages/file-source-connector-gdrive-invalid-path-error-class.md)

### FILE\_SOURCE\_CONNECTOR\_GDRIVE\_MISSING\_CREDENTIALS

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

No valid authentication credentials were provided.

### FILE\_SOURCE\_CONNECTOR\_GDRIVE\_MISSING\_DOMAIN\_CONFIG

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Domain-wide scope requires fs.gdrive.admin.email and fs.gdrive.domain to be configured.

### FILE\_SOURCE\_CONNECTOR\_INVALID\_GDRIVE\_SCOPE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unsupported Google Drive scope '`<scope>`'. Supported values are: `<validScopes>`.

### FILE\_SOURCE\_CONNECTOR\_INVALID\_PATH\_FOR\_FILE

[SQLSTATE: 22K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path `<path>` does not point to a file.

### FILE\_SOURCE\_CONNECTOR\_INVALID\_URL

[SQLSTATE: 42KDB](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided path is not a valid `<source>` URL. Use a `<source>` web URL with a Unity Catalog connection specified via the `databricks.connection` option.

### FILE\_SOURCE\_CONNECTOR\_MISSING\_TOKEN\_PROVIDERS

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

No valid token providers were configured.

### FILE\_SOURCE\_CONNECTOR\_MISSING\_UC\_CONNECTION

[SQLSTATE: 08003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Reading data from `<path>` requires a Unity Catalog connection. Specify one using the option 'connection `=>`' when using 'read\_files' or the DataFrame reader option 'databricks.connection' when using DataFrames.

### FILE\_SOURCE\_CONNECTOR\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<sourceType>` file system is not enabled.

### FILE\_SOURCE\_CONNECTOR\_ONEDRIVE\_INCORRECT\_PATH\_FORMAT

[SQLSTATE: 22K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Path `<path>` is not in the correct format. Expected onedrive://\{host}/me\[/\{path}] or onedrive://\{host}/personal/\{userId}\[/\{drive}\[/\{path}]].

### [FILE\_SOURCE\_CONNECTOR\_ONEDRIVE\_INVALID\_PATH](https://docs.databricks.com/gcp/en/error-messages/file-source-connector-onedrive-invalid-path-error-class.md)

[SQLSTATE: 22K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path `<path>` is not a valid OneDrive path.

For more details see [FILE\_SOURCE\_CONNECTOR\_ONEDRIVE\_INVALID\_PATH](https://docs.databricks.com/gcp/en/error-messages/file-source-connector-onedrive-invalid-path-error-class.md)

### FILE\_SOURCE\_CONNECTOR\_SHAREPOINT\_INCORRECT\_PATH\_FORMAT

[SQLSTATE: 22K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Path `<path>` is not in the correct format. Expected sharepoint://\{host}.sharepoint.com optionally followed by /\{sites|teams}/sitename\[/drivename/path].

### [FILE\_SOURCE\_CONNECTOR\_SHAREPOINT\_INVALID\_PATH](https://docs.databricks.com/gcp/en/error-messages/file-source-connector-sharepoint-invalid-path-error-class.md)

[SQLSTATE: 22K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path `<path>` is not a valid SharePoint path.

For more details see [FILE\_SOURCE\_CONNECTOR\_SHAREPOINT\_INVALID\_PATH](https://docs.databricks.com/gcp/en/error-messages/file-source-connector-sharepoint-invalid-path-error-class.md)

### FILE\_TYPE\_CONFLICTING\_MODE\_ON\_SHARED\_SOURCE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source expression '`<sourceAttr>`' is being written to separate `MANAGED` and `EXTERNAL` columns. Duplicate this expression and assign each copy separately.

### [FILE\_TYPE\_FILESPACE\_PROPERTY\_IMMUTABLE](https://docs.databricks.com/gcp/en/error-messages/file-type-filespace-property-immutable-error-class.md)

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot modify the 'databricks.filespace-preview' table property on an existing table.

For more details see [FILE\_TYPE\_FILESPACE\_PROPERTY\_IMMUTABLE](https://docs.databricks.com/gcp/en/error-messages/file-type-filespace-property-immutable-error-class.md)

### [FILE\_TYPE\_INVALID\_DESTINATION](https://docs.databricks.com/gcp/en/error-messages/file-type-invalid-destination-error-class.md)

[SQLSTATE: 42K01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid destination for a FILE output.

For more details see [FILE\_TYPE\_INVALID\_DESTINATION](https://docs.databricks.com/gcp/en/error-messages/file-type-invalid-destination-error-class.md)

### [FILE\_TYPE\_INVALID\_OUTPUT\_FILE](https://docs.databricks.com/gcp/en/error-messages/file-type-invalid-output-file-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The file returned by the UDF cannot be read as a FILE value.

For more details see [FILE\_TYPE\_INVALID\_OUTPUT\_FILE](https://docs.databricks.com/gcp/en/error-messages/file-type-invalid-output-file-error-class.md)

### FILE\_TYPE\_IN\_ROUTINE\_SIGNATURE\_UNSUPPORTED\_MAP\_KEY

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The FILE type cannot be a map key in the return type of `<routineType> <routineName>`. Use FILE only as a map value, array element, or struct field.

### FILE\_TYPE\_IN\_ROUTINE\_SIGNATURE\_UNSUPPORTED\_QUALIFIER

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The FILE type in `<routineType> <routineName>` does not support `MANAGED` or `EXTERNAL` qualifiers. Use FILE without a qualifier.

### [FILE\_TYPE\_MISSING\_FILESPACE](https://docs.databricks.com/gcp/en/error-messages/file-type-missing-filespace-error-class.md)

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Cannot resolve a file space for a `MANAGED` FILE upload.

For more details see [FILE\_TYPE\_MISSING\_FILESPACE](https://docs.databricks.com/gcp/en/error-messages/file-type-missing-filespace-error-class.md)

### FILE\_TYPE\_MISSING\_QUALIFIER

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

FILE type requires `MANAGED` or `EXTERNAL` qualifier in a column definition. Use FILE `MANAGED` or FILE `EXTERNAL`.

### FILE\_TYPE\_REQUIRES\_DELTA\_TABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

FILE columns are only supported on Delta tables.

### FILE\_TYPE\_TOO\_MANY\_FILES\_PER\_ROW

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

A single row produced more than `<max>` FILE values, exceeding the per-row limit. Reduce the number of FILE values the query produces per row.

### FILE\_TYPE\_UNKNOWN\_WRITE

[SQLSTATE: 42K01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column(s) `<colNames>` have an ambiguous FILE type. Declare the columns as FILE `MANAGED` or FILE `EXTERNAL` in the target table before writing.

### FILTERING\_SERVICE\_COMMAND\_NEEDS\_SQL\_STRING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The command `<command>` can only be run on FGAC tables if it is called via spark.sql().

### FLATMAPGROUPSWITHSTATE\_USER\_FUNCTION\_ERROR

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

An error occurred in the user provided function in flatMapGroupsWithState. Reason: `<reason>`

### FORBIDDEN\_KEYWORD\_IN\_JDBC\_QUERY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The query option `<queryOption>` cannot contain forbidden keywords. Please remove the following keywords from the query: `<keywords>`

### FORBIDDEN\_OPERATION

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The operation `<statement>` is not allowed on the `<objectType>`: `<objectName>`.

### FOREACH\_BATCH\_USER\_FUNCTION\_ERROR

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

An error occurred in the user provided function in foreach batch sink. Reason: `<reason>`

### FOREACH\_USER\_FUNCTION\_ERROR

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

An error occurred in the user provided function in foreach sink. Reason: `<reason>`

### FOREIGN\_KEY\_MISMATCH

[SQLSTATE: 42830](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Foreign key parent columns `<parentColumns>` do not match primary key child columns `<childColumns>`.

### FOREIGN\_OBJECT\_NAME\_CANNOT\_BE\_EMPTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot execute this command because the foreign `<objectType>` name must be non-empty.

### [FOREIGN\_TABLE\_CONVERSION\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/foreign-table-conversion-unsupported-error-class.md)

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table is not eligible for upgrade from UC Foreign to UC External. Reason:

For more details see [FOREIGN\_TABLE\_CONVERSION\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/foreign-table-conversion-unsupported-error-class.md)

### [FOREIGN\_VIEW\_CONVERSION\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/foreign-view-conversion-unsupported-error-class.md)

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Object `<objectName>` is not eligible for conversion to a UC Managed view. Reason:

For more details see [FOREIGN\_VIEW\_CONVERSION\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/foreign-view-conversion-unsupported-error-class.md)

### FROM\_JSON\_CONFLICTING\_SCHEMA\_UPDATES

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

from\_json inference encountered conflicting schema updates at: `<location>`

### FROM\_JSON\_CORRUPT\_RECORD\_COLUMN\_IN\_SCHEMA

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

from\_json found columnNameOfCorruptRecord (`<columnNameOfCorruptRecord>`) present

in a `JSON` object and can no longer proceed. Please configure a different value for

the option 'columnNameOfCorruptRecord'.

### FROM\_JSON\_CORRUPT\_SCHEMA

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

from\_json inference could not read the schema stored at: `<location>`

### FROM\_JSON\_INFERENCE\_FAILED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

from\_json was unable to infer the schema. Please provide one instead.

### FROM\_JSON\_INFERENCE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

from\_json inference is only supported when defining streaming tables

### [FROM\_JSON\_INVALID\_CONFIGURATION](https://docs.databricks.com/gcp/en/error-messages/from-json-invalid-configuration-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

from\_json configuration is invalid:

For more details see [FROM\_JSON\_INVALID\_CONFIGURATION](https://docs.databricks.com/gcp/en/error-messages/from-json-invalid-configuration-error-class.md)

### FROM\_JSON\_SCHEMA\_EVOLUTION\_FAILED

[SQLSTATE: 22KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

from\_json could not evolve from `<old>` to `<new>`

### FUNCTION\_PARAMETERS\_MUST\_BE\_NAMED

[SQLSTATE: 07001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-07-dynamic-sql-error)

The function `<function>` requires named parameters. Parameters missing names: `<exprs>`. Please update the function call to add names for all parameters, for example, `<function>`(param\_name `=>` ...).

### GENERATED\_COLUMN\_WITH\_DEFAULT\_VALUE

[SQLSTATE: 42623](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A column cannot have both a default value and a generation expression but column `<colName>` has default value: (`<defaultValue>`) and generation expression: (`<genExpr>`).

### GEO\_ENCODER\_SRID\_MISMATCH\_ERROR

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to encode `<type>` value because provided SRID `<valueSrid>` of a value to encode does not match type SRID: `<typeSrid>`.

### GET\_CLUSTER\_STARTUP\_STEPS\_FUNCTION\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Function get\_cluster\_startup\_steps() is only available on PAL-pipeline test images with `ENABLE_PAL_TESTING`=true.

### GET\_DRIVER\_STARTUP\_EVENTS\_FUNCTION\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Function get\_driver\_startup\_events() is only available on PAL-pipeline test images with `ENABLE_PAL_TESTING`=true.

### GET\_SESSION\_USER\_PRIVILEGES\_SERVICE\_UNAVAILABLE

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The row filter for `<tableName>` is temporarily unavailable. Please try again later. If the issue persists, contact Databricks Support.

### GET\_TABLES\_BY\_TYPE\_UNSUPPORTED\_BY\_HIVE\_VERSION

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Hive 2.2 and lower versions don't support getTablesByType. Please use Hive 2.3 or higher version.

### GET\_WARMUP\_TRACING\_FAILED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to get warmup tracing. Cause: `<cause>`.

### GET\_WARMUP\_TRACING\_FUNCTION\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Function get\_warmup\_tracing() not allowed.

### GRAPHITE\_SINK\_INVALID\_PROTOCOL

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Invalid Graphite protocol: `<protocol>`.

### GRAPHITE\_SINK\_PROPERTY\_MISSING

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Graphite sink requires '`<property>`' property.

### GROUPING\_COLUMN\_MISMATCH

[SQLSTATE: 42803](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column of grouping (`<grouping>`) can't be found in grouping columns `<groupingColumns>`.

### GROUPING\_ID\_COLUMN\_MISMATCH

[SQLSTATE: 42803](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Columns of grouping\_id (`<groupingIdColumn>`) does not match grouping columns (`<groupByColumns>`).

### GROUPING\_SIZE\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Grouping sets size cannot be greater than `<maxSize>`.

### [GROUP\_BY\_AGGREGATE](https://docs.databricks.com/gcp/en/error-messages/group-by-aggregate-error-class.md)

[SQLSTATE: 42903](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Aggregate functions are not allowed in `GROUP BY`, but found `<sqlExpr>`.

For more details see [GROUP\_BY\_AGGREGATE](https://docs.databricks.com/gcp/en/error-messages/group-by-aggregate-error-class.md)

### GROUP\_BY\_POS\_AGGREGATE

[SQLSTATE: 42903](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`GROUP BY <index>` refers to an expression `<aggExpr>` that contains an aggregate function. Aggregate functions are not allowed in `GROUP BY`.

### GROUP\_BY\_POS\_OUT\_OF\_RANGE

[SQLSTATE: 42805](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`GROUP BY` position `<index>` is not in select list (valid range is \[1, `<size>`]).

### GROUP\_EXPRESSION\_TYPE\_IS\_NOT\_ORDERABLE

[SQLSTATE: 42822](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The expression `<sqlExpr>` cannot be used as a grouping expression because its data type `<dataType>` is not an orderable data type.

### [HDFS\_HTTP\_ERROR](https://docs.databricks.com/gcp/en/error-messages/hdfs-http-error-error-class.md)

[SQLSTATE: KD00F](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

When attempting to read from HDFS, HTTP request failed.

For more details see [HDFS\_HTTP\_ERROR](https://docs.databricks.com/gcp/en/error-messages/hdfs-http-error-error-class.md)

### HINT\_UNSUPPORTED\_FOR\_JDBC\_DIALECT

[SQLSTATE: 42822](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The option `hint` is not supported for `<jdbcDialect>` in JDBC data source. Supported dialects are `MySQLDialect, OracleDialect` and `DatabricksDialect`.

### HIVE\_METASTORE\_INVALID\_PLACEHOLDER\_PATH

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The query or command failed to execute because the 'spark.databricks.hive.metastore.tablePlaceholderPath' configuration provided an invalid Hive Metastore table placeholder path. Please update this configuration with a new value to provide a valid path and then re-run the query or command again.

### HIVE\_METASTORE\_TABLE\_PLACEHOLDER\_PATH\_NOT\_SET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The query or command failed because the Hive Metastore table placeholder path is not set, which is required when schema location is on DBFS, and table location is an object/file. Please set spark.databricks.hive.metastore.tablePlaceholderPath to a path you have access to and then re-run the query or command again.

### HLL\_INVALID\_INPUT\_SKETCH\_BUFFER

[SQLSTATE: 22546](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`; only valid HLL sketch buffers are supported as inputs (such as those produced by the `hll_sketch_agg` function).

### HLL\_INVALID\_LG\_K

[SQLSTATE: 22546](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`; the `lgConfigK` value must be between `<min>` and `<max>`, inclusive: `<value>`.

### HLL\_K\_MUST\_BE\_CONSTANT

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid call to `<function>`; the `K` value must be a constant value, but got a non-constant expression.

### HLL\_UNION\_DIFFERENT\_LG\_K

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Sketches have different `lgConfigK` values: `<left>` and `<right>`. Set the `allowDifferentLgConfigK` parameter to true to call `<function>` with different `lgConfigK` values.

### HMS\_FEDERATION\_SHALLOW\_CLONE\_NOT\_FOUND\_IN\_UC

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The shallow clone path '`<path>`' could not be resolved to a table in Unity Catalog. Please ensure the table exists and is federated to Unity Catalog.

### [HYBRID\_ANALYZER\_EXCEPTION](https://docs.databricks.com/gcp/en/error-messages/hybrid-analyzer-exception-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

An failure occurred when attempting to resolve a query or command with both the legacy fixed-point analyzer as well as the single-pass resolver.

For more details see [HYBRID\_ANALYZER\_EXCEPTION](https://docs.databricks.com/gcp/en/error-messages/hybrid-analyzer-exception-error-class.md)

### IDENTIFIER\_TOO\_MANY\_NAME\_PARTS

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<identifier>` is not a valid identifier as it has more than `<limit>` name parts.

### IDENTITY\_COLUMNS\_DUPLICATED\_SEQUENCE\_GENERATOR\_OPTION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicated `IDENTITY` column sequence generator option: `<sequenceGeneratorOption>`.

### IDENTITY\_COLUMNS\_ILLEGAL\_STEP

[SQLSTATE: 42611](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`IDENTITY` column step cannot be 0.

### IDENTITY\_COLUMNS\_UNSUPPORTED\_DATA\_TYPE

[SQLSTATE: 428H2](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DataType `<dataType>` is not supported for `IDENTITY` columns.

### ILLEGAL\_DAY\_OF\_WEEK

[SQLSTATE: 22009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Illegal input for day of week: `<string>`.

### ILLEGAL\_SEQUENCE\_BOUNDARIES

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The step `<step>` is not valid for the sequence boundaries `<start>` to `<stop>`. A positive step requires start `<=` stop, a negative step requires start >= stop, and a zero step requires start == stop.

### [ILLEGAL\_STATE\_STORE\_VALUE](https://docs.databricks.com/gcp/en/error-messages/illegal-state-store-value-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Illegal value provided to the State Store

For more details see [ILLEGAL\_STATE\_STORE\_VALUE](https://docs.databricks.com/gcp/en/error-messages/illegal-state-store-value-error-class.md)

### [IMPORT\_FROM\_OSSIE](https://docs.databricks.com/gcp/en/error-messages/import-from-ossie-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a metric view from the Apache Ossie model.

For more details see [IMPORT\_FROM\_OSSIE](https://docs.databricks.com/gcp/en/error-messages/import-from-ossie-error-class.md)

### INAPPROPRIATE\_URI\_SCHEME\_OF\_CONNECTION\_OPTION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connection can't be created due to inappropriate scheme of URI `<uri>` provided for the connection option '`<option>`'.

Allowed scheme(s): `<allowedSchemes>`.

Please add a scheme if it is not present in the URI, or specify a scheme from the allowed values.

### INCOMPARABLE\_PIVOT\_COLUMN

[SQLSTATE: 42818](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid pivot column `<columnName>`. Pivot columns must be comparable.

### INCOMPATIBLE\_BATCH\_VIEW\_READ

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

View `<datasetIdentifier>` is a batch view and must be referenced using SparkSession#read. This check can be disabled by setting Spark conf pipelines.incompatibleViewCheck.enabled = false.

### INCOMPATIBLE\_COLUMN\_CHANGES\_AFTER\_VIEW\_WITH\_PLAN\_CREATION

[SQLSTATE: 51024](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-51-invalid-application-state)

View `<viewName>` plan references table `<tableName>` whose `<colType>` columns changed since the view plan was initially captured.

Column changes:

`<errors>`

This indicates the table has evolved and the view based on the plan must be recreated.

### INCOMPATIBLE\_COLUMN\_TYPE

[SQLSTATE: 42825](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<operator>` can only be performed on tables with compatible column types. The `<columnOrdinalNumber>` column of the `<tableOrdinalNumber>` table is `<dataType1>` type which is not compatible with `<dataType2>` at the same column of the first table.`<hint>`.

### INCOMPATIBLE\_DATASOURCE\_REGISTER

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Detected an incompatible DataSourceRegister. Please remove the incompatible library from classpath or upgrade it. Error: `<message>`

### [INCOMPATIBLE\_DATA\_FOR\_TABLE](https://docs.databricks.com/gcp/en/error-messages/incompatible-data-for-table-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot write incompatible data for the table `<tableName>`:

For more details see [INCOMPATIBLE\_DATA\_FOR\_TABLE](https://docs.databricks.com/gcp/en/error-messages/incompatible-data-for-table-error-class.md)

### INCOMPATIBLE\_JOIN\_TYPES

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The join types `<joinType1>` and `<joinType2>` are incompatible.

### INCOMPATIBLE\_STREAMING\_VIEW\_READ

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

View `<datasetIdentifier>` is a streaming view and must be referenced using SparkSession#readStream. This check can be disabled by setting Spark conf pipelines.incompatibleViewCheck.enabled = false.

### [INCOMPATIBLE\_TABLE\_CHANGE\_AFTER\_ANALYSIS](https://docs.databricks.com/gcp/en/error-messages/incompatible-table-change-after-analysis-error-class.md)

[SQLSTATE: 51024](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-51-invalid-application-state)

Detected incompatible changes to table `<tableName>` after DataFrame/Dataset has been resolved and analyzed, meaning the underlying plan is out of sync. Please, re-create DataFrame/Dataset before attempting to execute the query again.

For more details see [INCOMPATIBLE\_TABLE\_CHANGE\_AFTER\_ANALYSIS](https://docs.databricks.com/gcp/en/error-messages/incompatible-table-change-after-analysis-error-class.md)

### INCOMPATIBLE\_VIEW\_SCHEMA\_CHANGE

[SQLSTATE: 51024](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-51-invalid-application-state)

The SQL query of view `<viewName>` has an incompatible schema change and column `<colName>` cannot be resolved. Expected `<expectedNum>` columns named `<colName>` but got `<actualCols>`.

Please try to re-create the view by running: `<suggestion>`.

### [INCOMPLETE\_TYPE\_DEFINITION](https://docs.databricks.com/gcp/en/error-messages/incomplete-type-definition-error-class.md)

[SQLSTATE: 42K01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Incomplete complex type:

For more details see [INCOMPLETE\_TYPE\_DEFINITION](https://docs.databricks.com/gcp/en/error-messages/incomplete-type-definition-error-class.md)

### INCOMPLETE\_UC\_SECRET\_IDENTIFIER

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

UC Secret reference requires a fully qualified 3-part identifier (catalog.schema.name). Missing: `<missingPart>`.

### [INCONSISTENT\_BEHAVIOR\_CROSS\_VERSION](https://docs.databricks.com/gcp/en/error-messages/inconsistent-behavior-cross-version-error-class.md)

[SQLSTATE: 42K0B](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You may get a different result due to the upgrading to

For more details see [INCONSISTENT\_BEHAVIOR\_CROSS\_VERSION](https://docs.databricks.com/gcp/en/error-messages/inconsistent-behavior-cross-version-error-class.md)

### INCORRECT\_NUMBER\_OF\_ARGUMENTS

[SQLSTATE: 42605](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<failure>, <functionName>` requires at least `<minArgs>` arguments and at most `<maxArgs>` arguments.

### INCORRECT\_RAMP\_UP\_RATE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Max offset with `<rowsPerSecond>` rowsPerSecond is `<maxSeconds>`, but 'rampUpTimeSeconds' is `<rampUpTimeSeconds>`.

### INDETERMINATE\_COLLATION

[SQLSTATE: 42P22](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not determine which collation to use for string operation. Use `COLLATE` clause to set the collation explicitly.

### INDETERMINATE\_COLLATION\_IN\_EXPRESSION

[SQLSTATE: 42P22](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Data type of `<expr>` has indeterminate collation. Use `COLLATE` clause to set the collation explicitly.

### INDETERMINATE\_COLLATION\_IN\_SCHEMA

[SQLSTATE: 42P22](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema contains indeterminate collation at: \[`<columnPaths>`]. Use `COLLATE` clause to set the collation explicitly.

### INDEX\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the index `<indexName>` on table `<tableName>` because it already exists.

### INDEX\_ALREADY\_EXISTS\_IN\_SCHEMA

[SQLSTATE: 42S11](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the index `<indexName>` because it already exists.

### INDEX\_ASYNC\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot `<operation>` `...` `ON <tableName>`(...) `ASYNC`. The catalog does not support `ASYNC` index creation.

### INDEX\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot find the index `<indexName>` on table `<tableName>`.

### INDEX\_NOT\_FOUND\_IN\_SCHEMA

[SQLSTATE: 42S12](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot find the index `<indexName>`.

### INDEX\_REQUIRES\_MANAGED\_TABLE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<operation> ON TABLE <tableName>`. Operation can only be performed on managed tables.

To convert a table to a managed table, use the `ALTER TABLE <tableName> SET MANAGED` command.

For more information, see [https://docs.databricks.com/aws/en/tables/convert-external-managed](https://docs.databricks.com/aws/en/tables/convert-external-managed).

### INDEX\_REQUIRES\_PREDICTIVE\_OPTIMIZATION

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<operation> ON TABLE <tableName>`. Operation can only be performed on tables with Predictive Optimization enabled.

For more information on how to enable Predictive Optimization, see [https://docs.databricks.com/aws/en/optimizations/predictive-optimization](https://docs.databricks.com/aws/en/optimizations/predictive-optimization).

### INDEX\_REQUIRES\_ROW\_TRACKING

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<operation> ON TABLE <tableName>`. Operation can only be performed on tables with row tracking enabled.

For more information on how to enable row tracking, see [https://docs.databricks.com/aws/en/delta/row-tracking](https://docs.databricks.com/aws/en/delta/row-tracking).

### INDEX\_RESERVED\_COLUMN\_NAME

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<operation> ON TABLE <tableName>`. The indexed column `<columnName>` conflicts with a reserved internal index column name.

### INDEX\_UNSUPPORTED\_TABLE\_FORMAT

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<operation> ON TABLE <tableName>`.

Operation can only be performed on tables with the following formats: `<supportedFormats>`.

Verify the table format with `DESCRIBE DETAIL <tableName>`.

If the current format is Parquet or Apache Iceberg, you can permanently convert it in place with `CONVERT` TO `DELTA <tableName>`; see [https://docs.databricks.com/aws/en/sql/language-manual/delta-convert-to-delta](https://docs.databricks.com/aws/en/sql/language-manual/delta-convert-to-delta).

Otherwise, recreate the table in one of the supported formats.

### INDEX\_UNSUPPORTED\_TABLE\_SCHEMA

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<operation> ON TABLE <tableName>`. The top-level column named `_metadata` conflicts with a reserved metadata column name.

Rename or drop the `_metadata` column to enable indexing.

### INDEX\_UNSUPPORTED\_VERSION

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Index `<indexName>` has version `<indexVersion>` for type `<indexType>`, which is not supported by this version of Databricks.

Drop and recreate the index, or upgrade to a newer release to use it.

### INET\_FUNCTIONS\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<functionName>` is disabled or unsupported. INET functions are not publicly available yet.

### INFINITE\_STREAMING\_TRIGGER\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Trigger type `<trigger>` is not supported for this cluster type.

Use a different trigger type for example, AvailableNow, Once.

### [INSERT\_COLUMN\_ARITY\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/insert-column-arity-mismatch-error-class.md)

[SQLSTATE: 21S01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

Cannot write to `<tableName>`, the reason is

For more details see [INSERT\_COLUMN\_ARITY\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/insert-column-arity-mismatch-error-class.md)

### INSERT\_PARTITION\_COLUMN\_ARITY\_MISMATCH

[SQLSTATE: 21S01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

Cannot write to '`<tableName>`', `<reason>`:

Table columns: `<tableColumns>`.

Partition columns with static values: `<staticPartCols>`.

Data columns: `<dataColumns>`.

### INSERT\_REPLACE\_ON\_BY\_NAME\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`INSERT INTO` `...` `BY` NAME `REPLACE ON` is not enabled. Set 'spark.sql.insertIntoReplaceOnByName.enabled' to true to enable it.

### INSERT\_REPLACE\_ON\_COLUMN\_LIST\_NOT\_ENABLED

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `INSERT INTO` ... (column\_list) `REPLACE ON` feature is not enabled. Contact your Databricks representative to enable.

### INSERT\_REPLACE\_ON\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`INSERT INTO` `...` `REPLACE ON` is not enabled. Set 'spark.sql.insertIntoReplaceOn.enabled' to true to enable it.

### INSERT\_REPLACE\_USING\_BY\_NAME\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`INSERT INTO` `...` `BY` NAME `REPLACE USING` is not enabled. Set 'spark.sql.insertIntoReplaceUsingByName.enabled' to true to enable it.

### INSERT\_REPLACE\_USING\_DISALLOW\_MISALIGNED\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

All columns in the `USING` clause must appear in the same position in both the target and source schemas. `USING` clause containing misaligned columns is not supported.

The following columns are misaligned: `<misalignedReplaceUsingCols>`

### INSERT\_REPLACE\_USING\_INVALID\_SET\_OF\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table must be partitioned and all specified columns must represent the full set of the partition columns of the table.

The following columns are not partition columns: `<nonPartitionColumns>`

The following partitions columns are missing: `<missingPartitionsColumns>`

### INSERT\_REPLACE\_USING\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`INSERT INTO` `...` `REPLACE USING` is not enabled. Set 'spark.sql.insertIntoReplaceUsing.enabled' to true to enable it.

### INSERT\_REPLACE\_WHERE\_COLUMN\_LIST\_NOT\_ENABLED

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `INSERT INTO` ... (column\_list) `REPLACE WHERE` feature is not enabled. Contact your Databricks representative to enable.

### INSERT\_REPLACE\_WHERE\_TABLE\_ALIAS\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table alias is not allowed with `INSERT INTO` `...` `REPLACE WHERE` because the `WHERE` condition is evaluated against the target table directly.

Use `INSERT INTO` `...` `REPLACE ON` if you need to reference the target table via an alias.

### INSUFFICIENT\_PERMISSIONS

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Insufficient privileges:

`<report>`

### INSUFFICIENT\_PERMISSIONS\_EXT\_LOC

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User `<user>` has insufficient privileges for external location `<location>`.

### INSUFFICIENT\_PERMISSIONS\_NO\_OWNER

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

There is no owner for `<securableName>`. Ask your administrator to set an owner.

### INSUFFICIENT\_PERMISSIONS\_OWNERSHIP\_SECURABLE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User does not own `<securableName>`.

### INSUFFICIENT\_PERMISSIONS\_SECURABLE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User does not have permission `<action>` on `<securableName>`.

### INSUFFICIENT\_PERMISSIONS\_SECURABLE\_PARENT\_OWNER

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The owner of `<securableName>` is different from the owner of `<parentSecurableName>`.

### INSUFFICIENT\_PERMISSIONS\_SPARK\_CONNECT\_CLIENT\_SET\_CLOUDFETCH\_RETENTION\_TIMEOUT

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Client does not have permission to set a custom retention timeout for CloudFetch results.

### INSUFFICIENT\_PERMISSIONS\_SQL\_PROFILER

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User does not have permissions to execute this command. SQL profiling requires database admin privileges.

### INSUFFICIENT\_PERMISSIONS\_STORAGE\_CRED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Storage credential `<credentialName>` has insufficient privileges.

### INSUFFICIENT\_PERMISSIONS\_UNDERLYING\_SECURABLES

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User cannot `<action>` on `<securableName>` because of permissions on underlying securables.

### INSUFFICIENT\_PERMISSIONS\_UNDERLYING\_SECURABLES\_VERBOSE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User cannot `<action>` on `<securableName>` because of permissions on underlying securables:

`<underlyingReport>`

### INTERNAL\_INDEX\_TABLE\_PROPERTIES\_MODIFICATION\_NOT\_ALLOWED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Internal index table properties cannot be modified by the current caller.

### INTERNAL\_TABLE\_FUNCTION\_NOT\_AVAILABLE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Internal table-valued functions are not available to the current caller.

### [INTERVAL\_ARITHMETIC\_OVERFLOW](https://docs.databricks.com/gcp/en/error-messages/interval-arithmetic-overflow-error-class.md)

[SQLSTATE: 22015](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Integer overflow while operating with intervals.

For more details see [INTERVAL\_ARITHMETIC\_OVERFLOW](https://docs.databricks.com/gcp/en/error-messages/interval-arithmetic-overflow-error-class.md)

### INTERVAL\_DIVIDED\_BY\_ZERO

[SQLSTATE: 22012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Division by zero. Use `try_divide` to tolerate divisor being 0 and return `NULL` instead.

### [INVALID\_AGGREGATE\_FILTER](https://docs.databricks.com/gcp/en/error-messages/invalid-aggregate-filter-error-class.md)

[SQLSTATE: 42903](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `FILTER` expression `<filterExpr>` in an aggregate function is invalid.

For more details see [INVALID\_AGGREGATE\_FILTER](https://docs.databricks.com/gcp/en/error-messages/invalid-aggregate-filter-error-class.md)

### INVALID\_AGNOSTIC\_ENCODER

[SQLSTATE: 42001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found an invalid agnostic encoder. Expects an instance of AgnosticEncoder but got `<encoderType>`. For more information consult '`<docroot>`/api/java/index.html?org/apache/spark/sql/Encoder.html'.

### [INVALID\_ARRAY\_INDEX](https://docs.databricks.com/gcp/en/error-messages/invalid-array-index-error-class.md)

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The index `<indexValue>` is out of bounds. The array has `<arraySize>` elements. Use the SQL function `get()` to tolerate accessing element at invalid index and return `NULL` instead.

For more details see [INVALID\_ARRAY\_INDEX](https://docs.databricks.com/gcp/en/error-messages/invalid-array-index-error-class.md)

### [INVALID\_ARRAY\_INDEX\_IN\_ELEMENT\_AT](https://docs.databricks.com/gcp/en/error-messages/invalid-array-index-in-element-at-error-class.md)

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The index `<indexValue>` is out of bounds. The array has `<arraySize>` elements. Use `try_element_at` to tolerate accessing element at invalid index and return `NULL` instead.

For more details see [INVALID\_ARRAY\_INDEX\_IN\_ELEMENT\_AT](https://docs.databricks.com/gcp/en/error-messages/invalid-array-index-in-element-at-error-class.md)

### INVALID\_ARTIFACT\_PATH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Artifact with name `<name>` is invalid. The name must be a relative path and cannot reference parent/sibling/nephew directories.

### INVALID\_ATTRIBUTE\_NAME\_SYNTAX

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Syntax error in the attribute name: `<name>`. Check that backticks appear in pairs, a quoted string is a complete name part and use a backtick only inside quoted name parts.

### INVALID\_AUTO\_TTL\_EXPIRE\_IN\_DAYS

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The number of days specified for Auto-TTL must be a non-negative integer.

### INVALID\_AWS\_AUTHENTICATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please choose exactly one of the following authentication methods:

* Provide the name of your Databricks service credential (`<serviceCredential>`) (as a spark stream option or as a cluster environment variable).

* Provide both the AWS AccessKey (`<awsAccessKey>`) and SecretAccessKey (`<awsSecretKey>`) to use AWS keys.

* Provide neither the AWS keys nor a Databricks service credential to use the default AWS credential provider chain for Kinesis authentication.

### INVALID\_AWS\_AUTHENTICATION\_EXPLICIT\_OPTIONS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please provide either the name of your Databricks service credential (`<serviceCredential>`)

OR both `<awsAccessKey>` and `<awsSecretKey>`

### INVALID\_BITMAP\_POSITION

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The 0-indexed bitmap position `<bitPosition>` is out of bounds. The bitmap has `<bitmapNumBits>` bits (`<bitmapNumBytes>` bytes).

### INVALID\_BOOLEAN\_STATEMENT

[SQLSTATE: 22546](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Boolean statement is expected in the condition, but `<invalidStatement>` was found.

### [INVALID\_BOUNDARY](https://docs.databricks.com/gcp/en/error-messages/invalid-boundary-error-class.md)

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The boundary `<boundary>` is invalid: `<invalidValue>`.

For more details see [INVALID\_BOUNDARY](https://docs.databricks.com/gcp/en/error-messages/invalid-boundary-error-class.md)

### INVALID\_BUCKET\_COLUMN\_DATA\_TYPE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot use `<type>` for bucket column. Collated data types are not supported for bucketing.

### INVALID\_BUCKET\_COUNT

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Number of buckets should be greater than 0 but less than or equal to bucketing.maxBuckets (`<bucketingMaxBuckets>`). Got `<numBuckets>`.

### INVALID\_BUCKET\_FILE

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Invalid bucket file: `<path>`.

### INVALID\_BYTE\_STRING

[SQLSTATE: 22P03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The expected format is ByteString, but was `<unsupported> (<class>)`.

### [INVALID\_CDC\_OPTION](https://docs.databricks.com/gcp/en/error-messages/invalid-cdc-option-error-class.md)

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid Change Data Capture (CDC) option.

For more details see [INVALID\_CDC\_OPTION](https://docs.databricks.com/gcp/en/error-messages/invalid-cdc-option-error-class.md)

### [INVALID\_CHANGELOG\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/invalid-changelog-schema-error-class.md)

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Change Data Capture (CDC) schema returned by connector `<changelogName>` is invalid.

For more details see [INVALID\_CHANGELOG\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/invalid-changelog-schema-error-class.md)

### [INVALID\_CHAR\_VARCHAR\_COLLATION\_METADATA](https://docs.databricks.com/gcp/en/error-messages/invalid-char-varchar-collation-metadata-error-class.md)

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid CHAR/`VARCHAR` collation metadata.

For more details see [INVALID\_CHAR\_VARCHAR\_COLLATION\_METADATA](https://docs.databricks.com/gcp/en/error-messages/invalid-char-varchar-collation-metadata-error-class.md)

### INVALID\_CHECKPOINT\_DIRECTORY

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Cannot read the checkpoint directory `<path>`: expected the partition file `<expectedFileName>` but found `<fileName>`. The partition files must be numbered contiguously from part-00000.

### INVALID\_CIDR\_BLOCK

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The function `<functionName>` received an invalid CIDR block: `<value>`.

### [INVALID\_CLONE\_SESSION\_REQUEST](https://docs.databricks.com/gcp/en/error-messages/invalid-clone-session-request-error-class.md)

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid session clone request.

For more details see [INVALID\_CLONE\_SESSION\_REQUEST](https://docs.databricks.com/gcp/en/error-messages/invalid-clone-session-request-error-class.md)

### INVALID\_COLUMN\_NAME\_AS\_PATH

[SQLSTATE: 46121](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

The datasource `<datasource>` cannot save the column `<columnName>` because its name contains some characters that are not allowed in file paths. Please, use an alias to rename it.

### INVALID\_COLUMN\_OR\_FIELD\_DATA\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column or field `<name>` is of type `<type>` while it's required to be `<expectedType>`.

### [INVALID\_CONF\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-conf-value-error-class.md)

[SQLSTATE: 22022](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value '`<confValue>`' in the config "`<confName>`" is invalid.

For more details see [INVALID\_CONF\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-conf-value-error-class.md)

### INVALID\_CONSTRAINT\_CHARACTERISTICS

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Constraint characteristics \[`<characteristics>`] are duplicated or conflict with each other.

### INVALID\_CORRUPT\_RECORD\_TYPE

[SQLSTATE: 42804](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<columnName>` for corrupt records must have the nullable `STRING` type, but got `<actualType>`.

### INVALID\_CURRENT\_RECIPIENT\_USAGE

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`current_recipient` function can only be used in the `CREATE VIEW` statement or the `ALTER VIEW` statement to define a share only view in Unity Catalog.

### [INVALID\_CURSOR](https://docs.databricks.com/gcp/en/error-messages/invalid-cursor-error-class.md)

[SQLSTATE: HY109](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hy-cli-specific-condition)

The cursor is invalid.

For more details see [INVALID\_CURSOR](https://docs.databricks.com/gcp/en/error-messages/invalid-cursor-error-class.md)

### INVALID\_CURSOR\_DECLARATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cursors must be declared after variable/condition declarations, and before handlers and other statements.

### INVALID\_DATASOURCE\_FORMAT\_FOR\_CONNECTION\_OPTIONS\_INJECTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connection with name `<connectionName>` and type `<connectionType>` does not support the format `<actualFormat>`. Supported format: `<expectedFormat>`.

### INVALID\_DATASOURCE\_OPTION\_OVERRIDE\_ATTEMPT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Option `<optionName>` already exists on connection `<connectionName>` and can not be overridden.

### [INVALID\_DATETIME\_PATTERN](https://docs.databricks.com/gcp/en/error-messages/invalid-datetime-pattern-error-class.md)

[SQLSTATE: 22007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unrecognized datetime pattern: `<pattern>`.

For more details see [INVALID\_DATETIME\_PATTERN](https://docs.databricks.com/gcp/en/error-messages/invalid-datetime-pattern-error-class.md)

### [INVALID\_DBFS\_MOUNT](https://docs.databricks.com/gcp/en/error-messages/invalid-dbfs-mount-error-class.md)

[SQLSTATE: 42KDL](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DBFS Mount can't be accessed.

For more details see [INVALID\_DBFS\_MOUNT](https://docs.databricks.com/gcp/en/error-messages/invalid-dbfs-mount-error-class.md)

### INVALID\_DBSQL\_CONFIG

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<confValue>` is not supported for SQL configuration key `<confKey>`

### INVALID\_DECFLOAT\_ROUND\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<value>` is not a valid `DECFLOAT` rounding mode. Valid modes: `<validModes>`.

### [INVALID\_DEFAULT\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-default-value-error-class.md)

[SQLSTATE: 42623](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to execute `<statement>` command because the destination column or variable `<colName>` has a `DEFAULT` value `<defaultValue>`,

For more details see [INVALID\_DEFAULT\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-default-value-error-class.md)

### [INVALID\_DELIMITER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-delimiter-value-error-class.md)

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value for delimiter.

For more details see [INVALID\_DELIMITER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-delimiter-value-error-class.md)

### INVALID\_DEST\_CATALOG

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Destination catalog of the `SYNC` command must be within Unity Catalog. Found `<catalog>`.

### [INVALID\_DRIVER\_MEMORY](https://docs.databricks.com/gcp/en/error-messages/invalid-driver-memory-error-class.md)

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

Insufficient driver memory:

For more details see [INVALID\_DRIVER\_MEMORY](https://docs.databricks.com/gcp/en/error-messages/invalid-driver-memory-error-class.md)

### INVALID\_DROP\_TABLE\_OPTIONS

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify both `PURGE` and `FORCE` options in `DROP TABLE` command. Use either `PURGE` or `FORCE`, but not both.

### INVALID\_DYNAMIC\_OPTIONS

[SQLSTATE: 42K10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Options passed `<option_list>` are forbidden for foreign table `<table_name>`.

### INVALID\_EMPTY\_LOCATION

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The location name cannot be empty string, but `<location>` was given.

### INVALID\_ENVIRONMENT\_SETTINGS\_DEPENDENCIES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The environment settings dependencies parameter is missing or it couldn't be parsed to a list of strings. Expected format: \["dep1", "dep2"]

### INVALID\_ENVIRONMENT\_SETTINGS\_ENVIRONMENT\_VERSION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

This runtime version does not support an environment version for data sources. Value: `<environmentVersion>`.

### [INVALID\_ERROR\_CONDITION\_DECLARATION](https://docs.databricks.com/gcp/en/error-messages/invalid-error-condition-declaration-error-class.md)

[SQLSTATE: 42K0R](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid condition declaration.

For more details see [INVALID\_ERROR\_CONDITION\_DECLARATION](https://docs.databricks.com/gcp/en/error-messages/invalid-error-condition-declaration-error-class.md)

### INVALID\_ESC

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found an invalid escape string: `<invalidEscape>`. The escape string must contain only one character.

### INVALID\_ESCAPE\_CHAR

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`EscapeChar` should be a string literal of length one, but got `<sqlExpr>`.

### [INVALID\_EXECUTOR\_MEMORY](https://docs.databricks.com/gcp/en/error-messages/invalid-executor-memory-error-class.md)

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

Insufficient executor memory:

For more details see [INVALID\_EXECUTOR\_MEMORY](https://docs.databricks.com/gcp/en/error-messages/invalid-executor-memory-error-class.md)

### INVALID\_EXPLODE\_EMBEDDED\_ARRAY\_SCHEMA

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User specified schema `<schema>` is invalid when the `explodeEmbeddedArray` option is enabled. The schema must either be a variant field, or a variant field plus a corrupt column field.

### INVALID\_EXPRESSION\_ENCODER

[SQLSTATE: 42001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found an invalid expression encoder. Expects an instance of ExpressionEncoder but got `<encoderType>`. For more information consult '`<docroot>`/api/java/index.html?org/apache/spark/sql/Encoder.html'.

### INVALID\_EXPR\_TYPE\_FOR\_QUERY\_EXECUTE\_IMMEDIATE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Expression type must be string type but got `<exprType>`.

### INVALID\_EXTERNAL\_TYPE

[SQLSTATE: 42K0N](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The external type `<externalType>` is not valid for the type `<type>` at the expression `<expr>`.

### INVALID\_EXTERNAL\_VALUE

[SQLSTATE: 42K0N](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The value (`<other>`) of the type (`<otherClass>`) cannot be converted to the `<dataType>` type.

### INVALID\_EXTRACT\_BASE\_FIELD\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Can't extract a value from `<base>`. Need a complex type \[`STRUCT, ARRAY, MAP`] but got `<other>`.

### INVALID\_EXTRACT\_FIELD

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot extract `<field>` from `<expr>`.

### INVALID\_EXTRACT\_FIELD\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Field name should be a non-null string literal, but it's `<extraction>`.

### INVALID\_FIELD\_NAME

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Field name `<fieldName>` is invalid: `<path>` is not a struct.

### [INVALID\_FLOW\_QUERY\_TYPE](https://docs.databricks.com/gcp/en/error-messages/invalid-flow-query-type-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Flow `<flowIdentifier>` returns an invalid relation type.

For more details see [INVALID\_FLOW\_QUERY\_TYPE](https://docs.databricks.com/gcp/en/error-messages/invalid-flow-query-type-error-class.md)

### [INVALID\_FORMAT](https://docs.databricks.com/gcp/en/error-messages/invalid-format-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The format is invalid: `<format>`.

For more details see [INVALID\_FORMAT](https://docs.databricks.com/gcp/en/error-messages/invalid-format-error-class.md)

### INVALID\_FRACTION\_OF\_SECOND

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Valid range for seconds is \[0, 60] (inclusive), but the provided value is `<secAndMicros>`. To avoid this error, use `try_make_timestamp`, which returns `NULL` on error.

If you do not want to use the session default timestamp version of this function, use `try_make_timestamp_ntz` or `try_make_timestamp_ltz`.

### [INVALID\_GET\_DIAGNOSTICS\_USAGE](https://docs.databricks.com/gcp/en/error-messages/invalid-get-diagnostics-usage-error-class.md)

[SQLSTATE: 42612](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid usage of GET `DIAGNOSTICS` statement.

For more details see [INVALID\_GET\_DIAGNOSTICS\_USAGE](https://docs.databricks.com/gcp/en/error-messages/invalid-get-diagnostics-usage-error-class.md)

### INVALID\_GET\_DIAGNOSTICS\_USAGE\_CONDITION\_NUMBER\_MUST\_BE\_ONE

[SQLSTATE: 35000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-35-invalid-condition-number)

Invalid usage of GET `DIAGNOSTICS` statement. The only supported value for a condition number in the GET `DIAGNOSTICS` statement is 1.

### [INVALID\_HANDLE](https://docs.databricks.com/gcp/en/error-messages/invalid-handle-error-class.md)

[SQLSTATE: HY000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hy-cli-specific-condition)

The handle `<handle>` is invalid.

For more details see [INVALID\_HANDLE](https://docs.databricks.com/gcp/en/error-messages/invalid-handle-error-class.md)

### [INVALID\_HANDLER\_DECLARATION](https://docs.databricks.com/gcp/en/error-messages/invalid-handler-declaration-error-class.md)

[SQLSTATE: 42K0Q](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid handler declaration.

For more details see [INVALID\_HANDLER\_DECLARATION](https://docs.databricks.com/gcp/en/error-messages/invalid-handler-declaration-error-class.md)

### INVALID\_HTTP\_REQUEST\_METHOD

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The input parameter: method, value: `<paramValue>` is not a valid parameter for http\_request because it is not a valid HTTP method.

### INVALID\_HTTP\_REQUEST\_PATH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The input parameter: path, value: `<paramValue>` is not a valid parameter for http\_request because path traversal is not allowed.

### INVALID\_IDENTIFIER

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The unquoted identifier `<ident>` is invalid and must be back quoted as: `<ident>`.

Unquoted identifiers can only contain `ASCII` letters ('a' - 'z', 'A' - 'Z'), digits ('0' - '9'), and underbar ('\_').

Unquoted identifiers must also not start with a digit.

Different data sources and meta stores may impose additional restrictions on valid identifiers.

### INVALID\_INDEX\_OF\_ZERO

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The index 0 is invalid. An index shall be either `< 0 or >` 0 (the first element has index 1).

### [INVALID\_INLINE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/invalid-inline-table-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid inline table.

For more details see [INVALID\_INLINE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/invalid-inline-table-error-class.md)

### [INVALID\_INTERVAL\_FORMAT](https://docs.databricks.com/gcp/en/error-messages/invalid-interval-format-error-class.md)

[SQLSTATE: 22006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing '`<input>`' to interval. Please ensure that the value provided is in a valid format for defining an interval. You can reference the documentation for the correct format.

For more details see [INVALID\_INTERVAL\_FORMAT](https://docs.databricks.com/gcp/en/error-messages/invalid-interval-format-error-class.md)

### INVALID\_INTERVAL\_WITH\_MICROSECONDS\_ADDITION

[SQLSTATE: 22006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot add an interval to a date because its microseconds part is not 0. To resolve this, cast the input date to a timestamp, which supports the addition of intervals with non-zero microseconds.

### INVALID\_IP\_ADDRESS

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The function `<functionName>` received an invalid IP address: `<value>`.

### INVALID\_IP\_ADDRESS\_OR\_CIDR\_BLOCK

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The function `<functionName>` received an invalid IP address or CIDR block: `<value>`.

### INVALID\_JAVA\_IDENTIFIER\_AS\_FIELD\_NAME

[SQLSTATE: 46121](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-46-java-ddl-1)

`<fieldName>` is not a valid identifier of Java and cannot be used as field name

`<walkedTypePath>`.

### INVALID\_JDBC\_CONNECTION\_OPTION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The option `<optionKey>` is not a valid parameter for this jdbc connection.

### INVALID\_JDBC\_CONNECTION\_OPTION\_VALUE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The option `<optionKey>` with a value `<optionValue>` is not a valid option for this jdbc connection.

### INVALID\_JDBC\_PARTITION\_BOUND

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot parse the value `<value>` for JDBC data source option `<option>` as `<dataType>`.

### INVALID\_JOIN\_TYPE\_FOR\_JOINWITH

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid join type in joinWith: `<joinType>`.

### INVALID\_JSON\_DATA\_TYPE

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to convert the `JSON` string '`<invalidType>`' to a data type. Please enter a valid data type.

### INVALID\_JSON\_DATA\_TYPE\_FOR\_COLLATIONS

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Collations can only be applied to string types, but the `JSON` data type is `<jsonType>`.

### INVALID\_JSON\_DATA\_TYPE\_FOR\_FILE

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Expected 'file' type at file path '`<fieldPath>`', but the `JSON` data type is `<jsonType>`.

### INVALID\_JSON\_RECORD\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Detected an invalid type of a `JSON` record while inferring a common schema in the mode `<failFastMode>`. Expected a `STRUCT` type, but found `<invalidType>`.

### INVALID\_JSON\_ROOT\_FIELD

[SQLSTATE: 22032](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot convert `JSON` root field to target Spark type.

### INVALID\_JSON\_SCHEMA\_MAP\_TYPE

[SQLSTATE: 22032](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Input schema `<jsonSchema>` can only contain `STRING` as a key type for a `MAP`.

### INVALID\_KRYO\_SERIALIZER\_BUFFER\_SIZE

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

The value of the config "`<bufferSizeConfKey>`" must be less than 2048 MiB, but got `<bufferSizeConfValue>` MiB.

### INVALID\_KRYO\_SERIALIZER\_NO\_DATA

[SQLSTATE: 22002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The object '`<obj>`' is invalid or malformed to `<serdeOp>` using `<serdeClass>`.

### [INVALID\_LABEL\_USAGE](https://docs.databricks.com/gcp/en/error-messages/invalid-label-usage-error-class.md)

[SQLSTATE: 42K0L](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The usage of the label `<labelName>` is invalid.

For more details see [INVALID\_LABEL\_USAGE](https://docs.databricks.com/gcp/en/error-messages/invalid-label-usage-error-class.md)

### [INVALID\_LAMBDA\_FUNCTION\_CALL](https://docs.databricks.com/gcp/en/error-messages/invalid-lambda-function-call-error-class.md)

[SQLSTATE: 42K0D](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid lambda function call.

For more details see [INVALID\_LAMBDA\_FUNCTION\_CALL](https://docs.databricks.com/gcp/en/error-messages/invalid-lambda-function-call-error-class.md)

### INVALID\_LATERAL\_JOIN\_TYPE

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<joinType>` JOIN with `LATERAL` correlation is not allowed because an `OUTER` subquery cannot correlate to its join partner. Remove the `LATERAL` correlation or use an `INNER` JOIN, or LEFT `OUTER` JOIN instead.

### [INVALID\_LIMIT\_LIKE\_EXPRESSION](https://docs.databricks.com/gcp/en/error-messages/invalid-limit-like-expression-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The limit like expression `<expr>` is invalid.

For more details see [INVALID\_LIMIT\_LIKE\_EXPRESSION](https://docs.databricks.com/gcp/en/error-messages/invalid-limit-like-expression-error-class.md)

### [INVALID\_LINE\_SEPARATOR](https://docs.databricks.com/gcp/en/error-messages/invalid-line-separator-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid line separator configuration.

For more details see [INVALID\_LINE\_SEPARATOR](https://docs.databricks.com/gcp/en/error-messages/invalid-line-separator-error-class.md)

### [INVALID\_LOCATION\_URI](https://docs.databricks.com/gcp/en/error-messages/invalid-location-uri-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid location URI `<location>` in the Hive Metastore.

For more details see [INVALID\_LOCATION\_URI](https://docs.databricks.com/gcp/en/error-messages/invalid-location-uri-error-class.md)

### [INVALID\_LOG\_VERSION](https://docs.databricks.com/gcp/en/error-messages/invalid-log-version-error-class.md)

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

UnsupportedLogVersion.

For more details see [INVALID\_LOG\_VERSION](https://docs.databricks.com/gcp/en/error-messages/invalid-log-version-error-class.md)

### INVALID\_METRIC\_VIEW\_YAML

[SQLSTATE: 42K0L](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to parse metric view YAML: `<message>`

### INVALID\_NAME\_IN\_USE\_COMMAND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid name '`<name>`' in `<command>` command. Reason: `<reason>`

### INVALID\_NON\_ABSOLUTE\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The provided non absolute path `<path>` can not be qualified. Please update the path to be a valid dbfs mount location.

### INVALID\_NON\_DETERMINISTIC\_EXPRESSIONS

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The operator expects a deterministic expression, but the actual expression is `<sqlExprs>`.

### INVALID\_NUMERIC\_LITERAL\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Numeric literal `<rawStrippedQualifier>` is outside the valid range for `<typeName>` with minimum value of `<minValue>` and maximum value of `<maxValue>`. Please adjust the value accordingly.

### [INVALID\_OBSERVED\_METRICS](https://docs.databricks.com/gcp/en/error-messages/invalid-observed-metrics-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid observed metrics.

For more details see [INVALID\_OBSERVED\_METRICS](https://docs.databricks.com/gcp/en/error-messages/invalid-observed-metrics-error-class.md)

### [INVALID\_OPTIONS](https://docs.databricks.com/gcp/en/error-messages/invalid-options-error-class.md)

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid options:

For more details see [INVALID\_OPTIONS](https://docs.databricks.com/gcp/en/error-messages/invalid-options-error-class.md)

### INVALID\_PANDAS\_UDF\_PLACEMENT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The group aggregate pandas UDF `<functionList>` cannot be invoked together with as other, non-pandas aggregate functions.

### [INVALID\_PARAMETER\_MARKER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-parameter-marker-value-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

An invalid parameter mapping was provided:

For more details see [INVALID\_PARAMETER\_MARKER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-parameter-marker-value-error-class.md)

### [INVALID\_PARAMETER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-parameter-value-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value of parameter(s) `<parameter>` in `<functionName>` is invalid:

For more details see [INVALID\_PARAMETER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-parameter-value-error-class.md)

### INVALID\_PARTITION\_COLUMN\_DATA\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot use `<type>` for partition column.

### [INVALID\_PARTITION\_OPERATION](https://docs.databricks.com/gcp/en/error-messages/invalid-partition-operation-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The partition command is invalid.

For more details see [INVALID\_PARTITION\_OPERATION](https://docs.databricks.com/gcp/en/error-messages/invalid-partition-operation-error-class.md)

### INVALID\_PARTITION\_SPEC

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Partition spec is invalid. `<details>`.

### INVALID\_PARTITION\_VALUE

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to cast value `<value>` to data type `<dataType>` for partition column `<columnName>`. Ensure the value matches the expected data type for this partition column.

### INVALID\_PATH\_STRING

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path '`<path>`' is not a valid file system path. Reason: `<reason>`

### INVALID\_PIPELINE\_ID

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline id `<pipelineId>` is not valid.

A pipeline id should be a UUID in the format of 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

### INVALID\_PRIVILEGE

[SQLSTATE: 42852](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Privilege `<privilege>` is not valid for `<securable>`.

### INVALID\_PROPERTY\_KEY

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<key>` is an invalid property key, please use quotes, for example, `SET <key>=<value>`.

### INVALID\_PROPERTY\_VALUE

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<value>` is an invalid property value, please use quotes, for example, `SET <key>=<value>`

### [INVALID\_PYTHON\_WORKER\_ENV\_CONF](https://docs.databricks.com/gcp/en/error-messages/invalid-python-worker-env-conf-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Python worker environment carried by the config "`<confName>`" is invalid.

For more details see [INVALID\_PYTHON\_WORKER\_ENV\_CONF](https://docs.databricks.com/gcp/en/error-messages/invalid-python-worker-env-conf-error-class.md)

### INVALID\_QUALIFIED\_COLUMN\_NAME

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column name `<columnName>` is invalid because it is not qualified with a table name or consists of more than 4 name parts.

### INVALID\_QUERY\_MIXED\_QUERY\_PARAMETERS

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Parameterized query must either use positional, or named parameters, but not both.

### INVALID\_REBALANCE\_BY\_SIZE\_HINT\_PARAMETER

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The first parameter for `<hintName>` must be a positive byte-size literal, but got `<advisoryPartitionSize>`.

### INVALID\_RECURSIVE\_CTE

[SQLSTATE: 42836](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid recursive definition found. Recursive queries must contain an `UNION` or an `UNION ALL` statement with 2 children. The first child needs to be the anchor term without any recursive references. Any top level inner CTE must not contain self references.

### [INVALID\_RECURSIVE\_REFERENCE](https://docs.databricks.com/gcp/en/error-messages/invalid-recursive-reference-error-class.md)

[SQLSTATE: 42836](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid recursive reference found inside `WITH RECURSIVE` clause.

For more details see [INVALID\_RECURSIVE\_REFERENCE](https://docs.databricks.com/gcp/en/error-messages/invalid-recursive-reference-error-class.md)

### INVALID\_REGEXP\_REPLACE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Could not perform regexp\_replace for source = "`<source>`", pattern = "`<pattern>`", replacement = "`<replacement>`" and position = `<position>`.

### INVALID\_RESETTABLE\_DEPENDENCY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Tables `<upstreamResettableTables>` are resettable but have a non-resettable downstream dependency '`<downstreamTable>`'. `reset` will fail as Spark Streaming does not support deleted source data. You can either remove the `<resetAllowedKey>`=false property from '`<downstreamTable>`' or add it to its upstream dependencies.

### INVALID\_RESET\_COMMAND\_FORMAT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Expected format is '`RESET`' or '`RESET` key'. If you want to include special characters in key, please use quotes, for example, `RESET key`.

### INVALID\_RESIGNAL\_USAGE

[SQLSTATE: 0K000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0k-resignal-when-handler-not-active)

`RESIGNAL` when handler not active. `RESIGNAL` statement can only be used inside Exception Handler body.

### INVALID\_S3\_COPY\_CREDENTIALS

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`COPY INTO` credentials must include `AWS_ACCESS_KEY, AWS_SECRET_KEY`, and `AWS_SESSION_TOKEN`.

### INVALID\_SAVE\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The specified save mode `<mode>` is invalid. Valid save modes include "append", "overwrite", "ignore", "error", "errorifexists", and "default".

### [INVALID\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/invalid-schema-error-class.md)

[SQLSTATE: 42K07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The input schema `<inputSchema>` is not a valid schema string.

For more details see [INVALID\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/invalid-schema-error-class.md)

### INVALID\_SCHEMA\_OR\_RELATION\_NAME

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<name>` is not a valid name for tables/schemas. Valid names only contain alphabet characters, numbers and \_.

### INVALID\_SCHEMA\_TYPE\_NON\_STRUCT

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid schema type. Expect a struct type, but got `<dataType>`.

### INVALID\_SCHEME

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unity catalog does not support `<name>` as the default file scheme.

### [INVALID\_SECRET\_LOOKUP](https://docs.databricks.com/gcp/en/error-messages/invalid-secret-lookup-error-class.md)

[SQLSTATE: 22531](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid secret lookup:

For more details see [INVALID\_SECRET\_LOOKUP](https://docs.databricks.com/gcp/en/error-messages/invalid-secret-lookup-error-class.md)

### INVALID\_SET\_SYNTAX

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Expected format is '`SET`', '`SET` key', or '`SET` key=value'. If you want to include special characters in key, or include semicolon in value, please use backquotes, for example, `SET key`=`value`.

### INVALID\_SHARED\_ALIAS\_NAME

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<sharedObjectType>` alias name must be of the form "schema.name".

### INVALID\_SINGLE\_VARIANT\_COLUMN

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User specified schema `<schema>` is invalid when the `singleVariantColumn` option is enabled. The schema must either be a variant field, or a variant field plus a corrupt column field.

### INVALID\_SOURCE\_CATALOG

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source catalog must not be within Unity Catalog for the `SYNC` command. Found `<catalog>`.

### INVALID\_SOURCE\_FOR\_FILTERING\_SERVICE\_MERGE\_COMMAND

[SQLSTATE: 42KDH](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The source of filtering service `MERGE` operation can only contain projections and filters.

Please adjust the `MERGE` command or use a staging table as the source instead.

`<stmt>`

### [INVALID\_SPARK\_CONFIG](https://docs.databricks.com/gcp/en/error-messages/invalid-spark-config-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid Spark config:

For more details see [INVALID\_SPARK\_CONFIG](https://docs.databricks.com/gcp/en/error-messages/invalid-spark-config-error-class.md)

### INVALID\_SQLSTATE

[SQLSTATE: 428B3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid `SQLSTATE` value: '`<sqlState>`'. `SQLSTATE` must be exactly 5 characters long and contain only A-Z and 0-9. `SQLSTATE` must not start with '00', '01', or 'XX'.

### INVALID\_SQL\_ARG

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The argument `<name>` of `sql()` is invalid. Consider to replace it either by a SQL literal or by collection constructor functions such as `map(), array(), struct()`.

### INVALID\_SQL\_FUNCTION\_DATA\_ACCESS

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a SQL function with `CONTAINS` SQL that accesses a table/view or a SQL function that reads SQL data. Please use `READS` SQL DATA instead.

### INVALID\_SQL\_PATH\_SCHEMA\_REFERENCE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid schema reference in `SET` PATH: `<qualifiedName>`. Use at least two name parts (catalog.schema); multi-level namespaces are allowed.

### [INVALID\_SQL\_SYNTAX](https://docs.databricks.com/gcp/en/error-messages/invalid-sql-syntax-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid SQL syntax:

For more details see [INVALID\_SQL\_SYNTAX](https://docs.databricks.com/gcp/en/error-messages/invalid-sql-syntax-error-class.md)

### INVALID\_STAGING\_PATH\_IN\_STAGING\_ACCESS\_QUERY

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid staging path in staging `<operation>` query: `<path>`

### INVALID\_STATEMENT\_FOR\_EXECUTE\_INTO

[SQLSTATE: 07501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-07-dynamic-sql-error)

The `INTO` clause of `EXECUTE IMMEDIATE` is only valid for queries but the given statement is not a query: `<sqlString>`.

### INVALID\_STATEMENT\_OR\_CLAUSE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The statement or clause: `<operation>` is not valid.

### [INVALID\_STATEMENT\_TIMEOUT](https://docs.databricks.com/gcp/en/error-messages/invalid-statement-timeout-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid value for statement\_timeout:

For more details see [INVALID\_STATEMENT\_TIMEOUT](https://docs.databricks.com/gcp/en/error-messages/invalid-statement-timeout-error-class.md)

### INVALID\_STREAMING\_QUERY\_ID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The user-specified streaming query ID '`<queryId>`' is not a valid UUID.

### INVALID\_STREAMING\_RATE\_SOURCE\_VERSION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid version for rate source: `<version>`. The version must be either 1 or 2.

### INVALID\_STREAMING\_REAL\_TIME\_MODE\_TRIGGER\_INTERVAL

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The real-time trigger interval is set to `<interval>` ms. This is less than the `<minBatchDuration>` ms minimum specified by spark.sql.streaming.realTimeMode.minBatchDuration.

### INVALID\_STREAMING\_REAL\_TIME\_MODE\_TRIGGER\_OVERRIDE\_INTERVAL

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The real-time trigger's checkpoint interval of `<interval>` could not be parsed. Please verify you have passed a positive integer.

### [INVALID\_SUBQUERY\_EXPRESSION](https://docs.databricks.com/gcp/en/error-messages/invalid-subquery-expression-error-class.md)

[SQLSTATE: 42823](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid subquery:

For more details see [INVALID\_SUBQUERY\_EXPRESSION](https://docs.databricks.com/gcp/en/error-messages/invalid-subquery-expression-error-class.md)

### [INVALID\_SYSTEM\_BUILTIN\_TIMERANGE](https://docs.databricks.com/gcp/en/error-messages/invalid-system-builtin-timerange-error-class.md)

[SQLSTATE: 42K0M](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to change the `SYSTEM`.`BUILTIN`.`TIMERANGE` variable.

For more details see [INVALID\_SYSTEM\_BUILTIN\_TIMERANGE](https://docs.databricks.com/gcp/en/error-messages/invalid-system-builtin-timerange-error-class.md)

### INVALID\_TABLESAMPLE\_FRACTION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Sampling fraction (`<fraction>`) must be on interval \[0, 1].

### INVALID\_TARGET\_FOR\_ALTER\_COMMAND

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER <commandTableType>` `...` `<command>` does not support `<tableName>`. Please use `ALTER <targetTableType>` `...` `<command>` instead.

### INVALID\_TARGET\_FOR\_SET\_TBLPROPERTIES\_COMMAND

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER <commandTableType>` `...` `SET TBLPROPERTIES` does not support `<tableName>`. Please use `ALTER <targetTableType>` `...` `SET TBLPROPERTIES` instead.

### INVALID\_TEMP\_OBJ\_QUALIFIER

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Temporary `<objectType> <objectName>` cannot be qualified with `<qualifier>`. Temporary objects can only be qualified with `SESSION` or `SYSTEM`.`SESSION`.

### INVALID\_TEMP\_OBJ\_REFERENCE

[SQLSTATE: 42K0F](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the persistent object `<objName>` of the type `<obj>` because it references to the temporary object `<tempObjName>` of the type `<tempObj>`. Please make the temporary object `<tempObjName>` persistent, or make the persistent object `<objName>` temporary.

### INVALID\_TIMESTAMP\_FORMAT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The provided timestamp `<timestamp>` is invalid: it doesn't match the expected syntax `<format>`.

### INVALID\_TIMESTAMP\_LITERAL\_PRECISION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The timestamp literal `<value>` has more than 9 fractional-second digits. The maximum supported fractional-second precision of a timestamp literal is 9 (nanoseconds).

### INVALID\_TIMESTAMP\_PRECISION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The seconds precision `<precision>` of `<type>` is invalid. Expected an integer in \[7, 9] for nanosecond precision; use precision 6 or parameterless `<type>` for the standard microsecond type.

### INVALID\_TIMEZONE

[SQLSTATE: 22009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The timezone: `<timeZone>` is invalid. The timezone must be either a region-based zone ID or a zone offset. Region IDs must have the form 'area/city', such as 'America/Los\_Angeles'. Zone offsets must be in the format '(+|-)HH', '(+|-)HH:mm’ or '(+|-)HH\:mm:ss', e.g '-08' , '+01:00' or '-13:33:33', and must be in the range from -18:00 to +18:00. 'Z' and 'UTC' are accepted as synonyms for '+00:00'.

### INVALID\_TIME\_LITERAL\_PRECISION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The time literal `<value>` has more than 9 fractional-second digits. The maximum supported fractional-second precision of a time literal is 9 (nanoseconds).

### INVALID\_TIME\_TRAVEL\_SPEC

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify both version and timestamp when time travelling the table.

### [INVALID\_TIME\_TRAVEL\_TIMESTAMP\_EXPR](https://docs.databricks.com/gcp/en/error-messages/invalid-time-travel-timestamp-expr-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The time travel timestamp expression `<expr>` is invalid.

For more details see [INVALID\_TIME\_TRAVEL\_TIMESTAMP\_EXPR](https://docs.databricks.com/gcp/en/error-messages/invalid-time-travel-timestamp-expr-error-class.md)

### INVALID\_TIME\_TRAVEL\_TIMESTAMP\_FORMAT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The provided timestamp `<timestamp>` doesn't match the expected syntax `<format>`.

### INVALID\_TYPED\_LITERAL

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The value of the typed literal `<valueType>` is invalid: `<value>`.

### INVALID\_UDF\_IMPLEMENTATION

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Function `<funcName>` does not implement a ScalarFunction or AggregateFunction.

### INVALID\_UDF\_PARAMETER\_PLACEHOLDER

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid Python UDF transpiled-expression parameter placeholder: `<placeholder>`. Placeholders must be of the form `_udf_param_N` where N is a non-negative integer index into the UDF's positional arguments. This is an internal error in the Python UDF transpiler.

### INVALID\_UDF\_PARAMETER\_PLACEHOLDER\_INDEX

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Python UDF transpiled-expression parameter placeholder `_udf_param_<index>` references position `<index>` but the UDF only has `<numParams>` argument(s). This is an internal error in the Python UDF transpiler.

### INVALID\_UPGRADE\_SYNTAX

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<command> <supportedOrNot>` the source table is in Hive Metastore and the destination table is in Unity Catalog.

### INVALID\_URL

[SQLSTATE: 22P02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The url is invalid: `<url>`. Use `try_parse_url` to tolerate invalid URL and return `NULL` instead.

### INVALID\_USAGE\_OF\_STAR\_OR\_REGEX

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid usage of `<elem>` in `<prettyName>`.

### INVALID\_USAGE\_OF\_STAR\_WITH\_TABLE\_IDENTIFIER\_IN\_COUNT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

count(`<tableName>`.\*) is not allowed. Use count(\*) or expand the columns manually, for example, count(col1, col2).

### INVALID\_UTF8\_STRING

[SQLSTATE: 22029](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid UTF8 byte sequence found in string: `<str>`.

### INVALID\_UUID

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Input `<uuidInput>` is not a valid UUID.

The UUID should be in the format of 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

Please check the format of the UUID.

### [INVALID\_VARIABLE\_DECLARATION](https://docs.databricks.com/gcp/en/error-messages/invalid-variable-declaration-error-class.md)

[SQLSTATE: 42K0M](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid variable declaration.

For more details see [INVALID\_VARIABLE\_DECLARATION](https://docs.databricks.com/gcp/en/error-messages/invalid-variable-declaration-error-class.md)

### INVALID\_VARIANT\_CAST

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The variant value `<value>` cannot be cast into `<dataType>`. Please use `try_variant_get` instead.

### [INVALID\_VARIANT\_FROM\_PARQUET](https://docs.databricks.com/gcp/en/error-messages/invalid-variant-from-parquet-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid variant.

For more details see [INVALID\_VARIANT\_FROM\_PARQUET](https://docs.databricks.com/gcp/en/error-messages/invalid-variant-from-parquet-error-class.md)

### INVALID\_VARIANT\_GET\_PATH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path `<path>` is not a valid variant extraction path in `<functionName>`.

A valid path should start with `$` and is followed by zero or more segments like `[123], .name, ['name']`, or `["name"]`.

### INVALID\_VARIANT\_PATH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path '`<path>`' is not a valid `<functionName>` target.

A valid path should start with `$` and is followed by segments like `[123], .name, ['name']`, or `["name"]`.

### INVALID\_VARIANT\_SHREDDING\_SCHEMA

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The schema `<schema>` is not a valid variant shredding schema.

### INVALID\_VECTOR\_NORM\_DEGREE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

For the `<functionName>` function, degree must be 1.0, 2.0, or float('inf'), but got `<degree>`.

### INVALID\_VOLUME\_ACCESS

[SQLSTATE: 42KDO](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Entry must be a full volume path. Path '`<path>`' is incomplete. Expected format: /Volumes/\{catalog}/\{schema}/\{volume}.

### INVALID\_WHERE\_CONDITION

[SQLSTATE: 42903](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `WHERE` condition `<condition>` contains invalid expressions: `<expressionList>`.

Rewrite the query to avoid window functions, aggregate functions, and generator functions in the `WHERE` clause.

### INVALID\_WINDOW\_SPEC\_FOR\_AGGREGATION\_FUNC

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify `ORDER BY` or a window frame for `<aggFunc>`.

### [INVALID\_WITHIN\_GROUP\_EXPRESSION](https://docs.databricks.com/gcp/en/error-messages/invalid-within-group-expression-error-class.md)

[SQLSTATE: 42K0K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid function `<funcName>` with `WITHIN GROUP`.

For more details see [INVALID\_WITHIN\_GROUP\_EXPRESSION](https://docs.databricks.com/gcp/en/error-messages/invalid-within-group-expression-error-class.md)

### INVALID\_WRITER\_COMMIT\_MESSAGE

[SQLSTATE: 42KDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The data source writer has generated an invalid number of commit messages. Expected exactly one writer commit message from each task, but received `<detail>`.

### [INVALID\_WRITE\_DISTRIBUTION](https://docs.databricks.com/gcp/en/error-messages/invalid-write-distribution-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The requested write distribution is invalid.

For more details see [INVALID\_WRITE\_DISTRIBUTION](https://docs.databricks.com/gcp/en/error-messages/invalid-write-distribution-error-class.md)

### INVALID\_XML\_SCHEMA\_MAP\_TYPE

[SQLSTATE: 2200N](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Input schema `<xmlSchema>` can only contain `STRING` as a key type for a `MAP`.

### [IRC\_CREDENTIAL\_VENDING\_ERROR](https://docs.databricks.com/gcp/en/error-messages/irc-credential-vending-error-error-class.md)

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

There was an error connecting to the IRC host, unable to vend credentials for table `<tableIdentifier>`.

For more details see [IRC\_CREDENTIAL\_VENDING\_ERROR](https://docs.databricks.com/gcp/en/error-messages/irc-credential-vending-error-error-class.md)

### ISOLATED\_COMMAND\_FAILURE

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to execute `<command>`. Command output:

`<output>`

### ISOLATED\_COMMAND\_UNKNOWN\_FAILURE

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to execute `<command>`.

### [ISOLATION\_ENVIRONMENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/isolation-environment-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to install environment dependencies for `<name>` due to a system error.

For more details see [ISOLATION\_ENVIRONMENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/isolation-environment-error-error-class.md)

### [ISOLATION\_ENVIRONMENT\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/isolation-environment-user-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to install environment dependencies for `<name>`.

For more details see [ISOLATION\_ENVIRONMENT\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/isolation-environment-user-error-error-class.md)

### [ISOLATION\_STARTUP\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/isolation-startup-failure-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to start isolated execution environment.

For more details see [ISOLATION\_STARTUP\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/isolation-startup-failure-error-class.md)

### JDBC\_DRIVER\_NOT\_FOUND

[SQLSTATE: HV000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hv-fdw-specific-condition)

Could not find the JDBC driver class `<className>`. Verify that the driver JAR is properly installed and the correct driver class name is specified.

### [JDBC\_EXTERNAL\_ENGINE\_SYNTAX\_ERROR](https://docs.databricks.com/gcp/en/error-messages/jdbc-external-engine-syntax-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

JDBC external engine syntax error. The error was caused by the query `<jdbcQuery>`. External engine `SQLSTATE`: `<externalEngineSqlState>`. `<externalEngineError>`.

For more details see [JDBC\_EXTERNAL\_ENGINE\_SYNTAX\_ERROR](https://docs.databricks.com/gcp/en/error-messages/jdbc-external-engine-syntax-error-error-class.md)

### JDBC\_OBJECT\_NOT\_SELECTABLE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The JDBC object `<objectName>` cannot be read as a table or view.

### JDBC\_TABLE\_AND\_QUERY\_BOTH\_SPECIFIED

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Both '`<jdbcTableName>`' and '`<jdbcQueryString>`' can not be specified at the same time.

### JOIN\_CONDITION\_IS\_NOT\_BOOLEAN\_TYPE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The join condition `<joinCondition>` has the invalid type `<conditionType>`, expected "`BOOLEAN`".

### [KAFKA\_DATA\_LOSS](https://docs.databricks.com/gcp/en/error-messages/kafka-data-loss-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Some data may have been lost because they are not available in Kafka any more;

either the data was aged out by Kafka or the topic may have been deleted before all the data in the

topic was processed.

If you don't want your streaming query to fail on such cases, set the source option failOnDataLoss to false.

Reason:

For more details see [KAFKA\_DATA\_LOSS](https://docs.databricks.com/gcp/en/error-messages/kafka-data-loss-error-class.md)

### KAFKA\_DATA\_SOURCE\_NOT\_ENABLED

[SQLSTATE: 42K02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to find data source: `<provider>`. Please deploy the application as per the deployment section of Structured Streaming + Kafka Integration Guide.

### KINESIS\_COULD\_NOT\_READ\_SHARD\_UNTIL\_END\_OFFSET

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Could not read until the desired sequence number `<endSeqNum>` for shard `<shardId>` in

kinesis stream `<stream>` with consumer mode `<consumerMode>`. The query will fail due to

potential data loss. The last read record was at sequence number `<lastSeqNum>`.

This can happen if the data with endSeqNum has already been aged out, or the Kinesis stream was

deleted and reconstructed with the same name. The failure behavior can be overridden

by setting the failOnDataLoss option to false.

### KINESIS\_EFO\_CONSUMER\_NOT\_FOUND

[SQLSTATE: 51000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-51-invalid-application-state)

For kinesis stream `<streamId>`, the previously registered EFO consumer `<consumerId>` of the stream has been deleted.

Restart the query so that a new consumer will be registered.

### KINESIS\_EFO\_SUBSCRIBE\_FAILED

[SQLSTATE: 51000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-51-invalid-application-state)

Failed to subscribe to Kinesis shard `<shard>` for consumer `<consumerId>`.

### KINESIS\_EFO\_SUBSCRIBE\_LIMIT\_EXCEEDED

[SQLSTATE: 51000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-51-invalid-application-state)

For shard `<shard>` and consumer `<consumerId>`, another subscribeToShard call was within 5 seconds. Restart the query after 5 seconds or more.

### KINESIS\_EFO\_SUBSCRIBE\_SDK\_CLIENT\_ERROR

[SQLSTATE: 51000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-51-invalid-application-state)

The AWS Kinesis client could not subscribe to shard `<shard>` for consumer `<consumerId>`. Lower shardsPerTask or disable reuseKinesisClient.

### KINESIS\_FETCHED\_SHARD\_LESS\_THAN\_TRACKED\_SHARD

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The minimum fetched shardId from Kinesis (`<fetchedShardId>`)

is less than the minimum tracked shardId (`<trackedShardId>`).

This is unexpected and occurs when a Kinesis stream is deleted and recreated with the same name,

and a streaming query using this Kinesis stream is restarted using an existing checkpoint location.

Restart the streaming query with a new checkpoint location, or create a stream with a new name.

### KINESIS\_FETCH\_TIMEOUT

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Reading from Kinesis stream(s) `<streams>` timed out after `<timeoutMs>` milliseconds.

### KINESIS\_POLLING\_MODE\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Kinesis polling mode is unsupported.

### KINESIS\_RECORD\_SEQ\_NUMBER\_ORDER\_VIOLATION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

For shard `<shard>`, the last record read from Kinesis in previous fetches has sequence number `<lastSeqNum>`,

which is greater than the record read in current fetch with sequence number `<recordSeqNum>`.

This is unexpected and can happen when the start position of retry or next fetch is incorrectly initialized, and may result in duplicate records downstream.

### KINESIS\_SOURCE\_MUST\_BE\_IN\_EFO\_MODE\_TO\_CONFIGURE\_CONSUMERS

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

To read from Kinesis Streams with consumer configurations (`consumerName, consumerNamePrefix`, or `registeredConsumerId`), `consumerMode` must be `efo`.

### KINESIS\_SOURCE\_MUST\_SPECIFY\_REGISTERED\_CONSUMER\_ID\_AND\_TYPE

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

To read from Kinesis Streams with registered consumers, you must specify both the `registeredConsumerId` and `registeredConsumerIdType` options.

### KINESIS\_SOURCE\_MUST\_SPECIFY\_STREAM\_NAMES\_OR\_ARNS

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

To read from Kinesis Streams, you must configure either (but not both) of the `streamName` or `streamARN` options as a comma-separated list of stream names/ARNs.

### KINESIS\_SOURCE\_NO\_CONSUMER\_OPTIONS\_WITH\_REGISTERED\_CONSUMERS

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

To read from Kinesis Streams with registered consumers, do not configure `consumerName` or `consumerNamePrefix` options as they will not take effect.

### KINESIS\_SOURCE\_REGISTERED\_CONSUMER\_ID\_COUNT\_MISMATCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The number of registered consumer ids should be equal to the number of Kinesis streams but got `<numConsumerIds>` consumer ids and `<numStreams>` streams.

### KINESIS\_SOURCE\_REGISTERED\_CONSUMER\_NOT\_FOUND

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The registered consumer `<consumerId>` provided cannot be found for streamARN `<streamARN>`. Verify that you have registered the consumer or do not provide the `registeredConsumerId` option.

### KINESIS\_SOURCE\_REGISTERED\_CONSUMER\_TYPE\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The registered consumer type `<consumerType>` is invalid. It must be either `name` or `ARN`.

### KINESIS\_SOURCE\_STREAMS\_REMOVED\_ON\_RESTART

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

On restart, the query found checkpointed offsets for streams `<removedStreams>` that are no longer configured in `streamName` or `streamARN`. Removing streams can cause data loss because their checkpointed offsets are discarded and unread records may be skipped. Add the streams back, or set `failOnDataLoss` to `false` to discard their offsets and continue with the remaining configured streams.

### KINESIS\_SOURCE\_STREAM\_IDENTIFIER\_TYPE\_MISMATCH

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot restart query from checkpoint created with `<checkpointType>` using `<currentType>`. Continue using `<checkpointType>` or start from a fresh checkpoint location.

### KLL\_INVALID\_INPUT\_SKETCH\_BUFFER

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`; only valid KLL sketch buffers are supported as inputs (such as those produced by the `kll_sketch_agg` function).

### KLL\_SKETCH\_INVALID\_QUANTILE\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

For function `<functionName>`, the quantile value must be between 0.0 and 1.0 (inclusive).

### KLL\_SKETCH\_K\_MUST\_BE\_CONSTANT

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

For function `<functionName>`, the k parameter must be a constant value, but got a non-constant expression.

### KLL\_SKETCH\_K\_OUT\_OF\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

For function `<functionName>`, the k parameter must be between 8 and 65535 (inclusive), but got `<k>`.

### KRYO\_BUFFER\_OVERFLOW

[SQLSTATE: 54006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Kryo serialization failed: `<exceptionMsg>`. To avoid this, increase "`<bufferSizeConfKey>`" value.

### LABELS\_MISMATCH

[SQLSTATE: 42K0L](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Begin label `<beginLabel>` does not match the end label `<endLabel>`.

### LABEL\_OR\_FOR\_VARIABLE\_ALREADY\_EXISTS

[SQLSTATE: 42K0L](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The label or `FOR` variable `<label>` already exists. Choose another name or rename the existing one.

### LABEL\_OR\_FOR\_VARIABLE\_NAME\_FORBIDDEN

[SQLSTATE: 42K0L](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The label or `FOR` variable name `<label>` is forbidden.

### LAKEBASE\_LOOKUP\_MULTIPLE\_ROWS\_MATCHED

[SQLSTATE: 21000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

A Lakebase lookup matched more than one row, but the key must match at most one row. Key: `<key>`, Query: `<query>`

### LAKEBASE\_LOOKUP\_UNSUPPORTED\_OUTSIDE\_PROJECTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

lakebaseLookup() is only supported in the `SELECT` list / projection clause.

### LAKEBASE\_TOTABLE\_OPTION\_CONFLICT

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Options \[`<conflictingOptions>`] conflict with values derived from the catalog identifier when writing to a Lakebase table via toTable().

### LAKEBASE\_TOTABLE\_REQUIRES\_THREE\_PART\_NAME

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Writing to a Lakebase table requires a three-part name 'catalog.schema.table', but got '`<tableName>`'.

### LAKEBASE\_UNSUPPORTED\_FORMAT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Writing to Lakebase via format("`<format>`") is not a supported entry point. Use df.writeStream.format("postgresql") or df.writeStream.toTable("catalog.schema.table") instead.

### [LAKEHOUSE\_FEDERATION\_DATA\_SOURCE\_REQUIRES\_NEWER\_DBR\_VERSION](https://docs.databricks.com/gcp/en/error-messages/lakehouse-federation-data-source-requires-newer-dbr-version-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Lakehouse federation data source '`<provider>`' requires newer Databricks Runtime version.

For more details see [LAKEHOUSE\_FEDERATION\_DATA\_SOURCE\_REQUIRES\_NEWER\_DBR\_VERSION](https://docs.databricks.com/gcp/en/error-messages/lakehouse-federation-data-source-requires-newer-dbr-version-error-class.md)

### LATERAL\_JOIN\_WITH\_ARROW\_UDTF\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`LATERAL` JOIN with Arrow-optimized user-defined table functions (UDTFs) is not supported. Arrow UDTFs cannot be used on the right-hand side of a lateral join.

Please use a regular UDTF instead, or restructure your query to avoid the lateral join.

### LEGACY\_CREATE\_TEMP\_TABLE\_WITHOUT\_PROVIDER\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CREATE TEMPORARY TABLE` without a provider is not allowed.

### [LIST\_FILES\_AUTHORIZATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/list-files-authorization-error-error-class.md)

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Not authorized to call list\_files.

For more details see [LIST\_FILES\_AUTHORIZATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/list-files-authorization-error-error-class.md)

### [LIST\_FILES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/list-files-error-error-class.md)

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

list\_files failed.

For more details see [LIST\_FILES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/list-files-error-error-class.md)

### LOAD\_DATA\_PATH\_NOT\_EXISTS

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

LOAD DATA input path does not exist: `<path>`.

### [LOAD\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/load-file-error-error-class.md)

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error reading the content of a FILE value. Use `try_cast(... AS STRING|BINARY)` to skip failures and get a null value instead.

For more details see [LOAD\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/load-file-error-error-class.md)

### LOCAL\_BLOCK\_DATA\_NOT\_FOUND

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Block `<blockId>` had block metadata but its data was missing from both the memory and disk stores. The block has been removed, so a later read must fetch it from another replica or recompute it.

### LOCAL\_MUST\_WITH\_SCHEMA\_FILE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`LOCAL` must be used together with the schema of `file`, but got: `<actualSchema>`.

### LOCAL\_RELATION\_SIZE\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Local relation size (`<actualSize>` bytes) exceeds the limit (`<sizeLimit>` bytes).

### LOCAL\_VARIABLE\_IN\_TEMP\_OBJECT\_DEFINITION

[SQLSTATE: 42K0M](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

SQL scripting local variable `<varName>` cannot be referenced in the definition of temporary `<objectType> <objectName>`. Local variables are scoped to the current SQL script, but temporary objects persist beyond the script. If you want to create temporary `<objectType> <objectName>`, make `<varName>` a session variable.

### LOCATION\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot name the managed table as `<identifier>`, as its associated location `<location>` already exists. Please pick a different table name, or remove the existing location first.

### LOST\_TOPIC\_PARTITIONS\_IN\_END\_OFFSET\_WITH\_TRIGGER\_AVAILABLENOW

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Some of partitions in Kafka topic(s) have been lost during running query with Trigger.AvailableNow. The error could be transient - restart your query, and report if you still see the same issue.

topic-partitions for latest offset: `<tpsForLatestOffset>`, topic-partitions for end offset: `<tpsForEndOffset>`

### [MALFORMED\_AVRO\_MESSAGE](https://docs.databricks.com/gcp/en/error-messages/malformed-avro-message-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Malformed Avro messages are detected in message deserialization. Parse Mode: `<mode>`. To process malformed Avro message as null result, try setting the option 'mode' as '`PERMISSIVE`'.

For more details see [MALFORMED\_AVRO\_MESSAGE](https://docs.databricks.com/gcp/en/error-messages/malformed-avro-message-error-class.md)

### MALFORMED\_CHARACTER\_CODING

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid value found when performing `<function>` with `<charset>`

### MALFORMED\_CSV\_RECORD

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Malformed CSV record: `<badRecord>`

### [MALFORMED\_EXPRESSION\_INFO](https://docs.databricks.com/gcp/en/error-messages/malformed-expression-info-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

'`<fieldName>`' is malformed in the expression \[`<exprName>`]:

For more details see [MALFORMED\_EXPRESSION\_INFO](https://docs.databricks.com/gcp/en/error-messages/malformed-expression-info-error-class.md)

### [MALFORMED\_FILE\_REF](https://docs.databricks.com/gcp/en/error-messages/malformed-file-ref-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

FileType value is malformed.

For more details see [MALFORMED\_FILE\_REF](https://docs.databricks.com/gcp/en/error-messages/malformed-file-ref-error-class.md)

### [MALFORMED\_JSON\_SCHEMA\_REGISTRY\_MESSAGE](https://docs.databricks.com/gcp/en/error-messages/malformed-json-schema-registry-message-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Malformed `JSON` Schema Registry message.

For more details see [MALFORMED\_JSON\_SCHEMA\_REGISTRY\_MESSAGE](https://docs.databricks.com/gcp/en/error-messages/malformed-json-schema-registry-message-error-class.md)

### MALFORMED\_LOG\_FILE

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Log file was malformed: failed to read correct log version from `<text>`.

### MALFORMED\_PROTOBUF\_MESSAGE

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Malformed Protobuf messages are detected in message deserialization. Parse Mode: `<failFastMode>`. To process malformed protobuf message as null result, try setting the option 'mode' as '`PERMISSIVE`'.

### [MALFORMED\_RECORD\_IN\_PARSING](https://docs.databricks.com/gcp/en/error-messages/malformed-record-in-parsing-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Malformed records are detected in record parsing: `<badRecord>`.

Parse Mode: `<failFastMode>`. To process malformed records as null result, try setting the option 'mode' as '`PERMISSIVE`'.

For more details see [MALFORMED\_RECORD\_IN\_PARSING](https://docs.databricks.com/gcp/en/error-messages/malformed-record-in-parsing-error-class.md)

### [MALFORMED\_STATE\_IN\_RATE\_PER\_MICRO\_BATCH\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/malformed-state-in-rate-per-micro-batch-source-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Malformed state in RatePerMicroBatch source.

For more details see [MALFORMED\_STATE\_IN\_RATE\_PER\_MICRO\_BATCH\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/malformed-state-in-rate-per-micro-batch-source-error-class.md)

### MALFORMED\_VARIANT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Variant binary is malformed. Please check the data source is valid.

### MANAGED\_ICEBERG\_ATTEMPTED\_TO\_ENABLE\_CLUSTERING\_WITHOUT\_DISABLING\_DVS\_OR\_ROW\_TRACKING

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Attempted to enable Liquid clustering on a Managed Apache Iceberg table without disabling both deletion vectors and row tracking. Deletion vectors and row tracking are not supported for Managed Apache Iceberg tables, but are required for row-level concurrency with Liquid tables. To enable Liquid clustering on a Managed Apache Iceberg table with reduced concurrency control, deletion vectors and row tracking must be disabled for this table.

### MANAGED\_ICEBERG\_OPERATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Managed Apache Iceberg tables do not support `<operation>`.

### MANAGED\_TABLE\_WITH\_CRED

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Create managed table with storage credential is not supported.

### MATCH\_RECOGNIZE\_AFTER\_MATCH\_SKIP\_UNDEFINED\_VARIABLE

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE AFTER MATCH` SKIP TO `FIRST`/LAST `<variableName>` must be a pattern variable appearing in `PATTERN` or a `SUBSET` name.

### MATCH\_RECOGNIZE\_AGGREGATE\_DISTINCT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`DISTINCT` is not supported in aggregate functions within `MATCH_RECOGNIZE`. Found: `<expression>`.

### MATCH\_RECOGNIZE\_AGGREGATE\_MIXED\_QUALIFIERS

[SQLSTATE: 42803](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Aggregate expression `<expression>` contains attributes with different qualifiers: `<qualifiers>`. All attributes in the same aggregate function must have the same pattern variable qualifier (or no qualifier).

### MATCH\_RECOGNIZE\_DEFINE\_UNSUPPORTED\_AGGREGATE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Aggregate function `<expression>` is not yet supported in the `DEFINE` clause of `MATCH_RECOGNIZE`. Only `FIRST`() and LAST() are currently supported.

### MATCH\_RECOGNIZE\_DUPLICATE\_PATTERN\_VARIABLE

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE` has a duplicate pattern variable name: `<variableName>`. Pattern variable names declared in `DEFINE` and `SUBSET` share a single namespace and must be unique.

### MATCH\_RECOGNIZE\_EMPTY\_MEASURES

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE` requires at least one expression in the `MEASURES` clause.

### MATCH\_RECOGNIZE\_EMPTY\_PATTERN

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MATCH_RECOGNIZE PATTERN <pattern>` contains no pattern variables. Patterns built only from anchors (`^, $`) are not supported; the `PATTERN` must reference at least one pattern variable.

### MATCH\_RECOGNIZE\_EXCLUSION\_NESTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE PATTERN` exclusion `{- ... -}` shall not contain another exclusion.

### MATCH\_RECOGNIZE\_FUNCTION\_OUTSIDE\_MATCH\_RECOGNIZE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Function `<functionName>` can only be used in the `MEASURES` or `DEFINE` clause of `MATCH_RECOGNIZE`.

### MATCH\_RECOGNIZE\_IGNORE\_NULLS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`IGNORE NULLS` is not supported on navigation function `<functionName>` inside `MATCH_RECOGNIZE`.

### MATCH\_RECOGNIZE\_MEASURES\_MUST\_BE\_ALIASED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE MEASURES` expression `<expression>` must be aliased with the `AS` keyword, for example, `<expression> AS` alias\_name.

### MATCH\_RECOGNIZE\_MULTI\_ALIAS

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Multiple aliases are not supported in `MATCH_RECOGNIZE MEASURES` clause.

### MATCH\_RECOGNIZE\_NAVIGATION\_INVALID\_INPUT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Navigation function inputs in `MATCH_RECOGNIZE` can only contain scalar expressions. Found `<expression>` inside navigation function.

### MATCH\_RECOGNIZE\_NAVIGATION\_MIXED\_QUALIFIERS

[SQLSTATE: 42803](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Navigation expression `<expression>` contains attributes with different qualifiers: `<qualifiers>`. The argument of a `MATCH_RECOGNIZE` navigation function (`FIRST`, LAST, PREV, NEXT) must reference exactly one pattern variable, or be entirely unqualified.

### MATCH\_RECOGNIZE\_NONDETERMINISTIC\_DEFINE

[SQLSTATE: 42845](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE DEFINE` clause contains nondeterministic expression `<expression>` in variable `<variableName>`. Nondeterministic functions like rand(), uuid() are not allowed in `DEFINE` predicates because NFA simulation evaluates predicates multiple times per row, which would produce inconsistent results.

### MATCH\_RECOGNIZE\_PARTITION\_BY\_MUST\_BE\_COLUMN

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE PARTITION BY` only accepts column references, but got: `<expression>`.

### MATCH\_RECOGNIZE\_PATTERN\_TOO\_LARGE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE PATTERN` quantifier bound `<bound>` exceeds the maximum of `<maxBound>`.

Rewrite the pattern to use a smaller repetition count.

### MATCH\_RECOGNIZE\_PERMUTE\_TOO\_FEW\_PATTERNS

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE PERMUTE` requires at least 2 patterns.

### MATCH\_RECOGNIZE\_PERMUTE\_TOO\_MANY\_PATTERNS

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE PERMUTE` supports at most `<maxPatterns>` patterns, but got `<numPatterns>`.

### MATCH\_RECOGNIZE\_SKIP\_TO\_FIRST\_ROW\_OF\_MATCH

[SQLSTATE: 2202L](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`MATCH_RECOGNIZE` cannot skip to `<variableName>` because it resolves to the match's first row, which would repeat the same match indefinitely.

### MATCH\_RECOGNIZE\_SKIP\_TO\_NON\_EXISTENT\_ROW

[SQLSTATE: 2202K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`MATCH_RECOGNIZE` cannot skip to `<variableName>` because the completed match has no row mapped to `<variableName>`.

### MATCH\_RECOGNIZE\_SUBSET\_NAME\_COLLISION

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE SUBSET` name `<variableName>` collides with a primary pattern variable. `SUBSET` names and pattern variable names share a single namespace and must be unique.

### MATCH\_RECOGNIZE\_SUBSET\_UNDEFINED\_VARIABLE

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MATCH_RECOGNIZE SUBSET <subsetName>` references `<variableName>`, which is not a primary pattern variable. Every `SUBSET` member must be a pattern variable that appears in the `PATTERN`.

### MATCH\_RECOGNIZE\_TOO\_MANY\_ACTIVE\_STATES

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

`MATCH_RECOGNIZE` exceeded the maximum of `<limit>` concurrent active pattern-match states. Rewrite the `PATTERN` to reduce overlapping partial matches.

### MATCH\_RECOGNIZE\_UNSUPPORTED\_ANCHOR\_POSITION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MATCH_RECOGNIZE PATTERN <pattern>` uses an anchor (`^, $`) at an unsupported position. Anchors are only supported as a leading `^` or a trailing `$` on the top-level pattern sequence; anchors that are nested inside a group, quantifier, alternation, or that appear mid-sequence are not supported.

### MATCH\_RECOGNIZE\_UNSUPPORTED\_WINDOW\_FUNCTION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Window functions are not supported in `MATCH_RECOGNIZE`. Found: `<expression>`.

### MATERIALIZED\_VIEW\_CDF\_REQUIRES\_EXTERNAL\_METADATA

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Change Data Feed reads from materialized views require external metadata. For more information, see `<docLink>`.

### MATERIALIZED\_VIEW\_DROP\_FEATURE\_REFRESH\_REQUIRED

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot drop feature `<featureName>` with `TRUNCATE HISTORY` from materialized view `<mvName>`.

The view is still referencing history that would be truncated.

Run `REFRESH MATERIALIZED VIEW <mvName>` to advance the view before truncating history.

### MATERIALIZED\_VIEW\_MESA\_REFRESH\_WITHOUT\_PIPELINE\_ID

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot `<refreshType>` the materialized view because it predates having a pipelineId. To enable `<refreshType>` please drop and recreate the materialized view.

### [MATERIALIZED\_VIEW\_NOT\_INCREMENTALIZABLE](https://docs.databricks.com/gcp/en/error-messages/materialized-view-not-incrementalizable-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the materialized view with `<refreshPolicy>` refresh policy because it is not supported for incremental refresh. Reason:

For more details see [MATERIALIZED\_VIEW\_NOT\_INCREMENTALIZABLE](https://docs.databricks.com/gcp/en/error-messages/materialized-view-not-incrementalizable-error-class.md)

### [MATERIALIZED\_VIEW\_OPERATION\_NOT\_ALLOWED](https://docs.databricks.com/gcp/en/error-messages/materialized-view-operation-not-allowed-error-class.md)

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The materialized view operation `<operation>` is not allowed:

For more details see [MATERIALIZED\_VIEW\_OPERATION\_NOT\_ALLOWED](https://docs.databricks.com/gcp/en/error-messages/materialized-view-operation-not-allowed-error-class.md)

### MATERIALIZED\_VIEW\_OUTPUT\_WITHOUT\_EXPLICIT\_ALIAS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Output expression `<expression>` in a materialized view must be explicitly aliased.

### MATERIALIZED\_VIEW\_OVER\_STREAMING\_QUERY\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

materialized view `<name>` could not be created with streaming query. Please use `CREATE` \[OR `REFRESH`] `STREAMING TABLE` or remove the `STREAM` keyword to your `FROM` clause to turn this relation into a batch query instead.

### MATERIALIZED\_VIEW\_UNSUPPORTED\_OPERATION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation `<operation>` is currently not supported on materialized views.

### MATERIALIZED\_VIEW\_WITH\_MULTIPLE\_QUERIES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid destination `<tableName>` with multiple flows: `<flows>`.

### MAX\_NUMBER\_VARIABLES\_IN\_SESSION\_EXCEEDED

[SQLSTATE: 54KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot create the new variable `<variableName>` because the number of variables in the session exceeds the maximum allowed number (`<maxNumVariables>`).

### MAX\_RECORDS\_PER\_FETCH\_INVALID\_FOR\_KINESIS\_SOURCE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

maxRecordsPerFetch needs to be a positive integer less than or equal to `<kinesisRecordLimit>`

### MCV\_INVALID\_INPUT\_SKETCH\_BUFFER

[SQLSTATE: 22546](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`; only valid MCV sketch buffers are supported as inputs (such as those produced by the `mcv_collect_internal` function).

### MERGE\_CARDINALITY\_VIOLATION

[SQLSTATE: 23K01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

The `ON` search condition of the `MERGE` statement matched a single row from the target table with multiple rows of the source table.

This could result in the target row being operated on more than once with an update or delete operation and is not allowed.

### MERGE\_FLOW\_NOT\_MATCHED\_BY\_SOURCE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`WHEN NOT MATCHED BY SOURCE` clauses are not supported in streaming `MERGE` flows.

### MERGE\_INSERT\_VALUE\_COUNT\_MISMATCH

[SQLSTATE: 21S01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

The number of provided values (`<actualCount>`) must match the number of expected columns (`<expectedCount>`) in the `INSERT` clause of `MERGE`.

### MERGE\_WITHOUT\_WHEN

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

There must be at least one `WHEN` clause in a `MERGE` statement.

### METRIC\_CONSTRAINT\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`METRIC CONSTRAINT` is not enabled.

### [METRIC\_STORE\_INVALID\_ARGUMENT\_VALUE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/metric-store-invalid-argument-value-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Provided value "`<argValue>`" is not supported by argument "`<argName>`" for the `METRIC_STORE` table function.

For more details see [METRIC\_STORE\_INVALID\_ARGUMENT\_VALUE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/metric-store-invalid-argument-value-error-error-class.md)

### METRIC\_STORE\_UNSUPPORTED\_ERROR

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Metric Store routine `<routineName>` is currently disabled in this environment.

### METRIC\_VIEW\_AMBIGUOUS\_JOIN\_CRITERIA

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view definition contains a join with an ambiguous criteria: `<expr>`. \[Either use the `using` join criteria or explicitly qualify columns with the `<sourceAlias>` alias.]

### METRIC\_VIEW\_ARGUMENT\_NOT\_CONSTANT

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view `<viewName>` includes a parameter `<parameterName>` at position `<pos>` that requires a constant argument. Please compute the argument `<sqlExpr>` separately and pass the result as a constant.

### METRIC\_VIEW\_CACHE\_TABLE\_NOT\_SUPPORTED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view is not allowed to use cache tables.

### [METRIC\_VIEW\_DUPLICATE\_PARAMETER\_ASSIGNMENT](https://docs.databricks.com/gcp/en/error-messages/metric-view-duplicate-parameter-assignment-error-class.md)

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Call to metric view `<viewName>` is invalid because it includes multiple argument assignments to the same parameter name `<parameterName>`.

For more details see [METRIC\_VIEW\_DUPLICATE\_PARAMETER\_ASSIGNMENT](https://docs.databricks.com/gcp/en/error-messages/metric-view-duplicate-parameter-assignment-error-class.md)

### METRIC\_VIEW\_INVALID\_COLUMN\_DEFINITIONS

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Metric view definition contains `<numInvalidColumns>` invalid columns:

`<columnErrors>`

### METRIC\_VIEW\_INVALID\_MEASURE\_FUNCTION\_INPUT

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `MEASURE`() (or AGG()) function only takes an attribute as input, but got `<expr>`

### METRIC\_VIEW\_INVALID\_PARAMETER\_VALUE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view `<viewName>` parameter `<parameterName>` at position `<pos>` requires `<requiredType>`. The argument given is `<argumentType>`.

### METRIC\_VIEW\_INVALID\_PARTITION\_OUTER\_AGGREGATE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid partition.outer\_aggregate `<outerAggregate>` for measure `<measure>`: `<reason>`

### METRIC\_VIEW\_INVALID\_VIEW\_DEFINITION

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view definition is invalid. Reason: `<reason>`.

### [METRIC\_VIEW\_INVALID\_WINDOW\_MEASURE](https://docs.databricks.com/gcp/en/error-messages/metric-view-invalid-window-measure-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view window measure on order column `<orderColumn>` is invalid.

For more details see [METRIC\_VIEW\_INVALID\_WINDOW\_MEASURE](https://docs.databricks.com/gcp/en/error-messages/metric-view-invalid-window-measure-error-class.md)

### [METRIC\_VIEW\_INVALID\_WINDOW\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/metric-view-invalid-window-parameter-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The window measure parameter `<parameterName>` is invalid.

For more details see [METRIC\_VIEW\_INVALID\_WINDOW\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/metric-view-invalid-window-parameter-error-class.md)

### METRIC\_VIEW\_IN\_CTE\_NOT\_SUPPORTED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view is not allowed in CTE definitions. plan: `<plan>`

### METRIC\_VIEW\_JOIN\_NOT\_SUPPORTED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view is not allowed to use joins. plan: `<plan>`

### METRIC\_VIEW\_MATERIALIZATIONS\_DISABLED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Metric view materializations are disabled. Please make sure "spark.databricks.sql.metricView\.materializations.enabled" is set to true.

### METRIC\_VIEW\_MATERIALIZATIONS\_REPLACE\_WHERE\_WITH\_ONE\_TO\_MANY

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`REPLACE WHERE` baseline materialization is not supported when the metric view definition tree contains one-to-many joins.

### METRIC\_VIEW\_MATERIALIZATIONS\_UNAGGREGATED\_WITH\_ONE\_TO\_MANY

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unaggregated materialization is not supported when the metric view definition tree contains one-to-many joins.

### [METRIC\_VIEW\_MATERIALIZATION\_NOT\_INCREMENTALIZABLE](https://docs.databricks.com/gcp/en/error-messages/metric-view-materialization-not-incrementalizable-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Metric view `<viewName>`: materialization `<materialization>` requests the `<refreshPolicy>` refresh policy but cannot be refreshed incrementally. Reason:

For more details see [METRIC\_VIEW\_MATERIALIZATION\_NOT\_INCREMENTALIZABLE](https://docs.databricks.com/gcp/en/error-messages/metric-view-materialization-not-incrementalizable-error-class.md)

### METRIC\_VIEW\_MATERIALIZATION\_ON\_TEMPORARY\_VIEW\_NOT\_SUPPORTED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Materialization is not supported on temporary metric views.

### METRIC\_VIEW\_MATERIALIZATION\_OWNERSHIP\_CHANGE\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing owners for `METRIC VIEWS` that have been materialized is not supported.

### METRIC\_VIEW\_MATERIALIZATION\_WITH\_INVOKER\_DEPENDENT\_EXPRESSIONS\_NOT\_SUPPORTED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Materialization is not supported for metric views containing invoker-dependent expressions. These expressions prevent materialization reuse.

### METRIC\_VIEW\_MEASURE\_IN\_GROUP\_BY

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<measureColumns>` measure columns cannot be used in `GROUP BY` clause or as categorical values. We recommend wrapping them with an aggregate function such as SUM() for the expected behavior.

### METRIC\_VIEW\_MEASURE\_OUTSIDE\_METRIC\_VIEW

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `MEASURE`() (or AGG()) function can only be used when querying a metric view, but `<expr>` does not come from a metric view.

### METRIC\_VIEW\_MISSING\_MEASURE\_FUNCTION

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The usage of measure column `<column>` of a metric view requires a `MEASURE`() (or AGG()) function to produce results.

### [METRIC\_VIEW\_NOT\_MATERIALIZED](https://docs.databricks.com/gcp/en/error-messages/metric-view-not-materialized-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Called materialized view command on metric view with no materializations defined

For more details see [METRIC\_VIEW\_NOT\_MATERIALIZED](https://docs.databricks.com/gcp/en/error-messages/metric-view-not-materialized-error-class.md)

### METRIC\_VIEW\_NOT\_SUPPORTED\_IN\_HMS

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Metric views are not supported in HMS.

### METRIC\_VIEW\_ONE\_TO\_MANY\_JOIN\_DISABLED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Metric views one\_to\_many joins are disabled. Please make sure "spark.databricks.sql.metricView\.oneToManyJoin.enabled" is set to true.

### METRIC\_VIEW\_RECURSIVE\_MEASURE\_REF

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Measure `<measureColumn>` forms a circular reference: `<cycle>`. The reference must be qualified with the source alias, for example, `MEASURE(source.<measureName>)`.

### METRIC\_VIEW\_RENAME\_DIFFERENT\_CATALOG\_AND\_SCHEMA

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view `<oldName>` is not allowed to rename to a different catalog or schema: `<newName>`.

### METRIC\_VIEW\_REQUIRED\_PARAMETER\_NOT\_FOUND

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot invoke metric view `<viewName>` because the parameter named `<parameterName>` is required, but the metric view call did not supply a value. Please update the metric view call to supply an argument value (either positionally at index `<index>` or by name) and retry the query again.

### METRIC\_VIEW\_SHARING\_NOT\_SUPPORTED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Querying openshared metric views is not supported in the current environment. Please use serverless compute or DBR 17.3+ if sharing under the same account.

### METRIC\_VIEW\_SNOWFLAKE\_JOIN\_FEATURE\_DISABLED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view snowflake join feature is disabled. Please make sure "spark.databricks.sql.metricView\.snowflake.join.enable" is set to true.

### METRIC\_VIEW\_UNEXPECTED\_POSITIONAL\_ARGUMENT

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot invoke metric view `<viewName>` because it contains positional argument(s) following the named argument assigned to `<parameterName>`; please rearrange them so the positional arguments come first and then retry the query again.

### METRIC\_VIEW\_UNKNOWN\_SOURCE\_QUALIFIER

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Measure `<measureColumn>` references unknown source `<sourceName>`. Valid qualifiers are `source` or a defined join alias.

### METRIC\_VIEW\_UNRECOGNIZED\_PARAMETER\_NAME

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot invoke metric view `<viewName>` because the metric view call included a named argument reference for the argument named `<argumentName>`, but this metric view does not include any signature containing an argument with this name. Did you mean one of the following? \[`<proposal>`].

### METRIC\_VIEW\_UNSUPPORTED\_PARTITION\_MEASURE\_NESTING

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Measure `<outerMeasure>` cannot reference measure `<innerMeasure>`: a partition measure cannot be composed with another partition or window measure.

### METRIC\_VIEW\_UNSUPPORTED\_USAGE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view usage is not supported. plan: `<plan>`

### METRIC\_VIEW\_WINDOW\_FUNCTION\_NOT\_SUPPORTED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metric view is not allowed to use window function `<expr>`.

### METRIC\_VIEW\_WINDOW\_MEASURE\_REFERENCES\_WINDOW\_MEASURE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Window measure `<outerMeasure>` cannot reference another window measure `<innerMeasure>`.

### METRIC\_VIEW\_WRONG\_NUM\_ARGS

[SQLSTATE: 42605](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<viewName>` requires `<expectedNum>` parameters but the actual number is `<actualNum>`.

### MIGRATION\_NOT\_SUPPORTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<table>` is not supported for migrating to UC managed table because it is not a `<tableKind>` table.

Make sure that the table being migrated is a UC external delta table and

it is referenced by its name instead of path.

### MIGRATION\_ROLLBACK\_NOT\_SUPPORTED

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<table>` is not supported for rollback from to managed to external table because it is not a `<tableKind>` table.

### MISMATCHED\_TOPIC\_PARTITIONS\_BETWEEN\_END\_OFFSET\_AND\_PREFETCHED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Kafka data source in Trigger.AvailableNow should provide the same topic partitions in pre-fetched offset to end offset for each microbatch. The error could be transient - restart your query, and report if you still see the same issue.

topic-partitions for pre-fetched offset: `<tpsForPrefetched>`, topic-partitions for end offset: `<tpsForEndOffset>`.

### [MISSING\_AGGREGATION](https://docs.databricks.com/gcp/en/error-messages/missing-aggregation-error-class.md)

[SQLSTATE: 42803](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The non-aggregating expression `<expression>` is based on columns which are not participating in the `GROUP BY` clause.

Add the columns or the expression to the `GROUP BY`, aggregate the expression, or use `<expressionAnyValue>` if you do not care which of the values within a group is returned.

For more details see [MISSING\_AGGREGATION](https://docs.databricks.com/gcp/en/error-messages/missing-aggregation-error-class.md)

### [MISSING\_ATTRIBUTES](https://docs.databricks.com/gcp/en/error-messages/missing-attributes-error-class.md)

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Resolved attribute(s) `<missingAttributes>` missing from `<input>` in operator `<operator> <exprs>`.

For more details see [MISSING\_ATTRIBUTES](https://docs.databricks.com/gcp/en/error-messages/missing-attributes-error-class.md)

### MISSING\_AUTHORIZATION\_TOKEN

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

No token to authorize principal

### [MISSING\_CATALOG\_ABILITY](https://docs.databricks.com/gcp/en/error-messages/missing-catalog-ability-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Catalog `<plugin>` does not support

For more details see [MISSING\_CATALOG\_ABILITY](https://docs.databricks.com/gcp/en/error-messages/missing-catalog-ability-error-class.md)

### MISSING\_CLAUSES\_FOR\_OPERATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Missing required clause(s) `<clauses>` for operation `<operation>`.

### MISSING\_CONNECTION\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connections of type '`<connectionType>`' must include the following option(s): `<requiredOptions>`.

### MISSING\_DATABASE\_FOR\_V1\_SESSION\_CATALOG

[SQLSTATE: 3F000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3f-invalid-schema-name)

Database name is not specified in the v1 session catalog. Please ensure to provide a valid database name when interacting with the v1 catalog.

### MISSING\_GROUP\_BY

[SQLSTATE: 42803](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The query does not include a `GROUP BY` clause. Add `GROUP BY` or turn it into the window functions using OVER clauses.

### MISSING\_NAME\_FOR\_CHECK\_CONSTRAINT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CHECK` constraint must have a name.

### MISSING\_PARAMETER\_FOR\_KAFKA

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Parameter `<parameterName>` is required for Kafka, but is not specified in `<functionName>`.

### MISSING\_PARAMETER\_FOR\_ROUTINE

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Parameter `<parameterName>` is required, but is not specified in `<functionName>`.

### MISSING\_SCHEDULE\_DEFINITION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A schedule definition must be provided following `SCHEDULE`.

### MISSING\_TIMEOUT\_CONFIGURATION

[SQLSTATE: HY000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hy-cli-specific-condition)

The operation has timed out, but no timeout duration is configured. To set a processing time-based timeout, use 'GroupState.setTimeoutDuration()' in your 'mapGroupsWithState' or 'flatMapGroupsWithState' operation. For event-time-based timeout, use 'GroupState.setTimeoutTimestamp()' and define a watermark using 'Dataset.withWatermark()'.

### MISSING\_WINDOW\_SPECIFICATION

[SQLSTATE: 42P20](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Window specification is not defined in the `WINDOW` clause for `<windowName>`. For more information about `WINDOW` clauses, please refer to '`<docroot>`/sql-ref-syntax-qry-select-window\.html'.

### MODIFY\_BUILTIN\_CATALOG

[SQLSTATE: 42832](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Modifying built-in catalog `<catalogName>` is not supported.

### MULTIPART\_FLOW\_NAME\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow with multipart name '`<flowName>`' is not supported.

### MULTIPLE\_DATA\_SOURCES

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Multiple sources found for `<provider> (<sourceNames>)`, please specify the fully qualified class name.

### MULTIPLE\_EVENT\_TIME\_COLUMNS

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

More than one event time columns are available. Please ensure there is at most one event time column per stream. event time columns: `<eventTimeCols>`

### MULTIPLE\_EXCEL\_DATA\_SOURCE

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Detected multiple Excel data sources with the name `<provider> (<sourceNames>)`. Please specify the fully qualified class name or remove `<externalSource>` from the classpath.

### MULTIPLE\_LOAD\_PATH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Databricks Delta does not support multiple input paths in the load() API.

paths: `<pathList>`. To build a single DataFrame by loading

multiple paths from the same Delta table, please load the root path of

the Delta table with the corresponding partition filters. If the multiple paths

are from different Delta tables, please use Dataset's union()/unionByName() APIs

to combine the DataFrames generated by separate load() API calls.

### MULTIPLE\_MATCHING\_CONSTRAINTS

[SQLSTATE: 42891](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found at least two matching constraints with the given condition.

### MULTIPLE\_QUERY\_RESULT\_CLAUSES\_WITH\_PIPE\_OPERATORS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<clause1>` and `<clause2>` cannot coexist in the same SQL pipe operator using '|>'. Please separate the multiple result clauses into separate pipe operators and then retry the query again.

### MULTIPLE\_TIME\_TRAVEL\_SPEC

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify time travel in more than one of: the '@' suffix in the table name, the time travel clause, and the read options.

### MULTIPLE\_XML\_DATA\_SOURCE

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Detected multiple data sources with the name `<provider> (<sourceNames>)`. Please specify the fully qualified class name or remove `<externalSource>` from the classpath.

### MULTI\_ALIAS\_WITHOUT\_GENERATOR

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Multi part aliasing (`<names>`) is not supported with `<expr>` as it is not a generator function.

### MULTI\_SOURCES\_UNSUPPORTED\_FOR\_EXPRESSION

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The expression `<expr>` does not support more than one source.

### MULTI\_SOURCE\_METRIC\_VIEW\_INVALID\_DIMENSION\_REFERENCE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Dimension expression from a source on the right side of a one-to-many join is not supported. Dimension: `<dimension>`. Expression: `<expr>`.

### MULTI\_SOURCE\_METRIC\_VIEW\_MEASURE\_REFERENCING\_DIMENSION

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Measure column `<measureColumn>` in metric view cannot reference dimension columns (`<dimensionColumn>`).

### MULTI\_SOURCE\_METRIC\_VIEW\_UNQUALIFIED\_MEASURE\_REF

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unqualified measure column reference `<measureColumn>` in multi-source metric view is not allowed. Please qualify the measure column with the source alias.

### MULTI\_SOURCE\_METRIC\_VIEW\_UNSUPPORTED\_EXPRESSION

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Aggregation expression on top of multiple sources in metric view is not supported: `<expr>`.

### MULTI\_UDF\_INTERFACE\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Not allowed to implement multiple UDF interfaces, UDF class `<className>`.

### MUTUALLY\_EXCLUSIVE\_CLAUSES

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Mutually exclusive clauses or options `<clauses>`. Please remove one of these clauses.

### MV\_ST\_ALTER\_QUERY\_INCORRECT\_BACKING\_TYPE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The input query expects a `<expectedType>`, but the underlying table is a `<givenType>`.

### NAMED\_PARAMETERS\_NOT\_SUPPORTED

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Named parameters are not supported for function `<functionName>`; please retry the query with positional arguments to the function call instead.

### NAMED\_PARAMETERS\_NOT\_SUPPORTED\_FOR\_SQL\_UDFS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot call function `<functionName>` because named argument references are not supported. In this case, the named argument reference was `<argument>`.

### NAMED\_PARAMETER\_SUPPORT\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot call function `<functionName>` because named argument references are not enabled here.

In this case, the named argument reference was `<argument>`.

Set "spark.sql.allowNamedFunctionArguments" to "true" to turn on feature.

### NAMESPACE\_ALREADY\_EXISTS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create namespace `<nameSpaceName>` because it already exists.

Choose a different name, drop the existing namespace, or add the `IF NOT EXISTS` clause to tolerate pre-existing namespace.

### NAMESPACE\_NOT\_EMPTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop a namespace `<nameSpaceNameName>` because it contains objects.

Use `DROP NAMESPACE` `...` `CASCADE` to drop the namespace and all its objects.

### NAMESPACE\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The namespace `<nameSpaceName>` cannot be found. Verify the spelling and correctness of the namespace.

If you did not qualify the name with, verify the current\_schema() output, or qualify the name with the correctly.

To tolerate the error on drop use `DROP NAMESPACE IF EXISTS`.

### NATIVE\_IO\_ERROR

[SQLSTATE: KD00F](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Native request failed. requestId: `<requestId>`, cloud: `<cloud>`, operation: `<operation>`

request: \[https: `<https>`, method = `<method>`, path = `<path>`, params = `<params>`, host = `<host>`, headers = `<headers>`, bodyLen = `<bodyLen>`],

error: `<error>`

### NATIVE\_XML\_DATA\_SOURCE\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Native XML Data Source is not enabled in this cluster.

### [NEAREST\_BY\_JOIN](https://docs.databricks.com/gcp/en/error-messages/nearest-by-join-error-class.md)

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid nearest-by join.

For more details see [NEAREST\_BY\_JOIN](https://docs.databricks.com/gcp/en/error-messages/nearest-by-join-error-class.md)

### NEGATIVE\_SCALE\_DISALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Negative scale is not allowed: '`<scale>`'. Set the config `<sqlConf>` to "true" to allow it.

### NEGATIVE\_VALUES\_IN\_FREQUENCY\_EXPRESSION

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found the negative value in `<frequencyExpression>`: `<negativeValue>`, but expected a positive integral value.

### NESTED\_AGGREGATE\_FUNCTION

[SQLSTATE: 42607](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

It is not allowed to use an aggregate function in the argument of another aggregate function. Please use the inner aggregate function in a sub-query.

### NESTED\_DATABASE\_UNSUPPORTED\_BY\_V1\_SESSION\_CATALOG

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Nested databases are not supported by v1 session catalog: `<namespace>`.

### NESTED\_EXECUTE\_IMMEDIATE

[SQLSTATE: 07501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-07-dynamic-sql-error)

Nested `EXECUTE IMMEDIATE` commands are not allowed. Please ensure that the SQL query provided (`<sqlString>`) does not contain another `EXECUTE IMMEDIATE` command.

### NESTED\_REFERENCES\_IN\_LATERAL\_SUBQUERY\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Detected outer scope references `<expression>` in the lateral subquery which is not supported. Please ensure the lateral subquery does not contain subqueries that reference attributes from nested outer scopes.

### NESTED\_REFERENCES\_IN\_SUBQUERY\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Detected outer scope references `<expression>` in the subquery which is not supported.

### NESTED\_SEQUENTIAL\_STREAMING\_UNION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Nested SequentialStreamingUnion is not supported. `<hint>`

SequentialStreamingUnion can only be used at the top level of a streaming query.

Each source in followedBy() should be a base streaming source or simple transformations,

not another followedBy() result wrapped in other operators.

### NEW\_CHECK\_CONSTRAINT\_VIOLATION

[SQLSTATE: 23512](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

The new check constraint (`<expression>`) cannot be added because it would be violated by existing data in table `<tableName>`. Please ensure all existing rows satisfy the constraint before adding it.

### NONEXISTENT\_FIELD\_NAME\_IN\_LIST

[SQLSTATE: HV091](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hv-fdw-specific-condition)

Field(s) `<nonExistFields>` do(es) not exist. Available fields: `<fieldNames>`

### NON\_DETERMINISTIC\_CHECK\_CONSTRAINT

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The check constraint `<checkCondition>` is non-deterministic. Check constraints must only contain deterministic expressions.

### NON\_FOLDABLE\_ARGUMENT

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<funcName>` requires the parameter `<paramName>` to be a foldable expression of the type `<paramType>`, but the actual argument is a non-foldable.

### NON\_LAST\_MATCHED\_CLAUSE\_OMIT\_CONDITION

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When there are more than one `MATCHED` clauses in a `MERGE` statement, only the last `MATCHED` clause can omit the condition.

### NON\_LAST\_NOT\_MATCHED\_BY\_SOURCE\_CLAUSE\_OMIT\_CONDITION

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When there are more than one `NOT MATCHED BY SOURCE` clauses in a `MERGE` statement, only the last `NOT MATCHED BY SOURCE` clause can omit the condition.

### NON\_LAST\_NOT\_MATCHED\_BY\_TARGET\_CLAUSE\_OMIT\_CONDITION

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When there are more than one `NOT MATCHED [BY TARGET]` clauses in a `MERGE` statement, only the last `NOT MATCHED [BY TARGET]` clause can omit the condition.

### NON\_LITERAL\_PIVOT\_VALUES

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Literal expressions required for pivot values, found `<expression>`.

### NON\_PARTITION\_COLUMN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`PARTITION` clause cannot contain the non-partition column: `<columnName>`.

### NON\_TIME\_WINDOW\_NOT\_SUPPORTED\_IN\_STREAMING

[SQLSTATE: 42KDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Window function is not supported in `<windowFunc>` (as column `<columnName>`) on streaming DataFrames/Datasets.

Structured Streaming only supports time-window aggregation using the `WINDOW` function. (window specification: `<windowSpec>`)

### [NOT\_ALLOWED\_IN\_FROM](https://docs.databricks.com/gcp/en/error-messages/not-allowed-in-from-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Not allowed in the `FROM` clause:

For more details see [NOT\_ALLOWED\_IN\_FROM](https://docs.databricks.com/gcp/en/error-messages/not-allowed-in-from-error-class.md)

### [NOT\_ALLOWED\_IN\_PIPE\_OPERATOR\_WHERE](https://docs.databricks.com/gcp/en/error-messages/not-allowed-in-pipe-operator-where-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Not allowed in the pipe `WHERE` clause:

For more details see [NOT\_ALLOWED\_IN\_PIPE\_OPERATOR\_WHERE](https://docs.databricks.com/gcp/en/error-messages/not-allowed-in-pipe-operator-where-error-class.md)

### [NOT\_A\_CONSTANT\_STRING](https://docs.databricks.com/gcp/en/error-messages/not-a-constant-string-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The expression `<expr>` used for the routine or clause `<name>` must be a constant `STRING` which is `NOT NULL`.

For more details see [NOT\_A\_CONSTANT\_STRING](https://docs.databricks.com/gcp/en/error-messages/not-a-constant-string-error-class.md)

### NOT\_A\_PARTITIONED\_TABLE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Operation `<operation>` is not allowed for `<tableIdentWithDB>` because it is not a partitioned table.

### NOT\_A\_SCALAR\_FUNCTION

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<functionName>` appears as a scalar expression here, but the function was defined as a table function. Please update the query to move the function call into the `FROM` clause, or redefine `<functionName>` as a scalar function instead.

### NOT\_A\_TABLE\_FUNCTION

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<functionName>` appears as a table function here, but the function was defined as a scalar function. Please update the query to move the function call outside the `FROM` clause, or redefine `<functionName>` as a table function instead.

### NOT\_ENOUGH\_ARGS

[SQLSTATE: 42605](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Function `<functionName>` expects at least `<minNum>` parameters, but received `<actualNum> (<actualArgs>)`.

### NOT\_NULL\_ASSERT\_VIOLATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`NULL` value appeared in non-nullable field: `<walkedTypePath>`If the schema is inferred from a Scala tuple/case class, or a Java bean, please try to use scala.Option\[\_] or other nullable types (such as java.lang.Integer instead of int/scala.Int).

### [NOT\_NULL\_CONSTRAINT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/not-null-constraint-violation-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Assigning a `NULL` is not allowed here.

For more details see [NOT\_NULL\_CONSTRAINT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/not-null-constraint-violation-error-class.md)

### NOT\_STREAMING\_DATASET

[SQLSTATE: 42K0A](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

All sources in `<operator>` must be streaming relations.

Ensure all DataFrames are created using spark.readStream() rather than spark.read().

Example: df1 = spark.readStream.format("delta").load(...); df2 = spark.readStream.format("kafka").load(...)

Then use: df1.followedBy(df2)

### NOT\_SUPPORTED\_CHANGE\_COLUMN

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE ALTER`/`CHANGE COLUMN` is not supported for changing `<table>`'s column `<originName>` with type `<originType>` to `<newName>` with type `<newType>`.

### NOT\_SUPPORTED\_CHANGE\_SAME\_COLUMN

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE ALTER`/`CHANGE COLUMN` is not supported for changing `<table>`'s column `<fieldName>` including its nested fields multiple times in the same command.

### NOT\_SUPPORTED\_COMMAND\_FOR\_V2\_TABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<cmd>` is not supported for v2 tables.

### NOT\_SUPPORTED\_COMMAND\_WITHOUT\_HIVE\_SUPPORT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<cmd>` is not supported, if you want to enable it, please set "spark.sql.catalogImplementation" to "hive".

### [NOT\_SUPPORTED\_IN\_JDBC\_CATALOG](https://docs.databricks.com/gcp/en/error-messages/not-supported-in-jdbc-catalog-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Not supported command in JDBC catalog:

For more details see [NOT\_SUPPORTED\_IN\_JDBC\_CATALOG](https://docs.databricks.com/gcp/en/error-messages/not-supported-in-jdbc-catalog-error-class.md)

### NOT\_SUPPORTED\_WITH\_DB\_SQL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is not supported on a SQL `<endpoint>`.

### NOT\_SUPPORTED\_WITH\_SERVERLESS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is not supported on serverless compute.

### NOT\_UNRESOLVED\_ENCODER

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unresolved encoder expected, but `<attr>` was found.

### NO\_ACTIVE\_TRANSACTION

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

There is no active transaction to `<action>`.

### NO\_DEFAULT\_COLUMN\_VALUE\_AVAILABLE

[SQLSTATE: 42608](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Can't determine the default value for `<colName>` since it is not nullable and it has no default value.

### NO\_HANDLER\_FOR\_UDAF

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No handler for UDAF '`<functionName>`'. Use sparkSession.udf.register(...) instead.

### NO\_MERGE\_ACTION\_SPECIFIED

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

df.mergeInto needs to be followed by at least one of whenMatched/whenNotMatched/whenNotMatchedBySource.

### NO\_PARENT\_EXTERNAL\_LOCATION\_FOR\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

No parent external location was found for path '`<path>`'. Please create an external location on one of the parent paths and then retry the query or command again.

### NO\_PRIMARY\_KEY\_CONSTRAINT\_EXCEPTION

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`TABLE <table>` does not have a primary key constraint.

### NO\_SQL\_TYPE\_IN\_PROTOBUF\_SCHEMA

[SQLSTATE: 42S22](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot find `<catalystFieldPath>` in Protobuf schema.

### NO\_STORAGE\_LOCATION\_FOR\_TABLE

SQLSTATE: none assigned

No storage location was found for table '`<tableId>`' when generating table credentials. Please verify the table type and the table location URL and then retry the query or command again.

### NO\_SUCH\_CATALOG\_EXCEPTION

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Catalog '`<catalog>`' was not found. Please verify the catalog name and then retry the query or command again.

### NO\_SUCH\_CLEANROOM\_EXCEPTION

SQLSTATE: none assigned

The clean room '`<cleanroom>`' does not exist. Please verify that the clean room name is spelled correctly and matches the name of a valid existing clean room and then retry the query or command again.

### NO\_SUCH\_CONSTRAINT\_EXCEPTION

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Constraint `<constraint>` not found in `<identifier>`.

### NO\_SUCH\_CREDENTIAL\_EXCEPTION

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The credential '`<credential>`' does not exist. Please verify that the credential name is spelled correctly and matches the name of a valid existing credential and then retry the query or command again.

### NO\_SUCH\_EXTERNAL\_LOCATION\_EXCEPTION

SQLSTATE: none assigned

The external location '`<externalLocation>`' does not exist. Please verify that the external location name is correct and then retry the query or command again.

### [NO\_SUCH\_METASTORE\_EXCEPTION](https://docs.databricks.com/gcp/en/error-messages/no-such-metastore-exception-error-class.md)

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metastore was not found.

For more details see [NO\_SUCH\_METASTORE\_EXCEPTION](https://docs.databricks.com/gcp/en/error-messages/no-such-metastore-exception-error-class.md)

### NO\_SUCH\_PROVIDER\_EXCEPTION

SQLSTATE: none assigned

The share provider '`<providerName>`' does not exist. Please verify the share provider name is spelled correctly and matches the name of a valid existing provider name and then retry the query or command again.

### NO\_SUCH\_RECIPIENT\_EXCEPTION

SQLSTATE: none assigned

The recipient '`<recipient>`' does not exist. Please verify that the recipient name is spelled correctly and matches the name of a valid existing recipient and then retry the query or command again.

### NO\_SUCH\_SHARE\_EXCEPTION

SQLSTATE: none assigned

The share '`<share>`' does not exist. Please verify that the share name is spelled correctly and matches the name of a valid existing share and then retry the query or command again.

### NO\_SUCH\_STORAGE\_CREDENTIAL\_EXCEPTION

SQLSTATE: none assigned

The storage credential '`<storageCredential>`' does not exist. Please verify that the storage credential name is spelled correctly and matches the name of a valid existing storage credential and then retry the query or command again.

### NO\_SUCH\_USER\_EXCEPTION

SQLSTATE: none assigned

The user '`<userName>`' does not exist. Please verify that the user to whom you grant permission or alter ownership is spelled correctly and matches the name of a valid existing user and then retry the query or command again.

### NO\_UDF\_INTERFACE

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

UDF class `<className>` doesn't implement any UDF interface.

### NULLABLE\_COLUMN\_OR\_FIELD

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column or field `<name>` is nullable while it's required to be non-nullable.

### NULLABLE\_ROW\_ID\_ATTRIBUTES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Row ID attributes cannot be nullable: `<nullableRowIdAttrs>`.

### NULL\_DATA\_SOURCE\_OPTION

[SQLSTATE: 22024](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Data source read/write option `<option>` cannot have null value.

### NULL\_MAP\_KEY

[SQLSTATE: 2200E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot use null as map key.

### NULL\_QUERY\_STRING\_EXECUTE\_IMMEDIATE

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Execute immediate requires a non-null variable as the query string, but the provided variable `<varName>` is null.

### NULL\_VALUE\_SIGNAL\_STATEMENT

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Signal statement arguments require non-null values, but `<argument>` received a null value.

### NUMERIC\_OUT\_OF\_SUPPORTED\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value `<value>` cannot be interpreted as a numeric since it has more than 38 digits.

### [NUMERIC\_VALUE\_OUT\_OF\_RANGE](https://docs.databricks.com/gcp/en/error-messages/numeric-value-out-of-range-error-class.md)

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

For more details see [NUMERIC\_VALUE\_OUT\_OF\_RANGE](https://docs.databricks.com/gcp/en/error-messages/numeric-value-out-of-range-error-class.md)

### NUM\_COLUMNS\_MISMATCH

[SQLSTATE: 42826](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<operator>` can only be performed on inputs with the same number of columns, but the first input has `<firstNumColumns>` columns and the `<invalidOrdinalNum>` input has `<invalidNumColumns>` columns.

### NUM\_TABLE\_VALUE\_ALIASES\_MISMATCH

[SQLSTATE: 42826](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Number of given aliases does not match number of output columns.

Function name: `<funcName>`; number of aliases: `<aliasesNum>`; number of output columns: `<outColsNum>`.

### OAUTH\_CUSTOM\_IDENTITY\_CLAIM\_NOT\_PROVIDED

[SQLSTATE: 22KD2](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

No custom identity claim was provided.

### ONLY\_SECRET\_FUNCTION\_SUPPORTED\_HERE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Calling function `<functionName>` is not supported in this `<location>`; `<supportedFunctions>` supported here.

### ONLY\_SUPPORTED\_WITH\_UC\_SQL\_CONNECTOR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

SQL operation `<operation>` is only supported on Databricks SQL connectors with Unity Catalog support.

### OPERATION\_CANCELED

[SQLSTATE: HY008](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hy-cli-specific-condition)

Operation has been canceled.

### OPERATION\_REQUIRES\_UNITY\_CATALOG

[SQLSTATE: 0AKUD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation `<operation>` requires Unity Catalog enabled.

### OPTION\_VALUE\_EXCEEDS\_ONE\_CHARACTER

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The value of `<paramName>` cannot be more than one character, but got `<actualValue>`.

### OP\_NOT\_SUPPORTED\_READ\_ONLY

[SQLSTATE: 42KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<plan>` is not supported in read-only session mode.

### ORC\_DATA\_SOURCE\_REQUIRES\_HIVE\_SUPPORT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Hive built-in ORC data source must be used with Hive support enabled. Please use the native ORC data source by setting 'spark.sql.orc.impl' to 'native'.

### ORDER\_BY\_POS\_OUT\_OF\_RANGE

[SQLSTATE: 42805](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ORDER BY` position `<index>` is not in select list (valid range is \[1, `<size>`]).

### [PARAMETER\_BATCH\_ERROR](https://docs.databricks.com/gcp/en/error-messages/parameter-batch-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error processing the provided parameter batch.

For more details see [PARAMETER\_BATCH\_ERROR](https://docs.databricks.com/gcp/en/error-messages/parameter-batch-error-error-class.md)

### [PARQUET\_AGGREGATE\_PUSH\_DOWN\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/parquet-aggregate-push-down-unsupported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Aggregate push-down is not supported for Parquet file `<filePath>`. Set SQLConf `<config>` to false and execute again.

For more details see [PARQUET\_AGGREGATE\_PUSH\_DOWN\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/parquet-aggregate-push-down-unsupported-error-class.md)

### [PARQUET\_CONVERSION\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/parquet-conversion-failure-error-class.md)

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to create a Parquet converter for the data type `<dataType>` whose Parquet type is `<parquetType>`.

For more details see [PARQUET\_CONVERSION\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/parquet-conversion-failure-error-class.md)

### PARQUET\_FAILED\_READ\_FOOTER

[SQLSTATE: KD001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Could not read Parquet footer for file: `<path>`.

### PARQUET\_TYPE\_ILLEGAL

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Illegal Parquet type: `<parquetType>`.

### PARQUET\_TYPE\_NOT\_RECOGNIZED

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unrecognized Parquet type: `<field>`.

### PARQUET\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Parquet type not yet supported: `<parquetType>`.

### PARSE\_EMPTY\_STATEMENT

[SQLSTATE: 42617](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Syntax error, unexpected empty statement.

### PARSE\_MODE\_UNSUPPORTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<funcName>` doesn't support the `<mode>` mode. Acceptable modes are `PERMISSIVE` and `FAILFAST`.

### PARSE\_SYNTAX\_ERROR

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Syntax error at or near `<error> <hint>`.

### PARTITIONS\_ALREADY\_EXIST

[SQLSTATE: 428FT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot ADD or `RENAME` TO partition(s) `<partitionList>` in table `<tableName>` because they already exist.

Choose a different name, drop the existing partition, or add the `IF NOT EXISTS` clause to tolerate a pre-existing partition.

### PARTITIONS\_NOT\_FOUND

[SQLSTATE: 428FT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The partition(s) `<partitionList>` cannot be found in table `<tableName>`.

Verify the partition specification and table name.

To tolerate the error on drop use `ALTER TABLE` … `DROP IF EXISTS PARTITION`.

### PARTITION\_BY\_NOT\_ALLOWED\_WITH\_INSERT\_INTO

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

partitionBy() cannot be used with insertInto(). Partition columns for table `<tableName>` are determined by the table definition.

### PARTITION\_COLUMN\_NOT\_FOUND\_IN\_SCHEMA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Partition column `<column>` not found in schema `<schema>`. Please provide the existing column for partitioning.

### PARTITION\_LOCATION\_ALREADY\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Partition location `<locationPath>` already exists in table `<tableName>`.

### PARTITION\_LOCATION\_IS\_NOT\_UNDER\_TABLE\_DIRECTORY

[SQLSTATE: 42KD5](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to execute the `ALTER TABLE SET PARTITION LOCATION` statement, because the

partition location `<location>` is not under the table directory `<table>`.

To fix it, please set the location of partition to a subdirectory of `<table>`.

### PARTITION\_METADATA

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<action>` is not allowed on table `<tableName>` since storing partition metadata is not supported in Unity Catalog.

### PARTITION\_NUMBER\_MISMATCH

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Number of values (`<partitionNumber>`) did not match schema size (`<partitionSchemaSize>`): values are `<partitionValues>`, schema is `<partitionSchema>`, file path is `<urlEncodedPath>`.

Please re-materialize the table or contact the owner.

### PARTITION\_RENAME\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Partition renaming is not supported.

### PARTITION\_TRANSFORM\_EXPRESSION\_NOT\_IN\_PARTITIONED\_BY

[SQLSTATE: 42S23](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The expression `<expression>` must be inside 'partitionedBy'.

### PATH\_ALREADY\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Path `<outputPath>` already exists. Set mode as "overwrite" to overwrite the existing path.

### PATH\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Path does not exist: `<path>`.

### PATH\_RESOLUTION\_ERROR

[SQLSTATE: KD013](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Could not resolve path `<path>`. Caused by: `<causedBy>`

### PHOTON\_DESERIALIZED\_PROTOBUF\_MEMORY\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Deserializing the Photon protobuf plan requires at least `<size>` bytes, which exceeds the

limit of `<limit>` bytes. This could be due to a very large plan or the presence of a very

wide schema. Try to simplify the query, remove unnecessary columns, or disable Photon.

### PHOTON\_ROARING\_VALUE\_OUT\_OF\_REPRESENTABLE\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The bit position `<value>` is outside the representable range \[0, `<maxValue>`] and cannot be added to the bitmap built by the `bitmap_construct_agg` aggregate function. Bit positions are typically produced by `bitmap_bit_position`. Please ensure every bit position falls within \[0, `<maxValue>`], then retry your query.

### PHOTON\_SERIALIZED\_PROTOBUF\_MEMORY\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The serialized Photon protobuf plan has size `<size>` bytes, which exceeds the limit of

`<limit>` bytes. The serialized size of data types in the plan is `<dataTypeSize>` bytes.

This could be due to a very large plan or the presence of a very wide schema.

Consider rewriting the query to remove unwanted operations and columns or disable Photon.

### PIPELINED\_STAGE\_GROUP\_INSUFFICIENT\_SLOT

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Cannot run the pipelined stage group: it needs `<numTasks>` concurrent task slots to run all its stages together, but only `<numSlots>` are currently free. The stages of a pipelined group must run concurrently, so the cluster must have enough free slots for all of them at once. Provision more executors, or reduce the parallelism of the query.

### PIPELINE\_DATASET\_WITHOUT\_FLOW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Pipeline dataset `<identifier>` does not have any defined flows. Please attach a query with the dataset's definition, or explicitly define at least one flow that writes to the dataset.

### [PIPELINE\_DOES\_NOT\_EXIST](https://docs.databricks.com/gcp/en/error-messages/pipeline-does-not-exist-error-class.md)

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline '`<pipelineId>`' does not exist

For more details see [PIPELINE\_DOES\_NOT\_EXIST](https://docs.databricks.com/gcp/en/error-messages/pipeline-does-not-exist-error-class.md)

### [PIPELINE\_DUPLICATE\_IDENTIFIERS](https://docs.databricks.com/gcp/en/error-messages/pipeline-duplicate-identifiers-error-class.md)

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A duplicate identifier was found for elements registered in the pipeline's dataflow graph.

For more details see [PIPELINE\_DUPLICATE\_IDENTIFIERS](https://docs.databricks.com/gcp/en/error-messages/pipeline-duplicate-identifiers-error-class.md)

### PIPELINE\_FLOW\_MISSING\_DEPENDENCY

[SQLSTATE: HY000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hy-cli-specific-condition)

Flow `<flowName>` cannot be fully analyzed due to missing dependencies: `<dependencies>`. This flow will be retried when dependencies become available.

### PIPELINE\_GRAPH\_NOT\_TOPOLOGICALLY\_SORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

There is a cycle between `<flowName>` and `<inputName>`.

### PIPELINE\_RUN\_FAILED

[SQLSTATE: 42K0S](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<message>`

### PIPELINE\_SQL\_GRAPH\_ELEMENT\_REGISTRATION\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<message>`

`<offendingQuery>`

`<codeLocation>`

### PIPELINE\_STORAGE\_ROOT\_INVALID

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline storage root must be an absolute path with a URI scheme (for example, file://, s3a://, hdfs\://). Got: `<storage_root>`.

### PIPELINE\_TESTING\_UNSUPPORTED\_OPERATION

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The operation `<operation>` on `<target>` is not supported in Lakeflow pipeline unit testing. Run it outside of pipeline unit testing.

### PIPE\_OPERATOR\_AGGREGATE\_EXPRESSION\_CONTAINS\_NO\_AGGREGATE\_FUNCTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Non-grouping expression `<expr>` is provided as an argument to the |> `AGGREGATE` pipe operator but does not contain any aggregate function; please update it to include an aggregate function and then retry the query again.

### PIPE\_OPERATOR\_CONTAINS\_AGGREGATE\_FUNCTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Aggregate function `<expr>` is not allowed when using the pipe operator |> `<clause>` clause; please use the pipe operator |> `AGGREGATE` clause instead.

### PIVOT\_VALUE\_DATA\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid pivot value '`<value>`': value data type `<valueType>` does not match pivot column data type `<pivotType>`.

### POLICY\_ALREADY\_EXISTS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create policy `<policyName>` because it already exists.

Choose a different name or drop the existing policy to tolerate pre-existing connections.

### POLICY\_NOT\_FOUND

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot execute `<commandType>` command because the policy `<policyName>` on `<securableFullname>` cannot be found.

Please verify the spelling and correctness.

### POLICY\_ON\_SECURABLE\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<action>` policy on `<securable>` of type `<securableType>`: only `<allowedTypes>` securables in Unity Catalog can have policies.

### PREVIEW\_FEATURE\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The preview feature `<featureName>` is not enabled. Please contact your workspace administrator to enable this feature via the preview portal.

### PROCEDURE\_ARGUMENT\_NUMBER\_MISMATCH

[SQLSTATE: 42605](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Procedure `<procedureName>` expects `<expected>` arguments, but `<actual>` were provided.

### PROCEDURE\_CREATION\_EMPTY\_ROUTINE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CREATE PROCEDURE` with an empty routine definition is not allowed.

### PROCEDURE\_CREATION\_PARAMETER\_OUT\_INOUT\_WITH\_DEFAULT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The parameter `<parameterName>` is defined with parameter mode `<parameterMode>`. OUT and `INOUT` parameter cannot be omitted when invoking a routine and therefore do not support a `DEFAULT` expression. To proceed, remove the `DEFAULT` clause or change the parameter mode to `IN`.

### PROCEDURE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Stored procedure is not supported

### PROCEDURE\_NOT\_SUPPORTED\_WITH\_HMS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Stored procedure is not supported with Hive Metastore. Please use Unity Catalog instead.

### PROTOBUF\_DEPENDENCY\_NOT\_FOUND

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find dependency: `<dependencyName>`.

### PROTOBUF\_DESCRIPTOR\_FILE\_NOT\_FOUND

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error reading Protobuf descriptor file at path: `<filePath>`.

### PROTOBUF\_FIELD\_MISSING

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Searching for `<field>` in Protobuf schema at `<protobufSchema>` gave `<matchSize>` matches. Candidates: `<matches>`.

### PROTOBUF\_FIELD\_MISSING\_IN\_SQL\_SCHEMA

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<field>` in Protobuf schema but there is no match in the SQL schema.

### PROTOBUF\_FIELD\_TYPE\_MISMATCH

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Type mismatch encountered for field: `<field>`.

### PROTOBUF\_JAVA\_CLASSES\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Java classes are not supported for `<protobufFunction>`. Contact Databricks Support about alternate options.

### PROTOBUF\_MESSAGE\_NOT\_FOUND

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to locate Message `<messageName>` in Descriptor.

### PROTOBUF\_NOT\_LOADED\_SQL\_FUNCTIONS\_UNUSABLE

[SQLSTATE: 22KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot call the `<functionName>` SQL function because the Protobuf data source is not loaded.

Please restart your job or session with the 'spark-protobuf' package loaded, such as by using the --packages argument on the command line, and then retry your query or command again.

### PROTOBUF\_TYPE\_NOT\_SUPPORT

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Protobuf type not yet supported: `<protobufType>`.

### PS\_CHECKPOINT\_VERSION\_TOO\_NEW

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot resume the PubSub stream because its checkpoint was written by a newer source version `<persistedVersion>` than this runtime supports `<supportedVersion>`. Upgrade to a DBR version that supports version `<persistedVersion>` or start a new stream.

### PS\_EPOCH\_MARKER\_DELETE\_FAILED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to delete PubSub fetch epoch marker `<epoch>` at `<markerPath>`.

### PS\_FETCH\_RETRY\_EXCEPTION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Task in pubsub fetch stage cannot be retried. Partition `<partitionInfo>` in stage `<stageInfo>`, TID `<taskId>`.

### PS\_INCONSISTENT\_METADATA\_STORE\_VERSIONS

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot resume the PubSub stream because its deduplication metadata store partitions are at inconsistent versions (`<versions>`). Restart the streaming query with a new checkpoint location.

### PS\_INVALID\_EMPTY\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<key>` cannot be an empty string.

### PS\_INVALID\_KEY\_TYPE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid key type for PubSub dedup: `<key>`.

### PS\_INVALID\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The option `<key>` is not supported by PubSub. It can only be used in testing.

### PS\_INVALID\_OPTION\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid type for `<key>`. Expected type of `<key>` to be type `<type>`.

### PS\_INVALID\_READ\_LIMIT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid read limit on PubSub stream: `<limit>`.

### PS\_INVALID\_UNSAFE\_ROW\_CONVERSION\_FROM\_PROTO

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid UnsafeRow to decode to PubSubMessageMetadata, the desired proto schema is: `<protoSchema>`. The input UnsafeRow might be corrupted: `<unsafeRow>`.

### PS\_INVALID\_WORKLOAD\_IDENTITY\_FEDERATION\_AUDIENCE\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The query or command failed because of an invalid read option: in spark.readStream.format("pubsub").option("workloadIdentityFederation.audience", `<audience>`). Update `<audience>` to match the following format: //iam.googleapis.com/projects/\{`PROJECT_NUMBER`}/locations/global/workloadIdentityPools/\{`POOL_ID`}/providers/\{`PROVIDER_ID`} and then retry the query or command again.

### PS\_MISSING\_AUTH\_INFO

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to find complete PubSub authentication information.

### PS\_MISSING\_REQUIRED\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find required option: `<key>`.

### PS\_MOVING\_CHECKPOINT\_FAILURE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Fail to move raw data checkpoint files from `<src>` to destination directory: `<dest>`.

### PS\_MULTIPLE\_AUTH\_OPTIONS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please provide either your Databricks service credential or your GCP service account credentials.

### PS\_MULTIPLE\_FAILED\_EPOCHS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

PubSub stream cannot be started as there is more than one failed fetch: `<failedEpochs>`.

### PS\_OPTION\_NOT\_IN\_BOUNDS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<key>` must be within the following bounds (`<min>, <max>`) exclusive of both bounds.

### PS\_OUTSTANDING\_EPOCH\_MARKERS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot start PubSub fetch epoch `<fetchEpoch>` because outstanding epoch markers `<epochMarkers>` exist in `<epochDir>`.

### PS\_PROVIDE\_CREDENTIALS\_WITH\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Shared clusters do not support authentication with instance profiles. Provide credentials to the stream directly using .option().

### PS\_SPARK\_SPECULATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

PubSub source connector is only available in cluster with `spark.speculation` disabled.

### PS\_UNABLE\_TO\_CREATE\_SUBSCRIPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An error occurred while trying to create subscription `<subId>` on topic `<topicId>`. Please check that there are sufficient permissions to create a subscription and try again.

### PS\_UNABLE\_TO\_PARSE\_PROTO

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unable to parse serialized bytes to generate proto.

### PS\_UNSUPPORTED\_GET\_OFFSET\_CALL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

getOffset is not supported without supplying a limit.

### PYTHON\_DATA\_SOURCE\_ERROR

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Failed to `<action>` Python data source `<type>`: `<msg>`

### PYTHON\_EXCEPTION

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

`<msg>`: `<traceback>`

### PYTHON\_STREAMING\_DATA\_SOURCE\_RUNTIME\_ERROR

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Failed when Python streaming data source perform `<action>`: `<msg>`

### [QUERIED\_TABLE\_INCOMPATIBLE\_WITH\_COLUMN\_MASK\_POLICY](https://docs.databricks.com/gcp/en/error-messages/queried-table-incompatible-with-column-mask-policy-error-class.md)

[SQLSTATE: 428HD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to access referenced table because a previously assigned column mask is currently incompatible with the table schema; to continue, please contact the owner of the table to update the policy:

For more details see [QUERIED\_TABLE\_INCOMPATIBLE\_WITH\_COLUMN\_MASK\_POLICY](https://docs.databricks.com/gcp/en/error-messages/queried-table-incompatible-with-column-mask-policy-error-class.md)

### [QUERIED\_TABLE\_INCOMPATIBLE\_WITH\_ROW\_LEVEL\_SECURITY\_POLICY](https://docs.databricks.com/gcp/en/error-messages/queried-table-incompatible-with-row-level-security-policy-error-class.md)

[SQLSTATE: 428HD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to access referenced table because a previously assigned row level security policy is currently incompatible with the table schema; to continue, please contact the owner of the table to update the policy:

For more details see [QUERIED\_TABLE\_INCOMPATIBLE\_WITH\_ROW\_LEVEL\_SECURITY\_POLICY](https://docs.databricks.com/gcp/en/error-messages/queried-table-incompatible-with-row-level-security-policy-error-class.md)

### QUERY\_EXECUTION\_TIMEOUT\_EXCEEDED

[SQLSTATE: 57KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Query execution was cancelled due to exceeding the timeout (`<timeoutSec>`s). You can increase the limit in seconds by setting `<config>`.

### QUERY\_INCOMPATIBLE\_WITH\_RLSCM\_POLICY

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

See go/rowcolumncontrols-allowlist. LogicalPlan `<unknownLogicalPlan>` is incompatible with RLS/CM policy.

### QUERY\_REJECTED

[SQLSTATE: 08004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Query execution was rejected.

### QUERY\_RESULT\_BATCH\_TOO\_LARGE

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The query result batch exceeded the maximum supported size of `<maxBatchSize>` bytes. The table may contain rows that are too large.

### QUERY\_RESULT\_WRITE\_TO\_CLOUD\_STORE\_BUCKET\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The cloud storage bucket `<bucket>` configured for query results does not exist or is misconfigured.

### QUERY\_RESULT\_WRITE\_TO\_CLOUD\_STORE\_PERMISSION\_ERROR

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The workspace internal storage configuration prevents Databricks from accessing the cloud store.

### QUERY\_TAGS\_NOT\_IMPLEMENTED\_ERROR

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Query tags is not yet supported in SQL.

### QUERY\_TAGS\_SYNTAX\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid format for `SET QUERY_TAGS` command.

### QUERY\_TAG\_KEY\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Query tag key '`<key>`' failed validation.

### QUERY\_TAG\_KEY\_MAY\_NOT\_BE\_EMPTY

[SQLSTATE: 2200E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Query tag key may not be null or empty. Leading and trailing whitespace is trimmed on keys and values.

### QUERY\_TAG\_MAX\_COUNT\_EXCEEDED

[SQLSTATE: 54KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Query tag count exceeded per-session limit of `<tagLimit>` tags max.

### QUERY\_TAG\_VALUE\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Query tag value '`<value>`' failed validation.

### QUERY\_TOO\_LARGE

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Query execution failed because the query is too large for this cluster size.

### [QUERY\_WATCHDOG\_CHECK\_FAILED](https://docs.databricks.com/gcp/en/error-messages/query-watchdog-check-failed-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Query watchdog check failed.

For more details see [QUERY\_WATCHDOG\_CHECK\_FAILED](https://docs.databricks.com/gcp/en/error-messages/query-watchdog-check-failed-error-class.md)

### READ\_CURRENT\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<message>`

It is possible the underlying files have been updated. You can explicitly invalidate the cache in Spark by running '`REFRESH TABLE` tableName' command in SQL or by recreating the Dataset/DataFrame involved.

### READ\_FILES\_AMBIGUOUS\_ROUTINE\_PARAMETERS

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The invocation of function `<functionName>` has `<parameterName>` and `<alternativeName>` set, which are aliases of each other. Please set only one of them.

### [READ\_FILES\_CREDENTIALS\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/read-files-credentials-parse-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An error occurred while parsing the temporary credentials of the read\_files() function.

For more details see [READ\_FILES\_CREDENTIALS\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/read-files-credentials-parse-error-error-class.md)

### READ\_TVF\_UNEXPECTED\_REQUIRED\_PARAMETER

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<functionName>` required parameter `<parameterName>` must be assigned at position `<expectedPos>` without the name.

### RECIPIENT\_EXPIRATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Only `TIMESTAMP`/`TIMESTAMP_LTZ`/`TIMESTAMP_NTZ` types are supported for recipient expiration timestamp.

### RECURSION\_LEVEL\_LIMIT\_EXCEEDED

[SQLSTATE: 42836](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Recursion level limit `<levelLimit>` reached but query has not exhausted, try increasing it like '`WITH RECURSIVE` t(col) MAX `RECURSION LEVEL` 200'.

### RECURSION\_ROW\_LIMIT\_EXCEEDED

[SQLSTATE: 42836](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Recursion row limit `<rowLimit>` reached but query has not exhausted, try setting a larger `LIMIT` value when querying the CTE relation.

### RECURSIVE\_CTE\_IN\_LEGACY\_MODE

[SQLSTATE: 42836](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Recursive definitions cannot be used in legacy CTE precedence mode (spark.sql.legacy.ctePrecedencePolicy=`LEGACY`).

### RECURSIVE\_CTE\_WITH\_LEGACY\_INLINE\_FLAG

[SQLSTATE: 42836](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Recursive definitions cannot be used when legacy inline flag is set to true (spark.sql.legacy.inlineCTEInCommands=true).

### RECURSIVE\_FILE\_LOOKUP\_NOT\_SUPPORTED\_FOR\_PARTITIONED\_DATA\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Recursive file loading is not supported when the data source has explicit partition columns. Either remove the option "recursiveFileLookup", or read the data without supplying partition columns (for example, do not read a partitioned table).

### RECURSIVE\_PROTOBUF\_SCHEMA

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found recursive reference in Protobuf schema, which can not be processed by Spark by default: `<fieldDescriptor>`. try setting the option `recursive.fields.max.depth` 1 to 10. Going beyond 10 levels of recursion is not allowed.

### RECURSIVE\_VIEW

[SQLSTATE: 42K0H](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Recursive view `<viewIdent>` detected (cycle: `<newPath>`).

### REF\_DEFAULT\_VALUE\_IS\_NOT\_ALLOWED\_IN\_PARTITION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

References to `DEFAULT` column values are not allowed within the `PARTITION` clause.

### RELATION\_LARGER\_THAN\_8G

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Can not build a `<relationName>` that is larger than 8G.

### REMAINDER\_BY\_ZERO

[SQLSTATE: 22012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Remainder by zero. Use `try_mod` to tolerate divisor being 0 and return `NULL` instead. If necessary set `<config>` to "false" to bypass this error.

### REMOTE\_FUNCTION\_HTTP\_FAILED\_ERROR

[SQLSTATE: 57012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

The remote HTTP request failed with code `<errorCode>`, and error message `<errorMessage>`

### REMOTE\_FUNCTION\_HTTP\_REDIRECT\_DISABLED

[SQLSTATE: 57012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

The remote HTTP request returned a redirect (HTTP `<statusCode>`), but following redirects is disabled for this request. Update the connection or endpoint to target the final URL directly.

### REMOTE\_FUNCTION\_HTTP\_RESULT\_PARSE\_ERROR

[SQLSTATE: 22032](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to evaluate the `<functionName>` SQL function due to inability to parse the `JSON` result from the remote HTTP response; the error message is `<errorMessage>`. Check API documentation: `<docUrl>`. Please fix the problem indicated in the error message and retry the query again.

### REMOTE\_FUNCTION\_HTTP\_RESULT\_UNEXPECTED\_ERROR

[SQLSTATE: 57012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Failed to evaluate the `<functionName>` SQL function due to inability to process the unexpected remote HTTP response; the error message is `<errorMessage>`. Check API documentation: `<docUrl>`. Please fix the problem indicated in the error message and retry the query again.

### REMOTE\_FUNCTION\_HTTP\_RETRY\_TIMEOUT

[SQLSTATE: 57012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

The remote request failed after retrying `<N>` times; the last failed HTTP error code was `<errorCode>` and the message was `<errorMessage>`

### REMOTE\_FUNCTION\_MISSING\_REQUIREMENTS\_ERROR

[SQLSTATE: 57012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Failed to evaluate the `<functionName>` SQL function because `<errorMessage>`. Check requirements in `<docUrl>`. Please fix the problem indicated in the error message and retry the query again.

### [REMOTE\_QUERY\_FUNCTION\_UNSUPPORTED\_CONNECTOR\_PARAMETERS](https://docs.databricks.com/gcp/en/error-messages/remote-query-function-unsupported-connector-parameters-error-class.md)

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Parameters `<parameterNames>` are not supported for the remote\_query function, which queries a connection '`<connectionName>`' of type '`<connectionType>`'.

For more details see [REMOTE\_QUERY\_FUNCTION\_UNSUPPORTED\_CONNECTOR\_PARAMETERS](https://docs.databricks.com/gcp/en/error-messages/remote-query-function-unsupported-connector-parameters-error-class.md)

### RENAME\_SRC\_PATH\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to rename as `<sourcePath>` was not found.

### RENAME\_TABLE\_SOURCE\_DESTINATION\_DATABASE\_MISMATCH

[SQLSTATE: 3F000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3f-invalid-schema-name)

`RENAME TABLE` source and destination databases do not match: `<db>` != `<newDb>`.

### RENAME\_TEMP\_VIEW\_WITH\_DATABASE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`RENAME TEMPORARY VIEW` from `<oldName>` to `<newName>`: cannot specify database name `<db>` in the destination table.

### REPAIR\_TABLE\_REQUIRES\_EXTERNAL\_METADATA

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`REPAIR TABLE` `...` `SYNC METADATA` requires external metadata to be enabled for the target streaming table or materialized view. For more information, see `<docLink>`.

### REPEATED\_CLAUSE

[SQLSTATE: 42614](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<clause>` clause may be used at most once per `<operation>` operation.

### REPLACE\_WHERE\_PREDICATE\_OVERRIDE\_UNSUPPORTED

[SQLSTATE: 42KDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Predicate overrides cannot be specified for table `<tableName>` because a `REFRESH WHERE` flow writing to the table does not exist. Remove the `WHERE` clause and try again.

### REQUIRED\_PARAMETER\_ALREADY\_PROVIDED\_POSITIONALLY

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The routine `<routineName>` required parameter `<parameterName>` has been assigned at position `<positionalIndex>` without the name.

Please update the function call to either remove the named argument with `<parameterName>` for this parameter or remove the positional

argument at `<positionalIndex>` and then try the query again.

### REQUIRED\_PARAMETER\_NOT\_FOUND

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot invoke routine `<routineName>` because the parameter named `<parameterName>` is required, but the routine call did not supply a value. Please update the routine call to supply an argument value (either positionally at index `<index>` or by name) and retry the query again.

### REQUIRES\_EXPLICIT\_NAME\_IN\_WATERMARK\_CLAUSE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The watermark clause requires an explicit name if expression is specified, but got `<sqlExpr>`.

### REQUIRES\_SINGLE\_PART\_NAMESPACE

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<sessionCatalog>` requires a single-part namespace, but got identifier `<identifier>`.

### RESCUED\_DATA\_COLUMN\_CONFLICT\_WITH\_SINGLE\_VARIANT

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The 'rescuedDataColumn' DataFrame API reader option is mutually exclusive with the 'singleVariantColumn' DataFrame API option.

Please remove one of them and then retry the DataFrame operation again.

### RESERVED\_CDC\_COLUMNS\_ON\_WRITE

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The write contains reserved columns `<columnList>` that are used

internally as metadata for Change Data Feed. To write to the table either rename/drop

these columns or disable Change Data Feed on the table by setting

`<config>` to false.

### RESERVED\_DATABASE\_NAME

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the database `<database>` because the name is reserved for system use.

### [RESTRICTED\_STREAMING\_OPTION\_PERMISSION\_ENFORCED](https://docs.databricks.com/gcp/en/error-messages/restricted-streaming-option-permission-enforced-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The option `<option>` has restricted values on Shared clusters for the `<source>` source.

For more details see [RESTRICTED\_STREAMING\_OPTION\_PERMISSION\_ENFORCED](https://docs.databricks.com/gcp/en/error-messages/restricted-streaming-option-permission-enforced-error-class.md)

### RESULT\_ROWS\_MISMATCH

[SQLSTATE: 21000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

External UDF output row count was `<output_length>`; expected `<input_length>`. An external UDF must produce exactly one row for each input row.

### ROLLING\_WINDOW\_EMPTY\_MEASURES

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Rolling window requires at least one measure expression.

### ROLLING\_WINDOW\_EMPTY\_ORDER\_BY

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Rolling window requires an orderBy column to be specified.

### ROLLING\_WINDOW\_EMPTY\_PARTITION\_BY

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Rolling window requires at least one partitionBy column.

### ROLLING\_WINDOW\_MEASURE\_NOT\_AGGREGATE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Rolling window measure at index `<index>` must be an aggregate function (for example, sum, avg, count), but got `<expr>`.

Expressions like 'sum(col) + 1' are not allowed. Use only aggregate functions.

### ROLLING\_WINDOW\_MEASURE\_NO\_WINDOW\_SPEC

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Rolling window measure at index `<index>` is missing a .over() clause to specify the window duration.

### ROLLING\_WINDOW\_ORDER\_COLUMN\_NOT\_TIMESTAMP

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Rolling window orderBy column `<columnName>` must be of TimestampType, but got `<columnType>`.

### ROLLING\_WINDOW\_UNSUPPORTED\_MONTH\_INTERVAL

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Rolling window does not support year-month intervals: `<interval>`. Use a day-time interval instead.

### ROLLING\_WINDOW\_WITH\_EXISTING\_WINDOW\_SPEC

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A rolling window specification cannot be applied to a column that already has a window specification.

### ROLLING\_WINDOW\_WITH\_REGULAR\_WINDOW\_SPEC

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A column with a rolling window specification cannot have a regular window specification applied to it.

### ROUTINE\_ALREADY\_EXISTS

[SQLSTATE: 42723](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the `<newRoutineType> <routineName>` because a `<existingRoutineType>` of that name already exists.

Choose a different name, drop or replace the existing `<existingRoutineType>`, or add the `IF NOT EXISTS` clause to tolerate a pre-existing `<newRoutineType>`.

### ROUTINE\_NOT\_FOUND

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The routine `<routineName>` cannot be found. Verify the spelling and correctness of the schema and catalog.

If you did not qualify the name with a schema and catalog, verify the current\_schema() output, or qualify the name with the correct schema and catalog.

To tolerate the error on drop use `DROP` `...` `IF EXISTS`.

### ROUTINE\_PARAMETER\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The routine `<routineName>` does not support the parameter `<parameterName>` specified at position `<pos>`.`<suggestion>`

### ROUTINE\_USES\_SYSTEM\_RESERVED\_CLASS\_NAME

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<routineName>` cannot be created because the specified classname '`<className>`' is reserved for system use. Please rename the class and try again.

### ROW\_COLUMN\_ACCESS\_AMBIGUOUS\_LITERAL\_PARSEABLE\_PARAMETERS

[SQLSTATE: 42702](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ambiguous literal parseable parameters in policies for table `<tableName>` are not supported: `<parameterDetails>`.

### ROW\_FILTER\_CONCURRENT\_MODIFICATION

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

The operation on table `<tableName>` failed because it was modified by another concurrent operation. Retry your statement so that it applies to the latest version of the table.

### ROW\_LEVEL\_SECURITY\_CHECK\_CONSTRAINT\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating `CHECK` constraint on table `<tableName>` with row level security policies is not supported.

### [ROW\_LEVEL\_SECURITY\_COLUMN\_MASK\_FEATURE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/row-level-security-column-mask-feature-not-supported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Row level security policies and column mask policies for `<tableName>` are not supported:

For more details see [ROW\_LEVEL\_SECURITY\_COLUMN\_MASK\_FEATURE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/row-level-security-column-mask-feature-not-supported-error-class.md)

### ROW\_LEVEL\_SECURITY\_COLUMN\_MASK\_INVALID\_FUNCTION\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid function name: `<functionName>`. A row filter or column mask function name may comprise at most three parts: catalog.schema.function.

### ROW\_LEVEL\_SECURITY\_COLUMN\_MASK\_UNRESOLVED\_REFERENCE\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A column with name `<objectName>` referenced in a row filter or column mask function parameter cannot be resolved.

This may happen if the underlying table schema has changed and the referenced column no longer exists.

For example, this can occur if the column was removed in an external system (for example, a federated table), or if a `REPLACE` operation on the table dropped the column.

To resolve this, users with management privileges on the table can inspect the current row filters and column masks using `DESCRIBE TABLE EXTENDED`, and drop or re-create any that reference non-existent columns using `ALTER TABLE` `...` `SET`/`DROP` ROW `FILTER` or MASK.

Note: Databricks introduced a safety improvement to preserve column masks during `REPLACE` operations when the new schema includes the same column, even if the mask is not specified. This prevents unintentional policy loss on tables.

### ROW\_LEVEL\_SECURITY\_DUPLICATE\_COLUMN\_NAME

[SQLSTATE: 42734](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A `<statementType>` statement attempted to assign a row level security policy to a table, but two or more referenced columns had the same name `<columnName>`, which is invalid.

### [ROW\_LEVEL\_SECURITY\_FEATURE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/row-level-security-feature-not-supported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Row level security policies for `<tableName>` are not supported:

For more details see [ROW\_LEVEL\_SECURITY\_FEATURE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/row-level-security-feature-not-supported-error-class.md)

### ROW\_LEVEL\_SECURITY\_INCOMPATIBLE\_SCHEMA\_CHANGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unable to `<statementType> <columnName>` from table `<tableName>` because it's referenced in a row level security policy. The table owner must remove or alter this policy before proceeding.

### ROW\_LEVEL\_SECURITY\_INCONSISTENT\_ROW\_FILTERS

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Multiple non-equivalent row filters are defined on `<tableName>`:

`<filtersList>`

All row filters on a table must call the same function with equivalent arguments. Contact the table owner or policy administrator to align the filters, or re-apply the native row filter via `ALTER TABLE ... SET ROW FILTER ...` to match the ABAC policy, then retry the `<statementType>` statement.

### ROW\_LEVEL\_SECURITY\_INDEX\_CREATION\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot create index `ON TABLE <tableName>` because the table has a row level security policy defined.

### ROW\_LEVEL\_SECURITY\_INDEX\_REFRESH\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot refresh index `ON TABLE <tableName>` because the table has a row level security policy defined.

### ROW\_LEVEL\_SECURITY\_LITERAL\_PARSEABLE\_COLUMN\_NAME\_AS\_PARAMETER

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` is not supported as input to a row filter function due to ambiguity with the corresponding constant value. Please rename the column to a non-ambiguous name.

### ROW\_LEVEL\_SECURITY\_MERGE\_UNSUPPORTED\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MERGE INTO` operations do not support row level security policies in source table `<tableName>`.

### ROW\_LEVEL\_SECURITY\_MERGE\_UNSUPPORTED\_TARGET

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MERGE INTO` operations do not support writing into table `<tableName>` with row level security policies.

### ROW\_LEVEL\_SECURITY\_MULTI\_PART\_COLUMN\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

This statement attempted to assign a row level security policy to a table, but referenced column `<columnName>` had multiple name parts, which is invalid.

### ROW\_LEVEL\_SECURITY\_REQUIRE\_UNITY\_CATALOG

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Row level security policies are only supported in Unity Catalog.

### ROW\_LEVEL\_SECURITY\_SHOW\_PARTITIONS\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`SHOW PARTITIONS` command is not supported for`<format>` tables with row level security policy.

### ROW\_LEVEL\_SECURITY\_TABLE\_CLONE\_SOURCE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<mode>` clone from table `<tableName>` with row level security policy is not supported.

### ROW\_LEVEL\_SECURITY\_TABLE\_CLONE\_TARGET\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<mode>` clone to table `<tableName>` with row level security policy is not supported.

### ROW\_LEVEL\_SECURITY\_UNSUPPORTED\_CONSTANT\_AS\_PARAMETER

[SQLSTATE: 0AKD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Using a constant as a parameter in a row level security policy is not supported. Please update your SQL command to remove the constant from the row filter definition and then retry the command again.

### ROW\_LEVEL\_SECURITY\_UNSUPPORTED\_DATA\_TYPE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Function `<functionName>` used for row level security policy has parameter with unsupported data type `<dataType>`.

### ROW\_LEVEL\_SECURITY\_UNSUPPORTED\_PROVIDER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to execute `<statementType>` command because assigning row level security policy is not supported for target data source with table provider: "`<provider>`".

### ROW\_SUBQUERY\_TOO\_MANY\_ROWS

[SQLSTATE: 21000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

More than one row returned by a subquery used as a row.

### ROW\_VALUE\_IS\_NULL

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found `NULL` in a row at the index `<index>`, expected a non-`NULL` value.

### RULE\_ID\_NOT\_FOUND

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Not found an id for the rule name "`<ruleName>`". Please modify RuleIdCollection.scala if you are adding a new rule.

### RUN\_EMPTY\_PIPELINE

[SQLSTATE: 42617](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipelines are expected to have at least one non-temporary dataset defined (tables, persisted views) but no non-temporary datasets were found in your pipeline.

Please verify that you have included the expected source files, and that your source code includes table definitions (for example, `CREATE MATERIALIZED VIEW` in SQL code, @dp.table in python code).

### SALESFORCE\_DATA\_SHARE\_API\_UNAUTHORIZED

[SQLSTATE: 42505](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Authorization to the Salesforce Data Share API failed. Verify that the Databricks connection details are provided to the appropriate Salesforce data share target.

### SAMPLE\_TABLE\_PERMISSIONS

[SQLSTATE: 42832](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Permissions not supported on sample databases/tables.

### SCALAR\_FUNCTION\_NOT\_COMPATIBLE

[SQLSTATE: 42K0O](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

ScalarFunction `<scalarFunc>` not overrides method 'produceResult(InternalRow)' with custom implementation.

### SCALAR\_FUNCTION\_NOT\_FULLY\_IMPLEMENTED

[SQLSTATE: 42K0P](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

ScalarFunction `<scalarFunc>` not implements or overrides method 'produceResult(InternalRow)'.

### SCALAR\_SUBQUERY\_IS\_IN\_GROUP\_BY\_OR\_AGGREGATE\_FUNCTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The correlated scalar subquery '`<sqlExpr>`' is neither present in `GROUP BY`, nor in an aggregate function.

Add it to `GROUP BY` using ordinal position or wrap it in `first()` (or `first_value`) if you don't care which value you get.

### SCALAR\_SUBQUERY\_TOO\_MANY\_ROWS

[SQLSTATE: 21000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

More than one row returned by a subquery used as an expression.

### SCDS\_COMMIT\_LOG\_UNAVAILABLE

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The commit log does not exist with checkpoint location=`<checkpointLocation>`.

### SCDS\_INVALID\_OPTION\_VALUE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value for source option=`<optionName>` with errorMsg=`<message>`.

### SCDS\_OFFSET\_LOG\_UNAVAILABLE

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The offset log does not exist with checkpoint location=`<checkpointLocation>`.

### SCDS\_REQUIRED\_OPTION\_UNSPECIFIED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to specify required option=`<optionName>`.

### SCHEDULE\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add `<scheduleType>` to a table that already has `<existingScheduleType>`. Please drop the existing schedule or use `ALTER TABLE` `...` `ALTER <scheduleType>` ... to alter it.

### SCHEDULE\_PERIOD\_INVALID

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The schedule period for `<timeUnit>` must be an integer value between 1 and `<upperBound>` (inclusive). Received: `<actual>`.

### SCHEMA\_ALREADY\_EXISTS

[SQLSTATE: 42P06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create schema `<schemaName>` because it already exists.

Choose a different name, drop the existing schema, or add the `IF NOT EXISTS` clause to tolerate pre-existing schema.

### SCHEMA\_NOT\_EMPTY

[SQLSTATE: 2BP01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2b-dependent-privilege-descriptors-still-exist)

Cannot drop a schema `<schemaName>` because it contains objects.

Use `DROP SCHEMA` `...` `CASCADE` to drop the schema and all its objects.

### SCHEMA\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The schema `<schemaName>` cannot be found. Verify the spelling and correctness of the schema and catalog.

If you did not qualify the name with a catalog, verify the current\_schema() output, or qualify the name with the correct catalog.

To tolerate the error on drop use `DROP SCHEMA IF EXISTS`.

### SCHEMA\_REGISTRY\_CONFIGURATION\_ERROR

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema from schema registry could not be initialized. `<reason>`.

### SCHEMA\_REGISTRY\_SCHEMA\_CONFLICT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot use schema registry options with a provided schema. Specify either a schema or registry options (schema.registry.subject and schema.registry.address), but not both.

### SEARCH\_ARGUMENT\_NOT\_CONSTANT

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SEARCH` requires the `<argument>` argument to be a string constant, but `<actualExpr>` was given.

### [SEARCH\_ARGUMENT\_NOT\_LITERAL](https://docs.databricks.com/gcp/en/error-messages/search-argument-not-literal-error-class.md)

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SEARCH` requires the `<argument>` argument to be a string literal, but `<actualExpr>` was given.

For more details see [SEARCH\_ARGUMENT\_NOT\_LITERAL](https://docs.databricks.com/gcp/en/error-messages/search-argument-not-literal-error-class.md)

### SEARCH\_ARGUMENT\_REQUIRES\_MODE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<parameterName>` applies only to `<requiredMode>` mode, but the mode is `<mode>`. Remove the argument or set mode `=> <requiredMode>`.

### SEARCH\_ARGUMENT\_VALUE\_NOT\_ALLOWED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<parameterName>` must be one of the following values: `<allowedValues>`, but `<value>` was given.

### SEARCH\_INDEX\_CATALOG\_SCHEMA\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create search index `<indexName>` in catalog `<indexCatalog>` and schema `<indexSchema>`. Index must be created in the same catalog and schema as the base table `<tableName> (<tableCatalog>`.`<tableSchema>`).

### SEARCH\_INDEX\_CLUSTER\_BY\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `CLUSTER BY` clause is not supported for search index creation. Create the search index without a `CLUSTER BY` clause.

### [SEARCH\_INDEX\_CLUSTER\_BY\_UNSUPPORTED\_COLUMN\_TYPE](https://docs.databricks.com/gcp/en/error-messages/search-index-cluster-by-unsupported-column-type-error-class.md)

[SQLSTATE: 42HA2](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CLUSTER BY` column `<columnName>` has type `<actualType>`, which is not supported.

For more details see [SEARCH\_INDEX\_CLUSTER\_BY\_UNSUPPORTED\_COLUMN\_TYPE](https://docs.databricks.com/gcp/en/error-messages/search-index-cluster-by-unsupported-column-type-error-class.md)

### [SEARCH\_INDEX\_CORRUPT\_METADATA](https://docs.databricks.com/gcp/en/error-messages/search-index-corrupt-metadata-error-class.md)

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot read metadata for index `<indexName>`. Drop the index and recreate it.

For more details see [SEARCH\_INDEX\_CORRUPT\_METADATA](https://docs.databricks.com/gcp/en/error-messages/search-index-corrupt-metadata-error-class.md)

### [SEARCH\_INDEX\_INVALID\_PARAMETERS](https://docs.databricks.com/gcp/en/error-messages/search-index-invalid-parameters-error-class.md)

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the search index because a parameter is invalid.

For more details see [SEARCH\_INDEX\_INVALID\_PARAMETERS](https://docs.databricks.com/gcp/en/error-messages/search-index-invalid-parameters-error-class.md)

### SEARCH\_INDEX\_NAME\_CONFLICTS\_WITH\_TABLE

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the search index because a table named `<indexName>` already exists. Specify a different index name.

### SEARCH\_INDEX\_OUTDATED\_SCHEMA

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Search index `<indexName>` has an outdated schema. Recreate the index using:

`DROP INDEX <indexName>`;

`CREATE SEARCH INDEX <indexName> ON <tableName>(<columnsList>)`;

### SEARCH\_INDEX\_STAR\_ARGUMENT\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE SEARCH INDEX` does not accept a star (`*`) argument. Indexed columns must be listed explicitly.

### [SEARCH\_INDEX\_UNSUPPORTED\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/search-index-unsupported-feature-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot create the search index because a requested feature is not supported.

For more details see [SEARCH\_INDEX\_UNSUPPORTED\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/search-index-unsupported-feature-error-class.md)

### SEARCH\_INVALID\_IP\_PATTERN

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

In IP mode, the search pattern must be a valid IPv4 or IPv6 address or CIDR notation, but got `<inputValue>`.

Valid formats: '192.168.1.1', '192.168.0.0/24' (IPv4), '2001\:db8::1', '2001\:db8::/32' (IPv6), '::ffff:192.168.1.1' (IPv4-mapped IPv6).

IPv4 octets must be 0-255 with prefix 0-32. IPv6 uses hex groups with prefix 0-128.

### SEARCH\_INVALID\_WORD\_PATTERN

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

In word mode, the search pattern must contain at least one word token, but got `<pattern>`.

Provide a string with at least one word.

### [SEARCH\_REQUIRES\_SEARCHABLE\_COLUMNS](https://docs.databricks.com/gcp/en/error-messages/search-requires-searchable-columns-error-class.md)

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<context>` requires searchable columns: `STRING` with UTF8\_BINARY collation, `VARIANT, STRUCT` (with searchable fields), or `ARRAY` of searchable types.

For more details see [SEARCH\_REQUIRES\_SEARCHABLE\_COLUMNS](https://docs.databricks.com/gcp/en/error-messages/search-requires-searchable-columns-error-class.md)

### SEARCH\_STAR\_ARGUMENT\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `SEARCH` and `ISEARCH` functions do not accept a star (`*`) argument. Searchable columns must be listed explicitly.

### SECOND\_FUNCTION\_ARGUMENT\_NOT\_INTEGER

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The second argument of `<functionName>` function needs to be an integer.

### SECRET\_EXPIRATION\_INVALID\_TIMESTAMP

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `EXPIRATION` clause in `CREATE SECRET` requires a `TIMESTAMP` or `TIMESTAMP_NTZ` typed literal, for example, `EXPIRATION TIMESTAMP_NTZ` '2025-12-31 23:59:59'. Please provide a valid typed timestamp literal and retry the command.

### SECRET\_FUNCTION\_INVALID\_LOCATION

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot execute `<commandType>` command with one or more non-encrypted references to the `SECRET` function; please encrypt the result of each such function call with `AES_ENCRYPT` and try the command again

### SECURABLE\_DOES\_NOT\_EXIST

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<securable>` does not exist.

### SEED\_EXPRESSION\_IS\_UNFOLDABLE

[SQLSTATE: 42K08](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The seed expression `<seedExpr>` of the expression `<exprWithSeed>` must be foldable.

### SERIALIZATION\_FAILED

[SQLSTATE: 58031](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Serialization failed while writing object. Serializer: `<serializerClass>`, Error Message: `<errorMessage>`

### SERVER\_IS\_BUSY

[SQLSTATE: 08KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The server is busy and could not handle the request. Please wait a moment and try again.

### SETTING\_PIPELINES\_PIPELINE\_ID\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Setting pipelines.pipelineId via `ALTER TABLE` `...` `SET TBLPROPERTIES` is not supported.

### SET\_QUERY\_TAGS\_SYNTAX\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid `QUERY_TAGS` syntax. Valid operations are read, set with a value, remove with `UNSET`, or set key-only with `NULL`; `RESET` is unsupported.

### SFTP\_DEPRECATED\_SSH\_RSA\_KEY\_ALGORITHM

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The SFTP server `<host>`:`<port>` is using the deprecated SSH RSA algorithm for key exchange.

Consider upgrade the SFTP server to use a more secure algorithm such as `ECDSA` or ED25519.

Alternatively, bypass this error by setting `<escapeHatchConf>` to true

### SFTP\_MISSING\_CREDENTIALS

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

SFTP password or private key file is not set. Please check if you've provided one through options or through a UC connection.

### SFTP\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

SFTP file system is not enabled.

### SFTP\_UNABLE\_TO\_CONNECT

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Failed to connect to SFTP server `<host>` on port `<port>` with username `<user>`.

`<error>`

### SFTP\_UNKNOWN\_HOST\_KEY

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The host key of the SFTP server `<host>` is unknown or has changed.

Please verify the error message below, then provide the key fingerprint in the `Key fingerprint` field.

For example, if the message states '`ECDSA` key fingerprint is SHA256:XXX/YYY', submit 'SHA256:XXX/YYY' as the key fingerprint.

Connection error message:

`<error>`

### [SFTP\_URI\_AND\_CREDENTIAL\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/sftp-uri-and-credential-mismatch-error-class.md)

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

When loading data from an SFTP path using the 'databricks.connection' option, the

configuration in the SFTP URI does not match the Unity Catalog connection credentials

for path `<path>`. Please update your SFTP URI or Unity Catalog connection to ensure the

host, port, and user are consistent.

For more details see [SFTP\_URI\_AND\_CREDENTIAL\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/sftp-uri-and-credential-mismatch-error-class.md)

### SHOW\_COLUMNS\_WITH\_CONFLICT\_NAMESPACE

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SHOW COLUMNS` with conflicting namespaces: `<namespaceA>` != `<namespaceB>`.

### SHOW\_STATISTICS\_REQUIRES\_AS\_JSON

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SHOW STATISTICS` requires `AS JSON`. Syntax: `SHOW STATISTICS FROM` table\_name \[`FOR COLUMNS` c1, ... | `FOR `ALL` COLUMNS`] `AS JSON`.

### SHOW\_STATISTICS\_UNSUPPORTED\_TABLE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`SHOW STATISTICS` is not supported for the table type of `<tableName>`.

### SHUFFLE\_BLOCK\_MIGRATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Shuffle block `<blockId>` cannot be migrated to the receiving executor: its shuffle block resolver `<resolverClass>` must implement MigratableResolver. See the cause for details.

### SKETCH\_INVALID\_LG\_NOM\_ENTRIES

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`; the `lgNomEntries` value must be between `<min>` and `<max>`, inclusive: `<value>`.

### [SNOWFLAKE\_DATA\_SOURCE\_OPTIONS\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/snowflake-data-source-options-validation-failed-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Snowflake data source option(s) validation failed.

For more details see [SNOWFLAKE\_DATA\_SOURCE\_OPTIONS\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/snowflake-data-source-options-validation-failed-error-class.md)

### SORT\_BY\_WITHOUT\_BUCKETING

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

sortBy must be used together with bucketBy.

### SPARK\_JOB\_CANCELLED

[SQLSTATE: HY008](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-hy-cli-specific-condition)

Job `<jobId>` cancelled `<reason>`

### SPECIFY\_BUCKETING\_IS\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A `CREATE TABLE` without explicit column list cannot specify bucketing information.

Please use the form with explicit column list and specify bucketing information.

Alternatively, allow bucketing information to be inferred by omitting the clause.

### SPECIFY\_CLUSTER\_BY\_WITH\_BUCKETING\_IS\_NOT\_ALLOWED

[SQLSTATE: 42908](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify both `CLUSTER BY` and `CLUSTERED BY INTO BUCKETS`.

### SPECIFY\_CLUSTER\_BY\_WITH\_PARTITIONED\_BY\_IS\_NOT\_ALLOWED

[SQLSTATE: 42908](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify both `CLUSTER BY` and `PARTITIONED BY`.

### SPECIFY\_PARTITION\_IS\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A `CREATE TABLE` without explicit column list cannot specify `PARTITIONED BY`.

Please use the form with explicit column list and specify `PARTITIONED BY`.

Alternatively, allow partitioning to be inferred by omitting the `PARTITION BY` clause.

### SQLSERVER\_PORT\_AND\_NAMED\_INSTANCE\_ARE\_MUTUALLY\_EXCLUSIVE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

SQL Server connection options 'port' and 'named\_instance' are mutually exclusive. Please specify only one of them.

### SQL\_CONF\_NOT\_FOUND

[SQLSTATE: 42K0I](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The SQL config `<sqlConf>` cannot be found. Please verify that the config exists.

### SQL\_SCRIPT\_IN\_EXECUTE\_IMMEDIATE

[SQLSTATE: 07501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-07-dynamic-sql-error)

SQL Scripts in `EXECUTE IMMEDIATE` commands are not allowed. Please ensure that the SQL query provided (`<sqlString>`) is not SQL Script. Make sure the sql\_string is a well-formed SQL statement and does not contain `BEGIN` and END.

### SQL\_SCRIPT\_MAX\_NESTING\_DEPTH\_AT\_RUNTIME\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Maximum nesting depth of SQL Script bodies has been exceeded at runtime. The maximum nesting depth allowed is `<maxNestingDepth>`, and the script would nest `<nestingDepth>` levels deep, counting each nested body (`BEGIN`...END blocks, control-flow branch bodies, and exception handler bodies).

### SQL\_SCRIPT\_MAX\_NESTING\_DEPTH\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

SQL Script nests at least `<nestingDepth>` levels deep, exceeding the maximum allowed depth of `<maxNestingDepth>`.

### SQL\_SCRIPT\_MAX\_NUMBER\_OF\_CHARACTERS\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Maximum number of characters in a SQL Script (id: `<scriptId>`) has been exceeded. The maximum number of characters allowed is `<maxChars>`, and the script had `<chars>` characters.

### SQL\_SCRIPT\_MAX\_NUMBER\_OF\_LINES\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Maximum number of lines in a SQL Script (id: `<scriptId>`) has been exceeded. The maximum number of lines allowed is `<maxLines>`, and the script had `<lines>` lines.

### SQL\_SCRIPT\_MAX\_NUMBER\_OF\_LOCAL\_VARIABLE\_DECLARATIONS\_EXCEEDED

[SQLSTATE: 54KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Maximum number of local variable declarations in a SQL Script (id: `<scriptId>`) has been exceeded. The maximum number of declarations allowed is `<maxDeclarations>`, and the script had `<declarations>`.

### SQL\_SCRIPT\_NESTED\_SCRIPTS\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

SQL Scripts nest `<nestedScripts>` levels deep, exceeding the maximum allowed number of nested SQL Scripts of `<maxNestedScripts>`. SQL Scripts nest through `EXECUTE IMMEDIATE` with a script.

### SQL\_STORED\_PROCEDURES\_NESTED\_CALLS\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Maximum number of nested procedure calls has been exceeded with procedure (name: `<procedureName>`, callId: `<procedureCallId>`). The maximum allowed number of nested procedure calls is `<limit>`.

### SQS\_ACCESS\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Access denied to the Amazon SQS queue '`<queueUrl>`' while starting the SQS stream opened with spark.readStream.format("sqs") or the read\_sqs SQL table-valued function. The credentials may lack the required permissions, or the queue's KMS key or resource policy may deny access. Grant the credentials access to the queue and then retry your query or command again.

### SQS\_CHECKPOINT\_VERSION\_TOO\_NEW

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot resume the SQS stream opened with spark.readStream.format("sqs") or the read\_sqs SQL table-valued function because its checkpoint was written by a newer source version `<persistedVersion>` than this runtime supports (`<supportedVersion>`). Upgrade to a runtime that supports version `<persistedVersion>` or start a new stream.

### SQS\_DECODE\_ERROR

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The Amazon SQS stream was unable to decode a staged row: `<row>`. The stream's staged data may be corrupted.

### SQS\_EPOCH\_MARKER\_DELETE\_FAILED

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The Amazon SQS stream failed to delete fetch epoch marker `<epoch>` at `<markerPath>`.

### SQS\_FETCH\_RETRY\_EXCEPTION

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

SQS fetch task was retried unexpectedly (partition=`<partitionInfo>`, stage=`<stageInfo>`, task=`<taskId>`, queryId=`<queryId>`, queryRunId=`<queryRunId>`).

### SQS\_INCONSISTENT\_METADATA\_STORE\_VERSIONS

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot resume the SQS stream opened with spark.readStream.format("sqs") or the read\_sqs SQL table-valued function because its deduplication metadata store partitions are at inconsistent versions (`<versions>`). Restart the streaming query with a new checkpoint location and then retry your query or command again.

### SQS\_INVALID\_EMPTY\_OPTION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The read option '`<key>`' for the Amazon SQS stream must not be an empty string. Set '`<key>`' to a non-empty value in spark.readStream.format("sqs").option("`<key>`", ...) or the read\_sqs SQL table-valued function, and then retry your query or command again.

### SQS\_INVALID\_KEY\_TYPE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The Amazon SQS stream encountered an invalid key type during message deduplication: `<key>`.

### SQS\_INVALID\_OPTION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The read option '`<key>`' for the Amazon SQS stream has an invalid value. Correct '`<key>`' in spark.readStream.format("sqs").option("`<key>`", ...) or the read\_sqs SQL table-valued function, and then retry your query or command again.

### SQS\_INVALID\_OPTION\_TYPE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The read option '`<key>`' for the Amazon SQS stream must be of type `<type>`. Set '`<key>`' to a `<type>` value in spark.readStream.format("sqs").option("`<key>`", ...) or the read\_sqs SQL table-valued function, and then retry your query or command again.

### SQS\_INVALID\_READ\_LIMIT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Amazon SQS stream received an unsupported read limit: `<limit>`. Configure a supported read limit such as the maxFilesPerTrigger or maxBytesPerTrigger option on spark.readStream.format("sqs") or the read\_sqs SQL table-valued function, and then retry your query or command again.

### SQS\_MISSING\_REQUIRED\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Amazon SQS stream is missing the required read option '`<key>`'. Provide '`<key>`' via spark.readStream.format("sqs").option("`<key>`", ...) or as a read\_sqs SQL table-valued function argument, and then retry your query or command again.

### SQS\_MOVING\_CHECKPOINT\_FAILURE

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The Amazon SQS stream failed to move a raw checkpoint file from `<src>` to `<dest>`.

### SQS\_MULTIPLE\_FAILED\_EPOCHS

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The Amazon SQS stream cannot start because multiple fetch epochs failed: `<failedEpochs>`.

### SQS\_OPTION\_NOT\_IN\_BOUNDS

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The read option '`<key>`' for the Amazon SQS stream must be in the range (`<min>, <max>`). Set '`<key>`' to a value in that range in spark.readStream.format("sqs").option("`<key>`", ...) or the read\_sqs SQL table-valued function, and then retry your query or command again.

### SQS\_OUTSTANDING\_EPOCH\_MARKERS

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The Amazon SQS stream cannot start fetch epoch `<fetchEpoch>` because outstanding epoch markers `<epochMarkers>` exist in `<epochDir>`.

### SQS\_QUEUE\_NOT\_FOUND

[SQLSTATE: 42K02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Amazon SQS queue '`<queueUrl>`' was not found in region '`<region>`' while starting the SQS stream opened with spark.readStream.format("sqs") or the read\_sqs SQL table-valued function. Verify the queueUrl and region read options are correct and then retry your query or command again.

### SQS\_REGION\_NOT\_DERIVABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not derive the AWS region from the Amazon SQS read option '`<queueUrlKey>`'. Set the '`<regionKey>`' option in spark.readStream.format("sqs").option("`<regionKey>`", ...) or the read\_sqs SQL table-valued function, and then retry your query or command again.

### SQS\_SPARK\_SPECULATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

SQS streaming, opened with spark.readStream.format("sqs") or the read\_sqs SQL table-valued function, is not compatible with speculative execution. Disable speculative execution by setting 'spark.speculation' to 'false' on the cluster, then restart the stream.

### SQS\_UNABLE\_TO\_PARSE\_PROTO

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Could not read the SQS stream's checkpoint state. The checkpoint may be corrupted.

### SQS\_UNSUPPORTED\_GET\_OFFSET\_CALL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

getOffset is not supported by the SQS source; use latestOffset instead.

### STAGING\_PATH\_CURRENTLY\_INACCESSIBLE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Transient error while accessing target staging path `<path>`, please try in a few minutes

### STAR\_EXPAND\_NON\_STRUCT\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot star expand ('.\*') attribute `<attribute>` with data type `<dataType>`. Star expansion is only supported on `STRUCT` types.

### STAR\_GROUP\_BY\_POS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Star (\*) is not allowed in a select list when `GROUP BY` an ordinal position is used.

### STATEFUL\_CHILDREN\_NOT\_SUPPORTED\_IN\_SEQUENTIAL\_STREAMING\_UNION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Stateful operations are not supported as direct children of SequentialStreamingUnion. Please apply stateful operations (aggregations, joins, deduplication, etc.) after the SequentialStreamingUnion.

Incorrect: historical.groupBy("key").count().followedBy(live.groupBy("key").count())

Correct: historical.followedBy(live).groupBy("key").count()

This ensures state is preserved across source transitions from historical to live data.

### STATEFUL\_PROCESSOR\_CANNOT\_PERFORM\_OPERATION\_WITH\_INVALID\_HANDLE\_STATE

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to perform stateful processor operation=`<operationType>` with invalid handle state=`<handleState>`.

### STATEFUL\_PROCESSOR\_CANNOT\_PERFORM\_OPERATION\_WITH\_INVALID\_TIME\_MODE

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to perform stateful processor operation=`<operationType>` with invalid timeMode=`<timeMode>`

### STATEFUL\_PROCESSOR\_DUPLICATE\_STATE\_VARIABLE\_DEFINED

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

State variable with name `<stateVarName>` has already been defined in the StatefulProcessor.

### STATEFUL\_PROCESSOR\_INCORRECT\_TIME\_MODE\_TO\_ASSIGN\_TTL

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot use TTL for state=`<stateName>` in timeMode=`<timeMode>`, use TimeMode.ProcessingTime() instead.

### STATEFUL\_PROCESSOR\_TTL\_DURATION\_MUST\_BE\_POSITIVE

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

TTL duration must be greater than zero for State store operation=`<operationType>` on state=`<stateName>`.

### STATEFUL\_PROCESSOR\_UNKNOWN\_TIME\_MODE

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unknown time mode `<timeMode>`. Accepted timeMode modes are 'none', 'processingTime', 'eventTime'

### [STATE\_KEY\_SCHEMA\_EVOLUTION\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-key-schema-evolution-invalid-checkpoint-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot evolve the key columns of dropDuplicates or dropDuplicatesWithinWatermark.

The provided checkpoint location '`<checkpointLocation>`' is in an invalid state.

For more details see [STATE\_KEY\_SCHEMA\_EVOLUTION\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-key-schema-evolution-invalid-checkpoint-error-class.md)

### [STATE\_REPARTITION\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-repartition-invalid-checkpoint-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The provided checkpoint location '`<checkpointLocation>`' is in an invalid state.

For more details see [STATE\_REPARTITION\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-repartition-invalid-checkpoint-error-class.md)

### [STATE\_REPARTITION\_INVALID\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/state-repartition-invalid-parameter-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The repartition parameter `<parameter>` is invalid:

For more details see [STATE\_REPARTITION\_INVALID\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/state-repartition-invalid-parameter-error-class.md)

### [STATE\_REWRITER\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-rewriter-invalid-checkpoint-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The state rewrite checkpoint location '`<checkpointLocation>`' is in an invalid state.

For more details see [STATE\_REWRITER\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-rewriter-invalid-checkpoint-error-class.md)

### STATE\_STORE\_CANNOT\_CREATE\_COLUMN\_FAMILY\_WITH\_RESERVED\_CHARS

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create column family with unsupported starting character and name=`<colFamilyName>`.

### STATE\_STORE\_CANNOT\_USE\_COLUMN\_FAMILY\_WITH\_INVALID\_NAME

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to perform column family operation=`<operationName>` with invalid name=`<colFamilyName>`. Column family name cannot be empty or include leading/trailing spaces or use the reserved keyword=default

### STATE\_STORE\_CHECKPOINT\_IDS\_NOT\_SUPPORTED

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

`<msg>`

### STATE\_STORE\_CHECKPOINT\_LOCATION\_NOT\_EMPTY

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The checkpoint location `<checkpointLocation>` should be empty on batch 0

Please either use a new checkpoint location, or delete the existing data in the checkpoint location.

### STATE\_STORE\_COLUMN\_FAMILY\_SCHEMA\_INCOMPATIBLE

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Incompatible schema transformation with column family=`<colFamilyName>`, oldSchema=`<oldSchema>`, newSchema=`<newSchema>`.

### STATE\_STORE\_DOES\_NOT\_SUPPORT\_REUSABLE\_ITERATOR

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

StateStore `<inputClass>` does not support reusable iterator.

### STATE\_STORE\_HANDLE\_NOT\_INITIALIZED

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The handle has not been initialized for this StatefulProcessor.

Please only use the StatefulProcessor within the transformWithState operator.

### STATE\_STORE\_INCORRECT\_NUM\_ORDERING\_COLS\_FOR\_RANGE\_SCAN

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Incorrect number of ordering ordinals=`<numOrderingCols>` for range scan encoder. The number of ordering ordinals cannot be zero or greater than number of schema columns.

### STATE\_STORE\_INCORRECT\_NUM\_PREFIX\_COLS\_FOR\_PREFIX\_SCAN

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Incorrect number of prefix columns=`<numPrefixCols>` for prefix scan encoder. Prefix columns cannot be zero or greater than or equal to num of schema columns.

### [STATE\_STORE\_INVALID\_AVRO\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/state-store-invalid-avro-schema-error-class.md)

[SQLSTATE: 3F000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3f-invalid-schema-name)

Detected an invalid schema for Avro encoding.

For more details see [STATE\_STORE\_INVALID\_AVRO\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/state-store-invalid-avro-schema-error-class.md)

### STATE\_STORE\_INVALID\_CONFIG\_AFTER\_RESTART

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change `<configName>` from `<oldConfig>` to `<newConfig>` between restarts. Please set `<configName>` to `<oldConfig>`, or restart with a new checkpoint directory.

### STATE\_STORE\_INVALID\_MEASURE\_CHANGE\_AFTER\_RESTART

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change measure configuration between restarts. Detected changes: `<changes>`. Revert to the original configuration, or restart with a new checkpoint directory.

### STATE\_STORE\_INVALID\_PROVIDER

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The given State Store Provider `<inputClass>` does not extend org.apache.spark.sql.execution.streaming.state.StateStoreProvider.

### STATE\_STORE\_INVALID\_VARIABLE\_TYPE\_CHANGE

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change `<stateVarName>` to `<newType>` between query restarts. Please set `<stateVarName>` to `<oldType>`, or restart with a new checkpoint directory.

### [STATE\_STORE\_KEY\_SCHEMA\_NOT\_COMPATIBLE](https://docs.databricks.com/gcp/en/error-messages/state-store-key-schema-not-compatible-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided key schema does not match existing schema in operator state.

Existing schema=`<storedKeySchema>`; provided schema=`<newKeySchema>`.

To run the query without schema validation, set spark.sql.streaming.stateStore.stateSchemaCheck to false.

Note that running without schema validation can have non-deterministic behavior.

For more details see [STATE\_STORE\_KEY\_SCHEMA\_NOT\_COMPATIBLE](https://docs.databricks.com/gcp/en/error-messages/state-store-key-schema-not-compatible-error-class.md)

### STATE\_STORE\_NATIVE\_ROCKSDB\_TIMEOUT

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

When accessing RocksDB state store for stateful streaming operation, calling native RocksDB function `<funcName>` timed out after waiting timeout=`<timeoutMs>` ms. Please try again and restart the cluster if error persists.

### STATE\_STORE\_NULL\_TYPE\_ORDERING\_COLS\_NOT\_SUPPORTED

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Null type ordering column with name=`<fieldName>` at index=`<index>` is not supported for range scan encoder.

### STATE\_STORE\_PROVIDER\_DOES\_NOT\_SUPPORT\_FINE\_GRAINED\_STATE\_REPLAY

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The given State Store Provider `<inputClass>` does not extend org.apache.spark.sql.execution.streaming.state.SupportsFineGrainedReplay.

Therefore, it does not support option snapshotStartBatchId or readChangeFeed in state data source.

### [STATE\_STORE\_PROVIDER\_MIGRATION\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-store-provider-migration-invalid-checkpoint-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The state store provider migration checkpoint location '`<checkpointLocation>`' is in an invalid state.

For more details see [STATE\_STORE\_PROVIDER\_MIGRATION\_INVALID\_CHECKPOINT](https://docs.databricks.com/gcp/en/error-messages/state-store-provider-migration-invalid-checkpoint-error-class.md)

### STATE\_STORE\_ROCKSDB\_ZIP\_ALREADY\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The RocksDB snapshot zip file `<zipFilePath>` already exists. This means the snapshot has already been uploaded to DFS.

(allowVersionOverwrite=`<allowVersionOverwrite>`, shouldUseCommitService=`<shouldUseCommitService>`)

### STATE\_STORE\_STATE\_SCHEMA\_FILES\_THRESHOLD\_EXCEEDED

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The number of state schema files `<numStateSchemaFiles>` exceeds the maximum number of state schema files for this query: `<maxStateSchemaFiles>`.

Added: `<addedColumnFamilies>`, Removed: `<removedColumnFamilies>`

Please set 'spark.sql.streaming.stateStore.stateSchemaFilesThreshold' to a higher number, or revert state schema modifications

### STATE\_STORE\_UNSUPPORTED\_OPERATION\_ON\_MISSING\_COLUMN\_FAMILY

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

State store operation=`<operationType>` not supported on missing column family=`<colFamilyName>`.

### STATE\_STORE\_VALUE\_SCHEMA\_EVOLUTION\_THRESHOLD\_EXCEEDED

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The number of state schema evolutions `<numSchemaEvolutions>` exceeds the maximum number of state schema evolutions, `<maxSchemaEvolutions>`, allowed for this column family.

Offending column family: `<colFamilyName>`

Please set 'spark.sql.streaming.stateStore.valueStateSchemaEvolutionThreshold' to a higher number, or revert state schema modifications

### [STATE\_STORE\_VALUE\_SCHEMA\_NOT\_COMPATIBLE](https://docs.databricks.com/gcp/en/error-messages/state-store-value-schema-not-compatible-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided value schema does not match existing schema in operator state.

Existing schema=`<storedValueSchema>`; provided schema=`<newValueSchema>`.

To run the query without schema validation, set spark.sql.streaming.stateStore.stateSchemaCheck to false.

Note that running without schema validation can have non-deterministic behavior.

For more details see [STATE\_STORE\_VALUE\_SCHEMA\_NOT\_COMPATIBLE](https://docs.databricks.com/gcp/en/error-messages/state-store-value-schema-not-compatible-error-class.md)

### STATE\_STORE\_VARIABLE\_SIZE\_ORDERING\_COLS\_NOT\_SUPPORTED

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Variable size ordering column with name=`<fieldName>` at index=`<index>` is not supported for range scan encoder.

### STATIC\_ONLY\_REQUIRES\_EXTENDED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`STATIC` ONLY modifier requires `EXTENDED` or `FORMATTED` option.

Use: `DESCRIBE TABLE EXTENDED` table\_name `STATIC` ONLY

### STATIC\_ONLY\_UNSUPPORTED\_OPTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<option>` clause is not supported with the `STATIC` ONLY modifier.

### STATIC\_PARTITION\_COLUMN\_IN\_INSERT\_COLUMN\_LIST

[SQLSTATE: 42713](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Static partition column `<staticName>` is also specified in the column list.

### STDS\_CHANGE\_FEED\_ACROSS\_REWIND\_NOT\_ALLOWED

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot read state change feed from batch `<changeStartBatchId>` to batch `<changeEndBatchId>` because a rewind operation occurred at batch `<rewindBatchId>` (rewound to batch `<rewindTargetBatchId>`).

The changelog is invalid across the rewind boundary.

Specify a changeStartBatchId > `<rewindBatchId>` or changeEndBatchId \< `<rewindBatchId>`.

### STDS\_COMMITTED\_BATCH\_UNAVAILABLE

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

No committed batch found, checkpoint location: `<checkpointLocation>`. Ensure that the query has run and committed any microbatch before stopping.

### STDS\_CONFLICT\_OPTIONS

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The options `<options>` cannot be specified together. Please specify the one.

### STDS\_FAILED\_TO\_READ\_OPERATOR\_METADATA

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to read the operator metadata for checkpointLocation=`<checkpointLocation>` and batchId=`<batchId>`.

Either the file does not exist, or the file is corrupted.

Rerun the streaming query to construct the operator metadata, and report to the corresponding communities or vendors if the error persists.

### STDS\_FAILED\_TO\_READ\_STATE\_SCHEMA

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to read the state schema. Either the file does not exist, or the file is corrupted. options: `<sourceOptions>`.

Rerun the streaming query to construct the state schema, and report to the corresponding communities or vendors if the error persists.

### [STDS\_INVALID\_OPTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/stds-invalid-option-value-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value for source option '`<optionName>`':

For more details see [STDS\_INVALID\_OPTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/stds-invalid-option-value-error-class.md)

### STDS\_MIXED\_CHECKPOINT\_FORMAT\_VERSIONS\_NOT\_SUPPORTED

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Reading state across different checkpoint format versions is not supported.

startBatchId=`<startBatchId>`, endBatchId=`<endBatchId>`.

startFormatVersion=`<startFormatVersion>`, endFormatVersion=`<endFormatVersion>`.

### STDS\_NO\_PARTITION\_DISCOVERED\_IN\_STATE\_STORE

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The state does not have any partition. Please double check that the query points to the valid state. options: `<sourceOptions>`

### STDS\_OFFSET\_LOG\_UNAVAILABLE

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The offset log for `<batchId>` does not exist, checkpoint location: `<checkpointLocation>`.

Please specify the batch ID which is available for querying - you can query the available batch IDs via using state metadata data source.

### STDS\_OFFSET\_METADATA\_LOG\_UNAVAILABLE

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Metadata is not available for offset log for `<batchId>`, checkpoint location: `<checkpointLocation>`.

The checkpoint seems to be only run with older Spark version(s). Run the streaming query with the recent Spark version, so that Spark constructs the state metadata.

### STDS\_REQUIRED\_OPTION\_UNSPECIFIED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<optionName>`' must be specified.

### STDS\_SNAPSHOT\_ACROSS\_REWIND\_NOT\_ALLOWED

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot read state snapshot from batch `<snapshotStartBatchId>` to batch `<batchId>` because a rewind operation occurred at batch `<rewindBatchId>` (rewound to batch `<rewindTargetBatchId>`).

The snapshot chain is broken across the rewind boundary.

Specify a snapshotStartBatchId >= `<rewindBatchId>` or read from a batch before the rewind.

### STORAGE\_PARTITION\_JOIN\_INCOMPATIBLE\_REDUCED\_TYPES

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Storage-partition join partition transforms produced incompatible reduced types,

left reducers: `<leftReducers>` returned: `<leftReducedDataTypes>`,

right reducers: `<rightReducers>` returned: `<rightReducedDataTypes>`.

### STREAMING\_AQE\_NOT\_SUPPORTED\_FOR\_STATEFUL\_OPERATORS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Adaptive Query Execution is not supported for stateful operators in Structured Streaming.

### [STREAMING\_AUTO\_NAMING\_SUPPORT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-auto-naming-support-error-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The streaming query does not support automatic source naming.

For more details see [STREAMING\_AUTO\_NAMING\_SUPPORT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-auto-naming-support-error-error-class.md)

### [STREAMING\_CHECKPOINT\_EXPORT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-export-error-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error performing exportCheckpoint operation on the streaming checkpoint.

For more details see [STREAMING\_CHECKPOINT\_EXPORT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-export-error-error-class.md)

### STREAMING\_CHECKPOINT\_LOCATION\_NOT\_SPECIFIED

[SQLSTATE: 42K0I](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

checkpointLocation must be specified either through option("checkpointLocation", ...) or SparkSession.conf.set("`<config>`", ...).

### [STREAMING\_CHECKPOINT\_LOG\_WRITE\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-log-write-failure-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to write a streaming query checkpoint log entry.

For more details see [STREAMING\_CHECKPOINT\_LOG\_WRITE\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-log-write-failure-error-class.md)

### [STREAMING\_CHECKPOINT\_METADATA\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-metadata-error-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error with streaming checkpoint metadata.

For more details see [STREAMING\_CHECKPOINT\_METADATA\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-metadata-error-error-class.md)

### STREAMING\_CHECKPOINT\_PINNING\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Pinning is not enabled for the streaming query with checkpoint location `<checkpointLocation>`.

The streaming query is running but does not have pinning enabled.

Ensure the streaming query is started with rewind/replay enabled.

### [STREAMING\_CHECKPOINT\_PIN\_BATCH\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-pin-batch-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to perform pin operation for streaming query with checkpoint location=`<checkpointLocation>` at batchId=`<batchId>`.

For more details see [STREAMING\_CHECKPOINT\_PIN\_BATCH\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-pin-batch-error-error-class.md)

### [STREAMING\_CHECKPOINT\_REWIND\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-rewind-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to perform rewind operation for streaming query with checkpoint location=`<checkpointLocation>`.

For more details see [STREAMING\_CHECKPOINT\_REWIND\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-rewind-error-error-class.md)

### [STREAMING\_CHECKPOINT\_REWIND\_OPTIONS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-rewind-options-error-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error during streaming checkpoint rewind operation.

For more details see [STREAMING\_CHECKPOINT\_REWIND\_OPTIONS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-rewind-options-error-error-class.md)

### [STREAMING\_CHECKPOINT\_SET\_PROPERTIES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-set-properties-error-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error during performing setCheckpointProperties operation on the streaming checkpoint.

For more details see [STREAMING\_CHECKPOINT\_SET\_PROPERTIES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-checkpoint-set-properties-error-error-class.md)

### STREAMING\_FROM\_MATERIALIZED\_VIEW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot stream from materialized view `<viewName>`. Streaming from materialized views is not supported.

### STREAMING\_FROM\_METRIC\_VIEW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot stream from Metric View `<viewName>`. Streaming from Metric Views is not supported.

### [STREAMING\_OUTPUT\_MODE](https://docs.databricks.com/gcp/en/error-messages/streaming-output-mode-error-class.md)

[SQLSTATE: 42KDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid streaming output mode: `<outputMode>`.

For more details see [STREAMING\_OUTPUT\_MODE](https://docs.databricks.com/gcp/en/error-messages/streaming-output-mode-error-class.md)

### STREAMING\_PYTHON\_RUNNER\_INITIALIZATION\_COMMUNICATION\_FAILURE

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Streaming Runner initialization failed during initial config communication. Cause: `<msg>`

### [STREAMING\_QUERY\_EVOLUTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-query-evolution-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Streaming query evolution error:

For more details see [STREAMING\_QUERY\_EVOLUTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-query-evolution-error-error-class.md)

### STREAMING\_QUERY\_ID\_MISMATCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The user-specified streaming query ID '`<queryId>`' does not match the ID '`<checkpointQueryId>`' stored in the checkpoint at '`<checkpointLocation>`'.

### STREAMING\_QUERY\_STOP\_TIMEOUT

[SQLSTATE: 57012](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Stream Execution thread for stream \[id = `<id>`, runId = `<runId>`] failed to stop within `<timeoutMs>` milliseconds (specified by `<config>`). See the cause on what was being executed in the streaming query thread.

### STREAMING\_RATE\_SOURCE\_OFFSET\_VERSION\_MISMATCH

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Expect rate source offset version `<expectedVersion>`, but got version `<actualVersion>`. To continue, set the option "version" to `<expectedVersion>` in the rate source options. For example, spark.readStream.format("rate").option("version", "`<expectedVersion>`").

### STREAMING\_RATE\_SOURCE\_V2\_PARTITION\_NUM\_CHANGE\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The number of partitions (`<prevNum>`) used in previous microbatch is different from the current number of partitions (`<currNum>`). There could be two possible reasons:

1. Option "numPartitions" of the rate source gets changed during query restart.

2. The size of the cluster might change during query restart.

Explicitly set option "numPartitions" of the rate source to `<prevNum>` to fix this issue.

### STREAMING\_RATE\_SOURCE\_V2\_RAMPUP\_TIME\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The option "rampUpTime" is not supported by rate version 2. To use this option, set option "version" to 1. For example, spark.readStream.format("rate").option("version", "1").

### [STREAMING\_REAL\_TIME\_MODE](https://docs.databricks.com/gcp/en/error-messages/streaming-real-time-mode-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Streaming real-time mode has the following limitation:

For more details see [STREAMING\_REAL\_TIME\_MODE](https://docs.databricks.com/gcp/en/error-messages/streaming-real-time-mode-error-class.md)

### [STREAMING\_REAL\_TIME\_MODE\_ADAPTIVE\_REPARTITIONING\_CONFIGURATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-real-time-mode-adaptive-repartitioning-configuration-error-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invalid adaptive repartitioning configuration for real-time mode query `<queryId>`:

For more details see [STREAMING\_REAL\_TIME\_MODE\_ADAPTIVE\_REPARTITIONING\_CONFIGURATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-real-time-mode-adaptive-repartitioning-configuration-error-error-class.md)

### STREAMING\_REAL\_TIME\_MODE\_SLOT\_RESERVATION\_CAPACITY\_EXHAUSTED

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Real-time mode query `<queryId>` could not reserve `<totalSlots>` slots after `<maxAttempts>` attempts (`<waitBudgetMs>` milliseconds): insufficient cluster capacity. Please increase the Serverless rate limit and retry the query. If the issue persists, contact Databricks support.

### STREAMING\_REAL\_TIME\_MODE\_SLOT\_RESERVATION\_UPDATE\_DENIED

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Real-time mode query `<queryId>` could not update its slot reservation to `<totalSlots>` slots because the scheduler did not grant the complete request. Ensure the cluster has sufficient capacity and restart the query.

### [STREAMING\_REAL\_TIME\_WATERMARK\_PROPAGATION](https://docs.databricks.com/gcp/en/error-messages/streaming-real-time-watermark-propagation-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Streaming real-time watermark propagation has the following limitation:

For more details see [STREAMING\_REAL\_TIME\_WATERMARK\_PROPAGATION](https://docs.databricks.com/gcp/en/error-messages/streaming-real-time-watermark-propagation-error-class.md)

### STREAMING\_SHUFFLE\_CONNECTION\_FAILURE

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Failed to communicate with streaming shuffle writer `<writerId>`.

### [STREAMING\_SINK\_DELIVERY\_MODE](https://docs.databricks.com/gcp/en/error-messages/streaming-sink-delivery-mode-error-class.md)

[SQLSTATE: 42KDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid streaming sink delivery mode: `<deliveryMode>`.

For more details see [STREAMING\_SINK\_DELIVERY\_MODE](https://docs.databricks.com/gcp/en/error-messages/streaming-sink-delivery-mode-error-class.md)

### STREAMING\_SKIP\_OFFSETS\_INVALID\_RANGE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid skip offset range: end offset `<endOffset>` is less than start offset `<startOffset>`. Fix this offset range and try again.

### STREAMING\_SOURCE\_DEFINITION\_CHANGED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The streaming query encountered a change in one or more of its source (such as the underlying table, view, or policy) during execution. This may result in incorrect or inconsistent data being read from the sources. Please restart the streaming query with a new dataframe to take latest version of sources.

### STREAMING\_STATEFUL\_OPERATOR\_MISSING\_STATE\_DIRECTORY

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot restart streaming query with stateful operators because the state directory is empty or missing.

This typically occurs when state files have been deleted or the streaming query was previously run without stateful operators but restarted with stateful operators.

Please remove the stateful operators, use a new checkpoint location, or restore the missing state files.

### STREAMING\_STATEFUL\_OPERATOR\_NOT\_MATCH\_IN\_STATE\_METADATA

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Streaming stateful operator name does not match with the operator in state metadata. This likely to happen when user adds/removes/changes stateful operator of existing streaming query.

Stateful operators in the metadata: \[`<OpsInMetadataSeq>`]; Stateful operators in current batch: \[`<OpsInCurBatchSeq>`].

### STREAMING\_TABLE\_NEEDS\_REFRESH

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

streaming table `<tableName>` needs to be refreshed to execute `<operation>`.

If the table is created from `DBSQL`, please run `REFRESH STREAMING TABLE`.

If the table is created by a pipeline in Spark Declarative Pipelines on Lakeflow, please run a pipeline update.

### STREAMING\_TABLE\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

streaming tables can only be created and refreshed in Spark Declarative Pipelines on Lakeflow and Databricks SQL Warehouses.

### [STREAMING\_TABLE\_OPERATION\_NOT\_ALLOWED](https://docs.databricks.com/gcp/en/error-messages/streaming-table-operation-not-allowed-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The operation `<operation>` is not allowed:

For more details see [STREAMING\_TABLE\_OPERATION\_NOT\_ALLOWED](https://docs.databricks.com/gcp/en/error-messages/streaming-table-operation-not-allowed-error-class.md)

### STREAMING\_TABLE\_QUERY\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

streaming table `<tableName>` can only be created from a streaming query. Please add the `STREAM` keyword to your `FROM` clause to turn this relation into a streaming query.

### [STREAMING\_TIME\_TRAVEL\_SUPPORT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-time-travel-support-error-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The streaming query does not support time travel.

For more details see [STREAMING\_TIME\_TRAVEL\_SUPPORT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/streaming-time-travel-support-error-error-class.md)

### [STREAMING\_UNRESUMABLE\_CONTROL\_BATCH\_DETECTED](https://docs.databricks.com/gcp/en/error-messages/streaming-unresumable-control-batch-detected-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Unfinished control batch `<batchId>` cannot be resumed.

For more details see [STREAMING\_UNRESUMABLE\_CONTROL\_BATCH\_DETECTED](https://docs.databricks.com/gcp/en/error-messages/streaming-unresumable-control-batch-detected-error-class.md)

### STREAM\_NOT\_FOUND\_FOR\_KINESIS\_SOURCE

[SQLSTATE: 42K02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Kinesis stream `<streamName>` in `<region>` not found.

Please start a new query pointing to the correct stream name.

### STRUCT\_ARRAY\_LENGTH\_MISMATCH

[SQLSTATE: 2201E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Input row doesn't have expected number of values required by the schema. `<expected>` fields are required while `<actual>` values are provided.

### ST\_INVALID\_ALGORITHM\_VALUE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid or unsupported edge interpolation algorithm value: '`<alg>`'.

### ST\_INVALID\_CRS\_VALUE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid or unsupported CRS (coordinate reference system) value: '`<crs>`'.

### ST\_INVALID\_ENDIANNESS\_VALUE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Endianness '`<endianness>`' must be either 'NDR' (little-endian) or 'XDR' (big-endian).

### ST\_INVALID\_SRID\_VALUE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid or unsupported SRID (spatial reference identifier) value: `<srid>`.

### SUM\_OF\_LIMIT\_AND\_OFFSET\_EXCEEDS\_MAX\_INT

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The sum of the `LIMIT` clause and the `OFFSET` clause must not be greater than the maximum 32-bit integer value (2,147,483,647) but found limit = `<limit>`, offset = `<offset>`.

### SYNC\_METADATA\_DELTA\_ONLY

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Repair table sync metadata command is only supported for delta table.

### SYNC\_SRC\_TARGET\_TBL\_NOT\_SAME

[SQLSTATE: 42KD2](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source table name `<srcTable>` must be same as destination table name `<destTable>`.

### [SYNTAX\_DISCONTINUED](https://docs.databricks.com/gcp/en/error-messages/syntax-discontinued-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Support of the clause or keyword: `<clause>` has been discontinued in this context.

For more details see [SYNTAX\_DISCONTINUED](https://docs.databricks.com/gcp/en/error-messages/syntax-discontinued-error-class.md)

### TABLE\_ACCESS\_CONTROL\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Trying to perform permission action on Hive Metastore `<securables>` but Table Access Control is not enabled on this cluster.

### TABLE\_ARGUMENTS\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`TABLE` parameters are not supported in `<routineType>`.

### TABLE\_LOCATION\_URI\_NOT\_SPECIFIED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<identifier>` did not specify locationUri.

### TABLE\_NOT\_VALID\_INDEX

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<tableName>` is not a valid index. Provide a valid index name.

### TABLE\_OPERATION\_REQUIRES\_STANDARD\_COMPUTE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `<operation> <tableName>` from Dedicated access mode or No Isolation compute. Use serverless compute, a Databricks SQL warehouse, or Standard access mode instead.

### TABLE\_OR\_VIEW\_ALREADY\_EXISTS

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create table or view `<relationName>` because it already exists.

Choose a different name, drop the existing object, add the `IF NOT EXISTS` clause to tolerate pre-existing objects, add the OR `REPLACE` clause to replace the existing materialized view, or add the OR `REFRESH` clause to refresh the existing streaming table.

### [TABLE\_OR\_VIEW\_NOT\_FOUND](https://docs.databricks.com/gcp/en/error-messages/table-or-view-not-found-error-class.md)

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table or view `<relationName>` cannot be found. Verify the spelling and correctness of the schema and catalog.

Search path: `<searchPath>`.

If you did not qualify the name with a schema, verify the current\_schema() output, or qualify the name with the correct schema and catalog.

To tolerate the error on drop use `DROP VIEW IF EXISTS` or `DROP TABLE IF EXISTS`.

For more details see [TABLE\_OR\_VIEW\_NOT\_FOUND](https://docs.databricks.com/gcp/en/error-messages/table-or-view-not-found-error-class.md)

### TABLE\_TYPE\_INCOMPATIBLE\_WITH\_ABAC\_POLICY

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The table type of `<tableName>, <tableType>`, does not support ABAC policies.

Please remove the policies and retry.

### TABLE\_VALUED\_ARGUMENTS\_NOT\_YET\_IMPLEMENTED\_FOR\_SQL\_FUNCTIONS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot `<action>` SQL user-defined function `<functionName>` with `TABLE` arguments because this functionality is not yet implemented.

### TABLE\_VALUED\_FUNCTION\_FAILED\_TO\_ANALYZE\_IN\_PYTHON

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Failed to analyze the Python user defined table function: `<msg>`

### TABLE\_VALUED\_FUNCTION\_REQUIRED\_METADATA\_INCOMPATIBLE\_WITH\_CALL

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to evaluate the table function `<functionName>` because its table metadata `<requestedMetadata>`, but the function call `<invalidFunctionCallProperty>`.

### TABLE\_VALUED\_FUNCTION\_REQUIRED\_METADATA\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to evaluate the table function `<functionName>` because its table metadata was invalid; `<reason>`.

### TABLE\_VALUED\_FUNCTION\_TOO\_MANY\_TABLE\_ARGUMENTS

[SQLSTATE: 54023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

There are too many table arguments for table-valued function.

It allows one table argument, but got: `<num>`.

If you want to allow it, please set "spark.sql.allowMultipleTableArguments.enabled" to "true"

### TABLE\_WITH\_ID\_NOT\_FOUND

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table with ID `<tableId>` cannot be found. Verify the correctness of the UUID.

### TASK\_WRITE\_FAILED

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Task failed while writing rows to `<path>`.

### TEMP\_CHECKPOINT\_LOCATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Implicit temporary streaming checkpoint locations are not supported in the current workspace, please specify a checkpoint location explicitly.

For display(), set the checkpoint location using:

display(df, checkpointLocation = "your\_path")

For all other streaming queries, use:

.option("checkpointLocation", "your\_path").

### TEMP\_TABLE\_CREATION\_LEGACY\_WITH\_QUERY

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CREATE TEMPORARY TABLE` `...` `AS` ... is not supported here, please use `CREATE TEMPORARY VIEW` instead

### [TEMP\_TABLE\_CREATION\_MUTUAL\_EXCLUSIVE\_SPECS](https://docs.databricks.com/gcp/en/error-messages/temp-table-creation-mutual-exclusive-specs-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CREATE TEMPORARY TABLE` does not support specifying `<unsupportedSpec>`.

For more details see [TEMP\_TABLE\_CREATION\_MUTUAL\_EXCLUSIVE\_SPECS](https://docs.databricks.com/gcp/en/error-messages/temp-table-creation-mutual-exclusive-specs-error-class.md)

### TEMP\_TABLE\_CREATION\_NAME\_RESERVED

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create temporary table `<tableName>` because it starts with a reserved name prefix `<reservedPrefix>`. Please choose a different name and retry.

### TEMP\_TABLE\_CREATION\_NOT\_SUPPORTED\_IN\_COMPUTE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CREATE TEMPORARY TABLE [AS` ... ] is not supported with the current Compute type. Please use Databricks SQL (`DBSQL`) to create session-local temporary tables instead.

### TEMP\_TABLE\_CREATION\_REQUIRES\_SINGLE\_PART\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Creating a session-local temporary table requires a single part table name, but got `<tableName>`. Please update the command to use a single part table name and retry again.

### TEMP\_TABLE\_CREATION\_UNSUPPORTED\_LEGACY\_SYNTAX\_WITH\_HINTS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CREATE TEMPORARY TABLE` `...` `USING` `...` `AS` ... is not supported. To create a temporary table, please remove the `USING` clause and retry.

### TEMP\_TABLE\_DELETION\_MUTUAL\_EXCLUSIVE\_SPECS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`DROP TEMPORARY TABLE` does not support specifying `<unsupportedSpec>`, please remove this specification, or drop a permanent table instead using `DROP TABLE` command.

### TEMP\_TABLE\_DELETION\_REQUIRES\_SINGLE\_PART\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Dropping a session-local temporary table requires a single part table name, but got `<tableName>`. Please update the `DROP TEMPORARY TABLE` command to use a single part table name to drop a temporary table, or use `DROP TABLE` command instead to drop a permanent table.

### TEMP\_TABLE\_DROP\_PERMANENT\_NAME\_CONFLICT

[SQLSTATE: 42KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop the permanent table with unqualified name `<tableName>` because a temporary table with the same name exists. To drop the temporary table, use '`DROP TEMPORARY TABLE <tableName>`'. To drop the permanent table, specify the full namespace, for example, '`DROP TABLE` catalog.schema.table'.

### TEMP\_TABLE\_NOT\_FOUND

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Temporary table `<tableName>` cannot be found in the current session. Verify the spelling and correctness of the table name, and retry the query or command again.

To tolerate the error on drop use `DROP` TEMP `TABLE IF EXISTS`.

### TEMP\_TABLE\_NOT\_SUPPORTED\_WITH\_DATABRICKS\_JOBS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Temporary table is not yet supported in Databricks Jobs. Please use in Databricks Notebooks instead and contact Databricks Support for more information.

### TEMP\_TABLE\_NOT\_SUPPORTED\_WITH\_HMS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Temporary table operation `<operation>` is not supported in Hive Metastore.

### [TEMP\_TABLE\_OPERATION\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/temp-table-operation-not-supported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operations on the session-local temporary table `<tableName>` are not supported:

For more details see [TEMP\_TABLE\_OPERATION\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/temp-table-operation-not-supported-error-class.md)

### TEMP\_TABLE\_OPERATION\_NOT\_SUPPORTED\_IN\_V1\_COMMAND

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` on temporary tables is not supported with V1 commands. Please set 'spark.sql.legacy.useV1Command' to false and retry.

### TEMP\_TABLE\_OR\_VIEW\_ALREADY\_EXISTS

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the temporary table or view `<relationName>` because it already exists.

Choose a different name, drop or replace the existing object.

### TEMP\_TABLE\_QUALIFY\_ONLY\_NAMESPACE\_MANAGER\_ALREADY\_INITIALIZED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot initialize qualify-only mode on a temp table namespace manager that already has a session namespace set. This usually happens when a qualify-only tempTableNamespaceManager is being re-initialized. Please check if the code is initializing qualify-only tempTableNamespaceManager again.

### TEMP\_TABLE\_QUALIFY\_ONLY\_NAMESPACE\_MANAGER\_MUTATION\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot `<operation>` on a qualify-only temp table namespace manager. Qualify-only managers are installed on cloned SparkSessions (used by DML commands and post-commit hooks) and can only qualify identifier but cannot `<operation>`. Please `<operation>` on the original SparkSession first and then create the qualify-only manager on the cloned SparkSession.

### TEMP\_TABLE\_REPLACE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

\[`CREATE` OR] `REPLACE TEMPORARY TABLE` is not supported. To replace an existing temporary table, drop it using `DROP TEMPORARY TABLE` ... \[`IF EXISTS`] and recreate it using `CREATE TEMPORARY TABLE` ... .

### TEMP\_TABLE\_REPLACE\_PERMANENT\_NAME\_CONFLICT

[SQLSTATE: 42KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot replace the permanent table with unqualified name `<tableName>` because a temporary table with the same name exists. To replace the temporary table, use '`DROP TEMPORARY TABLE <tableName>`; `CREATE TEMPORARY TABLE <tableName>`'. To replace the permanent table, specify the full namespace, for example, '`REPLACE TABLE` catalog.schema.table'.

### TEMP\_TABLE\_REQUIRES\_DATABRICKS\_ENV

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operations on session-local temporary tables require Databricks environment.

### TEMP\_TABLE\_REQUIRES\_DELTA

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operations on session-local temporary tables require Delta catalog to be enabled. Please turn on the Delta catalog and retry.

### TEMP\_TABLE\_REQUIRES\_UC

[SQLSTATE: 0AKUD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operations on session-local temporary tables require Unity Catalog. Please enable Unity Catalog in your running environment and retry.

### TEMP\_VIEW\_IF\_NOT\_EXISTS\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

It is not allowed to define a `TEMPORARY` view with `IF NOT EXISTS`.

### TEMP\_VIEW\_NAME\_TOO\_MANY\_NAME\_PARTS

[SQLSTATE: 428EK](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE TEMPORARY VIEW` or the corresponding Dataset APIs only accept single-part view names, but got: `<actualName>`.

### TEMP\_VIEW\_OR\_TABLE\_CONFLICTS\_WITH\_TABLEREF

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create temporary view or table `<objectName>` because a session `TABLEREF` variable with the same name exists.

### THETA\_INVALID\_INPUT\_SKETCH\_BUFFER

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`; only valid Theta sketch buffers are supported as inputs (such as those produced by the `theta_sketch_agg` function).

### THETA\_INVALID\_INPUT\_SKETCH\_BUFFER\_FAMILY

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`: expected `<expectedFamily>` sketch family but received `<actualFamily>`. Only valid Theta sketch buffers (produced by `theta_sketch_agg`) are supported as inputs.

### THETA\_LG\_NOM\_ENTRIES\_MUST\_BE\_CONSTANT

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid call to `<function>`; the `lgNomEntries` value must be a constant value, but got a non-constant expression.

### TIMESTAMP\_NANOS\_PYTHON\_MAP\_KEY

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot convert a map with `<type>` keys to Python. Python `datetime.datetime` is microsecond-resolution and cannot represent the sub-microsecond digits, so two distinct nanosecond keys can collapse to a single entry. Avoid nanosecond-precision timestamp types as map keys on the Python conversion path.

### [TO\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/to-file-error-error-class.md)

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error converting to FILE type. Use `try_to_file()` to skip this file and get a null value instead.

For more details see [TO\_FILE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/to-file-error-error-class.md)

### TO\_FILE\_READ\_UNAUTHORIZED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User is not authorized to read the source file at path `<path>`. Use `try_to_file()` to skip these files and get a null value instead.

### TRAILING\_COMMA\_IN\_SELECT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Trailing comma detected in `SELECT` clause. Remove the trailing comma before the `FROM` clause.

### TRANSACTION\_CDF\_SCHEMA\_WITH\_RESERVED\_COLUMN\_NAME

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Change Data Feed cannot be enabled in a transaction because a table contains a reserved column name (`<column_name>`).

To proceed, make sure the table uses only non-reserved column names.

### TRANSACTION\_CDF\_SETTING\_HIGH\_WATERMARK\_NOT\_ALLOWED

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Manually setting the CDC Identities high watermark is not allowed.

### [TRANSACTION\_CONCURRENT\_CATALOG\_METADATA\_CHANGE](https://docs.databricks.com/gcp/en/error-messages/transaction-concurrent-catalog-metadata-change-error-class.md)

[SQLSTATE: 40000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

A concurrent metadata change has been detected on object `<table>`. Run `ROLLBACK` and then retry this transaction. Details:

For more details see [TRANSACTION\_CONCURRENT\_CATALOG\_METADATA\_CHANGE](https://docs.databricks.com/gcp/en/error-messages/transaction-concurrent-catalog-metadata-change-error-class.md)

### TRANSACTION\_CONCURRENT\_COPY\_INTO

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Concurrent `COPY INTO` operation detected on the table `<tableName>`. Retry the transaction.

Conflicting commit: `<conflictingCommit>`

### [TRANSACTION\_CONTEXT\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/transaction-context-mismatch-error-class.md)

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Transaction context inconsistency was detected between the current thread and the Spark session. This typically occurs when a Spark session is shared across multiple threads. Please use a dedicated session and thread for each transaction, and commit/rollback the transaction in its thread before reusing the session and thread for a new transaction. Details:

For more details see [TRANSACTION\_CONTEXT\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/transaction-context-mismatch-error-class.md)

### TRANSACTION\_MAX\_COMMIT\_TIMESTAMP\_EXCEEDED

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Transaction cannot commit as max commit timestamp is exceeded. maxCommitTimestamp:`<maxCommitTimestampMs>` commitTimestamp:`<commitTimestampMs>`

### [TRANSACTION\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/transaction-not-supported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to execute the statement.

For more details see [TRANSACTION\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/transaction-not-supported-error-class.md)

### [TRANSACTION\_ROLLBACK\_REQUIRED\_AFTER\_ABORT](https://docs.databricks.com/gcp/en/error-messages/transaction-rollback-required-after-abort-error-class.md)

[SQLSTATE: 40000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

The current transaction has been aborted. Please run `ROLLBACK TRANSACTION` before continuing. Abort reason:

For more details see [TRANSACTION\_ROLLBACK\_REQUIRED\_AFTER\_ABORT](https://docs.databricks.com/gcp/en/error-messages/transaction-rollback-required-after-abort-error-class.md)

### TRANSFORM\_WITH\_STATE\_USER\_FUNCTION\_ERROR

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

An error occurred in the user-defined function `<function>` of the StatefulProcessor. Reason: `<reason>`.

### TRANSPOSE\_EXCEED\_ROW\_LIMIT

[SQLSTATE: 54006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Number of rows exceeds the allowed limit of `<maxValues>` for `TRANSPOSE`. If this was intended, set `<config>` to at least the current row count.

### TRANSPOSE\_INVALID\_INDEX\_COLUMN

[SQLSTATE: 42804](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid index column for `TRANSPOSE` because: `<reason>`

### TRANSPOSE\_NO\_LEAST\_COMMON\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Transpose requires non-index columns to share a least common type, but `<dt1>` and `<dt2>` do not.

### TRIGGER\_INTERVAL\_INVALID

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The trigger interval must be a positive duration that can be converted into whole seconds. Received: `<actual>` seconds.

### TRUNCATE\_PARTITIONS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Truncating partitions is not supported.

### TRUNCATE\_PARTITION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Truncating partition is not supported.

### TUPLE\_INVALID\_INPUT\_SKETCH\_BUFFER

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`; only valid Tuple sketch buffers are supported as inputs (such as those produced by the corresponding `tuple_sketch_agg_*` function).

### TUPLE\_INVALID\_INPUT\_SKETCH\_BUFFER\_FAMILY

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`: expected `<expectedFamily>` sketch family but received `<actualFamily>`. Only valid Tuple sketch buffers (produced by `tuple_sketch_agg_*` functions) are supported as inputs.

### TUPLE\_INVALID\_SKETCH\_MODE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid call to `<function>`: mode '`<mode>`' is not supported. Valid modes are: `<validModes>`.

### TUPLE\_IS\_EMPTY

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Due to Scala's limited support of tuple, empty tuple is not supported.

### TUPLE\_SIZE\_EXCEEDS\_LIMIT

[SQLSTATE: 54011](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Due to Scala's limited support of tuple, tuples with more than 22 elements are not supported.

### UC\_BUCKETED\_TABLES

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Bucketed tables are not supported in Unity Catalog.

### UC\_CATALOG\_NAME\_NOT\_PROVIDED

[SQLSTATE: 3D000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3d-invalid-catalog-name)

For Unity Catalog, please specify the catalog name explicitly. E.g. `SHOW GRANT your.address@email.com ON CATALOG` main.

### [UC\_COMMAND\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/uc-command-not-supported-error-class.md)

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The command(s): `<commandName>` are not supported in Unity Catalog.

For more details see [UC\_COMMAND\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/uc-command-not-supported-error-class.md)

### UC\_COMMAND\_NOT\_SUPPORTED\_IN\_SERVERLESS

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The command(s): `<commandName>` are not supported for Unity Catalog clusters in serverless. Use single user or shared clusters instead.

### UC\_COMMAND\_NOT\_SUPPORTED\_IN\_SHARED\_ACCESS\_MODE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The command(s): `<commandName>` are not supported for Unity Catalog clusters in shared access mode. Use single user access mode instead.

### UC\_CONNECTION\_ACCESS\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Could not reach Unity Catalog to validate the UC connection '`<connectionName>`'. This is usually transient, such as a timeout or a server error, and the check will be retried.

### [UC\_CONNECTION\_CHECK\_FAILED](https://docs.databricks.com/gcp/en/error-messages/uc-connection-check-failed-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Periodic UC connection validation failed for connection '`<connectionName>`'.

For more details see [UC\_CONNECTION\_CHECK\_FAILED](https://docs.databricks.com/gcp/en/error-messages/uc-connection-check-failed-error-class.md)

### UC\_CONNECTION\_FOR\_MANAGED\_VOLUME\_NOT\_SUPPORTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MANAGED` volumes do not support the `USING CONNECTION` clause. Connection-backed volumes must be `EXTERNAL`.

### UC\_CONNECTION\_NOT\_FOUND\_FOR\_FILE\_SYSTEM\_SOURCE\_ACCESS

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find a valid UC connection for accessing `<path>` after evaluating `<connectionNames>`.

Ensure that at least one valid UC connection is available for accessing the target path.

Detailed errors for the connections evaluated:

`<connectionErrors>`

### UC\_CONNECTION\_OPTION\_CONFLICT

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Option(s) `<conflictingOptions>` cannot be specified together with databricks.connection='`<connectionName>`' for the `<source>` source. Remove the conflicting option(s) or remove the databricks.connection config.

### UC\_CONNECTION\_UNSUPPORTED\_CREDENTIAL\_TYPE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unsupported credential type '`<credentialType>`' for UC connection '`<connectionName>`' on the `<source>` source. Supported types: `<supportedTypes>`.

### UC\_CONNECTION\_WRONG\_TYPE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connection '`<connectionName>`' is of type '`<actualType>`', which the `<source>` source cannot use. Provide a `<source>` connection instead.

### UC\_CREDENTIAL\_PURPOSE\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The specified credential kind is not supported.

### UC\_CREDENTIAL\_TAG\_PURPOSE\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Specifying a credential purpose (`SERVICE` or `STORAGE`) is not supported in `SET`/`UNSET` TAG `ON`. Use `SET`/`UNSET` TAG `ON CREDENTIAL <credentialName>` instead.

### UC\_DATASOURCE\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data source format `<dataSourceFormatName>` is not supported in Unity Catalog.

### UC\_DATASOURCE\_OPTIONS\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data source options are not supported in Unity Catalog.

### UC\_DEPENDENCY\_DOES\_NOT\_EXIST

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Dependency does not exist in Unity Catalog:

`<errorMessage>`

### UC\_EXTERNAL\_VOLUME\_MISSING\_LOCATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`LOCATION` clause must be present for external volume. Please check the syntax '`CREATE EXTERNAL VOLUME` `...` `LOCATION` ...' for creating an external volume.

### UC\_FAILED\_PROVISIONING\_STATE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The query failed because it attempted to refer to table `<tableName>` but was unable to do so: `<failureReason>`. Please update the table `<tableName>` to ensure it is in an Active provisioning state and then retry the query again.

### UC\_FILE\_SCHEME\_FOR\_TABLE\_CREATION\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating table in Unity Catalog with file scheme `<schemeName>` is not supported.

Instead, please create a federated data source connection using the `CREATE CONNECTION` command for the same table provider, then create a catalog based on the connection with a `CREATE FOREIGN CATALOG` command to reference the tables therein.

### UC\_FLOWS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flows are not supported in Unity Catalog.

### UC\_HIVE\_METASTORE\_DISABLED\_EXCEPTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The operation attempted to use Hive Metastore`<identifier>`, which is disabled due to legacy access being turned off in your account or workspace. Please double check the default catalog in current session and default namespace setting. If you need to access the Hive Metastore, please ask your admin to set up Hive Metastore federation through Unity Catalog.

### UC\_HIVE\_METASTORE\_FEDERATION\_CROSS\_CATALOG\_VIEW\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Hive Metastore Federation view does not support dependencies across multiple catalogs. View `<view>` in Hive Metastore Federation catalog must use dependency from hive\_metastore or spark\_catalog catalog but its dependency `<dependency>` is in another catalog `<referencedCatalog>`. Please update the dependencies to satisfy this constraint and then retry your query or command again.

### UC\_HIVE\_METASTORE\_FEDERATION\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Hive Metastore federation is not enabled on this cluster.

Accessing the catalog `<catalogName>` is not supported on this cluster

### [UC\_INVALID\_DEPENDENCIES](https://docs.databricks.com/gcp/en/error-messages/uc-invalid-dependencies-error-class.md)

[SQLSTATE: 56098](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Dependencies of `<securable>` are recorded as `<storedDeps>` while being parsed as `<parsedDeps>`. This likely occurred through improper use of a non-SQL API.

For more details see [UC\_INVALID\_DEPENDENCIES](https://docs.databricks.com/gcp/en/error-messages/uc-invalid-dependencies-error-class.md)

### UC\_INVALID\_NAMESPACE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Nested or empty namespaces are not supported in Unity Catalog.

### UC\_INVALID\_REFERENCE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Non-Unity-Catalog object `<name>` can't be referenced in Unity Catalog objects.

### UC\_LAKEHOUSE\_FEDERATION\_WRITES\_NOT\_ALLOWED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Unity Catalog Lakehouse Federation write support is not enabled for provider `<provider>` on this cluster.

### UC\_LOCATION\_FOR\_MANAGED\_VOLUME\_NOT\_SUPPORTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Managed volume does not accept `LOCATION` clause. Please check the syntax '`CREATE VOLUME` ...' for creating a managed volume.

### UC\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Unity Catalog is not enabled on this cluster.

### UC\_QUERY\_FEDERATION\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Unity Catalog Query Federation is not enabled on this cluster.

### UC\_RESOLVED\_DBFS\_PATH\_MISMATCH

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The query failed because it attempted to refer to `<objectType> <name>` but was unable to do so: Resolved DBFS path `<resolvedHmsPath>` does not match Unity Catalog storage location `<ucStorageLocation>`.

### UC\_SCHEMA\_REQUIRES\_MANAGED\_LOCATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE SCHEMA` in Unity Catalog must use `MANAGED LOCATION`, not `LOCATION`.

### UC\_SECRETS\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Support for Unity Catalog Secrets is not enabled.

### UC\_SECRET\_ALREADY\_EXISTS

[SQLSTATE: 42713](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create secret `<name>` because it already exists.

Choose a different name, drop or replace the existing object, or add the `IF NOT EXISTS` clause to tolerate pre-existing objects.

### UC\_SECRET\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Secret `<name>` does not exist. Use '`SHOW SECRETS`' to list available secrets.

### UC\_SECURABLE\_IS\_NOT\_DROPPED

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop `<securableType>` because a `<securableType> <securableIdentifier>` already exists.

### UC\_SERVICE\_CREDENTIALS\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Service credentials are not enabled on this cluster.

### UC\_TABLE\_METADATA\_OUT\_OF\_SYNC

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Unable to query table `<tableName>` because table metadata is out of sync in catalog. Repair table by running 'MSCK `REPAIR TABLE <tableName> SYNC METADATA`' to synchronize metadata first.

### UC\_UNCAUGHT\_CLIENT\_EXCEPTION

[SQLSTATE: KCUC4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kc-unity-catalog-specific-errors)

Encountered an unexpected HTTP error while communicating with the Databricks Unity Catalog backend. Error Code: `<errCode>`. Message: `<message>`

### UC\_UNDROP\_RESOURCE\_NOT\_READY

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot undrop `<resourceType>` because the `<resourceType> <resourceIdentifier>` is not yet ready to be restored. Retry later.

### UC\_UNDROP\_RESOURCE\_PAST\_RETENTION\_PERIOD

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot undrop `<resourceType>` because the `<resourceType>` with id `<resourceId>` is beyond its restoration period.

### UC\_UNIQUE\_CONSTRAINT\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unique constraint is not supported in Unity Catalog. Please enable by setting `databricks.unitycatalog.enableUniqueConstraintSupport = true`.

### UC\_VOLUMES\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Support for Unity Catalog Volumes is not enabled on this instance.

### UC\_VOLUMES\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Volumes are not supported for this operation. The specified path was '`<path>`'.

### UC\_VOLUMES\_SHARING\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Support for Volume Sharing is not enabled on this instance.

### UC\_VOLUME\_FGAC\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Unity Catalog Volume fine-grained access control is not available on this instance.

### UC\_VOLUME\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Volume `<name>` does not exist. Please use '`SHOW VOLUMES`' to list available volumes.

### [UDF\_ENVIRONMENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-environment-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to install UDF dependencies for `<udfName>` due to a system error.

For more details see [UDF\_ENVIRONMENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-environment-error-error-class.md)

### [UDF\_ENVIRONMENT\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-environment-user-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to install UDF dependencies for `<udfName>`.

For more details see [UDF\_ENVIRONMENT\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-environment-user-error-error-class.md)

### [UDF\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Execution of function `<fn>` failed

For more details see [UDF\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-error-error-class.md)

### [UDF\_LIMITS](https://docs.databricks.com/gcp/en/error-messages/udf-limits-error-class.md)

[SQLSTATE: 54KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

One or more UDF limits were breached.

For more details see [UDF\_LIMITS](https://docs.databricks.com/gcp/en/error-messages/udf-limits-error-class.md)

### UDF\_MAX\_COUNT\_EXCEEDED

[SQLSTATE: 54KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Exceeded query-wide UDF limit of `<maxNumUdfs>` UDFs (limited during public preview). Found `<numUdfs>`. The UDFs were: `<udfNames>`.

### [UDF\_PYSPARK\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-pyspark-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Python worker exited unexpectedly

For more details see [UDF\_PYSPARK\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-pyspark-error-error-class.md)

### UDF\_PYSPARK\_UNSUPPORTED\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

PySpark UDF `<udf> (<eval-type>)` is not supported on clusters in Shared access mode.

### [UDF\_PYSPARK\_USER\_CODE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-pyspark-user-code-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Execution failed.

For more details see [UDF\_PYSPARK\_USER\_CODE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-pyspark-user-code-error-error-class.md)

### UDF\_UNSUPPORTED\_PARAMETER\_DEFAULT\_VALUE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Parameter default value is not supported for user-defined `<functionType>` function.

### [UDF\_USER\_CODE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-user-code-error-error-class.md)

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Execution of function `<fn>` failed.

For more details see [UDF\_USER\_CODE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/udf-user-code-error-error-class.md)

### UDTF\_ALIAS\_NUMBER\_MISMATCH

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The number of aliases supplied in the `AS` clause does not match the number of columns output by the UDTF.

Expected `<aliasesSize>` aliases, but got `<aliasesNames>`.

Please ensure that the number of aliases provided matches the number of columns output by the UDTF.

### UDTF\_INVALID\_ALIAS\_IN\_REQUESTED\_ORDERING\_STRING\_FROM\_ANALYZE\_METHOD

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to evaluate the user-defined table function because its 'analyze' method returned a requested OrderingColumn whose column name expression included an unnecessary alias `<aliasName>`; please remove this alias and then try the query again.

### UDTF\_INVALID\_REQUESTED\_SELECTED\_EXPRESSION\_FROM\_ANALYZE\_METHOD\_REQUIRES\_ALIAS

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to evaluate the user-defined table function because its 'analyze' method returned a requested 'select' expression (`<expression>`) that does not include a corresponding alias; please update the UDTF to specify an alias there and then try the query again.

### UDT\_CLASS\_LOADING\_DISABLED

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot load the class `<udtClass>` as a user-defined type. Loading UserDefinedType classes by name is disabled by `spark.sql.udt.allowCreatingUDTFromString`, and `<udtClass>` is not in the allow list `spark.sql.udt.allowedDynamicUDTClasses` (currently `<allowed>`). Set `spark.sql.udt.allowCreatingUDTFromString` to true, or add the class to the allow list, only if you trust the source of the data being read.

### [UDT\_CLASS\_NOT\_FOUND](https://docs.databricks.com/gcp/en/error-messages/udt-class-not-found-error-class.md)

[SQLSTATE: 38000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-38-external-routine-exception)

Could not load UserDefinedType class `<udtClass>`.

Ensure the JAR containing this class is on the classpath.

For more details see [UDT\_CLASS\_NOT\_FOUND](https://docs.databricks.com/gcp/en/error-messages/udt-class-not-found-error-class.md)

### UDT\_CLASS\_NOT\_USER\_DEFINED\_TYPE

[SQLSTATE: 2203G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The class `<udtClass>` cannot be loaded as a user-defined type because it is not a subtype of UserDefinedType.

### UNABLE\_TO\_CONVERT\_TO\_PROTOBUF\_MESSAGE\_TYPE

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to convert SQL type `<toType>` to Protobuf type `<protobufType>`.

### UNABLE\_TO\_FETCH\_HIVE\_TABLES

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Unable to fetch tables of Hive database: `<dbName>`. Error Class Name: `<className>`.

### UNABLE\_TO\_INFER\_PIPELINE\_TABLE\_SCHEMA

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to infer the schema for table `<tableName>` from its upstream flows.

Please modify the flows that write to this table to make their schemas compatible.

Inferred schema so far:

`<inferredDataSchema>`

Incompatible schema:

`<incompatibleDataSchema>`

### UNABLE\_TO\_INFER\_SCHEMA

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to infer schema for `<format>`. It must be specified manually.

### UNABLE\_TO\_REGISTER\_WITH\_EXTERNAL\_SHUFFLE\_SERVICE

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Unable to register with the external shuffle service: `<message>`

### UNAUTHENTICATED

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The request does not have valid authentication credentials for the operation.

### UNAUTHORIZED\_ACCESS

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unauthorized access:

`<report>`

### UNBOUND\_SQL\_PARAMETER

[SQLSTATE: 42P02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found the unbound parameter: `<name>`. Please, fix `args` and provide a mapping of the parameter to either a SQL literal or collection constructor functions such as `map(), array(), struct()`.

### UNCLOSED\_BRACKETED\_COMMENT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found an unclosed bracketed comment. Please, append \*/ at the end of the comment.

### UNEXPECTED\_INPUT\_TYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Parameter `<paramIndex>` of function `<functionName>` requires the `<requiredType>` type, however `<inputSql>` has the type `<inputType>`.

### UNEXPECTED\_INPUT\_TYPE\_OF\_NAMED\_PARAMETER

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<namedParamKey>` parameter of function `<functionName>` requires the `<requiredType>` type, however `<inputSql>` has the type `<inputType>`.`<hint>`

### UNEXPECTED\_OPERATOR\_IN\_STREAMING\_VIEW

[SQLSTATE: 42KDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unexpected operator `<op>` in the `CREATE VIEW` statement as a streaming source.

A streaming view query must consist only of `SELECT, WHERE`, and `UNION ALL` operations.

### UNEXPECTED\_POSITIONAL\_ARGUMENT

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot invoke routine `<routineName>` because it contains positional argument(s) following the named argument assigned to `<parameterName>`; please rearrange them so the positional arguments come first and then retry the query again.

### UNEXPECTED\_SERIALIZER\_FOR\_CLASS

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The class `<className>` has an unexpected expression serializer. Expects "`STRUCT`" or "`IF`" which returns "`STRUCT`" but found `<expr>`.

### UNION\_NOT\_SUPPORTED\_IN\_RECURSIVE\_CTE

[SQLSTATE: 42836](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `UNION` operator is not yet supported within recursive common table expressions (`WITH` clauses that refer to themselves, directly or indirectly). Please use `UNION ALL` instead.

### UNIQUE\_CONSTRAINT\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unique constraint feature is disabled. To enable it, set "spark.databricks.sql.dsv2.unique.enabled" as true.

### [UNKNOWN\_FIELD\_EXCEPTION](https://docs.databricks.com/gcp/en/error-messages/unknown-field-exception-error-class.md)

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Encountered `<changeType>` during parsing: `<unknownFieldBlob>`, which can be fixed by an automatic retry: `<isRetryable>`

For more details see [UNKNOWN\_FIELD\_EXCEPTION](https://docs.databricks.com/gcp/en/error-messages/unknown-field-exception-error-class.md)

### UNKNOWN\_POSITIONAL\_ARGUMENT

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The invocation of routine `<routineName>` contains an unknown positional argument `<sqlExpr>` at position `<pos>`. This is invalid.

### UNKNOWN\_PRIMITIVE\_TYPE\_IN\_VARIANT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unknown primitive type with id `<id>` was found in a variant value.

### UNKNOWN\_PROTOBUF\_MESSAGE\_TYPE

[SQLSTATE: 42K0G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Attempting to treat `<descriptorName>` as a Message, but it was `<containingType>`.

### UNPIVOT\_REQUIRES\_ATTRIBUTES

[SQLSTATE: 42K0A](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`UNPIVOT` requires all given `<given>` expressions to be columns when no `<empty>` expressions are given. These are not columns: \[`<expressions>`].

### UNPIVOT\_REQUIRES\_VALUE\_COLUMNS

[SQLSTATE: 42K0A](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

At least one value column needs to be specified for `UNPIVOT`, all columns specified as ids.

### UNPIVOT\_VALUE\_DATA\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unpivot value columns must share a least common type, some types do not: \[`<types>`].

### UNPIVOT\_VALUE\_SIZE\_MISMATCH

[SQLSTATE: 428C4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

All unpivot value columns must have the same size as there are value column names (`<names>`).

### UNRECOGNIZED\_PARAMETER\_NAME

[SQLSTATE: 4274K](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot invoke routine `<routineName>` because the routine call included a named argument reference for the argument named `<argumentName>`, but this routine does not include any signature containing an argument with this name. Did you mean one of the following? \[`<proposal>`].

### UNRECOGNIZED\_SQL\_TYPE

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unrecognized SQL type - name: `<typeName>`, id: `<jdbcType>`.

To read this column, map it explicitly with the `customSchema` option, or register a custom `JdbcDialect` that handles this type.

### UNRECOGNIZED\_STATISTIC

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The statistic `<stats>` is not recognized. Valid statistics include `count, count_distinct, approx_count_distinct, mean, stddev, min, max`, and percentile values. Percentile must be a numeric value followed by '%', within the range 0% to 100%.

### UNRESOLVABLE\_TABLE\_VALUED\_FUNCTION

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not resolve `<name>` to a table-valued function.

Please make sure that `<name>` is defined as a table-valued function and that all required parameters are provided correctly.

If `<name>` is not defined, please create the table-valued function before using it.

For more information about defining table-valued functions, please refer to the Apache Spark documentation.

### UNRESOLVED\_ALL\_IN\_GROUP\_BY

[SQLSTATE: 42803](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot infer grouping columns for `GROUP BY ALL` based on the select clause. Please explicitly specify the grouping columns.

### [UNRESOLVED\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/unresolved-column-error-class.md)

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A column, variable, or function parameter with name `<objectName>` cannot be resolved.

For more details see [UNRESOLVED\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/unresolved-column-error-class.md)

### UNRESOLVED\_COLUMN\_AMONG\_FIELD\_NAMES

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve column name "`<colName>`" among (`<fieldNames>`).

### [UNRESOLVED\_FIELD](https://docs.databricks.com/gcp/en/error-messages/unresolved-field-error-class.md)

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A field with name `<fieldName>` cannot be resolved with the struct-type column `<columnPath>`.

For more details see [UNRESOLVED\_FIELD](https://docs.databricks.com/gcp/en/error-messages/unresolved-field-error-class.md)

### UNRESOLVED\_INSERT\_REPLACE\_USING\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`REPLACE USING` column `<colName>` cannot be resolved in the `<relationType>`.

Did you mean one of the following column(s)? \[`<suggestion>`].

### [UNRESOLVED\_MAP\_KEY](https://docs.databricks.com/gcp/en/error-messages/unresolved-map-key-error-class.md)

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve column `<objectName>` as a map key. If the key is a string literal, add the single quotes '' around it.

For more details see [UNRESOLVED\_MAP\_KEY](https://docs.databricks.com/gcp/en/error-messages/unresolved-map-key-error-class.md)

### UNRESOLVED\_NAMED\_EXPRESSION

[SQLSTATE: 42K0S](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid call to `<method>` on an unresolved named expression.

### [UNRESOLVED\_ROUTINE](https://docs.databricks.com/gcp/en/error-messages/unresolved-routine-error-class.md)

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve routine `<routineName>` on search path `<searchPath>`.

Verify the spelling of `<routineName>`, check that the routine exists, and confirm you have `USE` privilege on the catalog and schema, and `EXECUTE` on the routine.

For more details see [UNRESOLVED\_ROUTINE](https://docs.databricks.com/gcp/en/error-messages/unresolved-routine-error-class.md)

### UNRESOLVED\_TABLE\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Storage path for table `<identifier>` cannot be resolved.

### UNRESOLVED\_UC\_SECRET\_REFERENCE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

UC Secret reference `<secretName>` was not resolved during analysis. UC Secret references must be resolved and replaced before query execution.

### UNRESOLVED\_USING\_COLUMN\_FOR\_JOIN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`USING` column `<colName>` cannot be resolved on the `<side>` side of the join. The `<side>`-side columns: \[`<suggestion>`].

### UNRESOLVED\_VARIABLE

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve variable `<variableName>` on search path `<searchPath>`.

### UNSTRUCTURED\_DATA\_PROCESSING\_UNSUPPORTED\_FILE\_FORMAT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unstructured file format `<format>` is not supported. Supported file formats are `<supportedFormats>`.

Please update the `format` from your `<expr>` expression to one of the supported formats and then retry the query again.

### UNSTRUCTURED\_DATA\_PROCESSING\_UNSUPPORTED\_MODEL\_OPTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unstructured model option ('`<option>`' -> '`<value>`') is not supported. Supported values are: `<supportedValues>`.

Switch to one of the supported values and then retry the query again.

### UNSTRUCTURED\_OCR\_COLUMN\_NOT\_ALLOWED\_WITH\_METADATA\_MODEL\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function parameter 'ocrText' must be `NULL` or omitted when the 'metadataModel' option is specified. A specified 'metadataModel' option triggers metadata extraction, where a provided 'ocrText' is forbidden.

### [UNSUPPORTED\_ADD\_FILE](https://docs.databricks.com/gcp/en/error-messages/unsupported-add-file-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Don't support add file.

For more details see [UNSUPPORTED\_ADD\_FILE](https://docs.databricks.com/gcp/en/error-messages/unsupported-add-file-error-class.md)

### UNSUPPORTED\_ALTER\_COLUMN\_PARAMETER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Specifying `<parameter>` with `ALTER <commandTableType>` is not supported.

### [UNSUPPORTED\_ARRAY\_KEY](https://docs.databricks.com/gcp/en/error-messages/unsupported-array-key-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Array keys are not supported by:

For more details see [UNSUPPORTED\_ARRAY\_KEY](https://docs.databricks.com/gcp/en/error-messages/unsupported-array-key-error-class.md)

### UNSUPPORTED\_ARROWTYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported arrow type `<typeName>`.

### [UNSUPPORTED\_AUTO\_SCHEMA\_EVOLUTION\_CHANGES](https://docs.databricks.com/gcp/en/error-messages/unsupported-auto-schema-evolution-changes-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Automatic schema evolution failed for table `<tableName>`.

For more details see [UNSUPPORTED\_AUTO\_SCHEMA\_EVOLUTION\_CHANGES](https://docs.databricks.com/gcp/en/error-messages/unsupported-auto-schema-evolution-changes-error-class.md)

### [UNSUPPORTED\_BATCH\_PARAMETERIZED\_STATEMENT](https://docs.databricks.com/gcp/en/error-messages/unsupported-batch-parameterized-statement-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Batch execution of the provided statement is not supported.

For more details see [UNSUPPORTED\_BATCH\_PARAMETERIZED\_STATEMENT](https://docs.databricks.com/gcp/en/error-messages/unsupported-batch-parameterized-statement-error-class.md)

### UNSUPPORTED\_BATCH\_TABLE\_VALUED\_FUNCTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<funcName>` does not support batch queries.

### UNSUPPORTED\_BUILT\_IN\_JDBC\_DIALECT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<name>` is not a supported built-in JDBC dialect. Supported dialects are: `<supportedNames>`.

### [UNSUPPORTED\_CALL](https://docs.databricks.com/gcp/en/error-messages/unsupported-call-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot call the method "`<methodName>`" of the class "`<className>`".

For more details see [UNSUPPORTED\_CALL](https://docs.databricks.com/gcp/en/error-messages/unsupported-call-error-class.md)

### UNSUPPORTED\_CHAR\_OR\_VARCHAR\_AS\_STRING

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The char/varchar type can't be used in the table schema.

If you want Spark treat them as string type as same as Spark 3.0 and earlier, please set "spark.sql.legacy.charVarcharAsString" to "true".

### UNSUPPORTED\_CHAR\_OR\_VARCHAR\_COLLATION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The char/varchar type `<type>` cannot have collation specified.

### UNSUPPORTED\_CLAUSE\_FOR\_OPERATION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<clause>` is not supported for `<operation>`.

### [UNSUPPORTED\_COLLATION](https://docs.databricks.com/gcp/en/error-messages/unsupported-collation-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Collation `<collationName>` is not supported for:

For more details see [UNSUPPORTED\_COLLATION](https://docs.databricks.com/gcp/en/error-messages/unsupported-collation-error-class.md)

### UNSUPPORTED\_COMMON\_ANCESTOR\_LOC\_FOR\_FILE\_STREAM\_SOURCE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The common ancestor of source path and sourceArchiveDir should be registered with UC.

If you see this error message, it's likely that you register the source path and sourceArchiveDir in different external locations.

Please put them into a single external location.

### [UNSUPPORTED\_CONNECT\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/unsupported-connect-feature-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Feature is not supported in Spark Connect:

For more details see [UNSUPPORTED\_CONNECT\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/unsupported-connect-feature-error-class.md)

### UNSUPPORTED\_CONSTRAINT\_CHARACTERISTIC

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Constraint characteristic '`<characteristic>`' is not supported for constraint type '`<constraintType>`'.

### UNSUPPORTED\_CONSTRAINT\_CLAUSES

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Constraint clauses `<clauses>` are unsupported.

### UNSUPPORTED\_CONSTRAINT\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unsupported constraint type. Only `<supportedConstraintTypes>` are supported

### UNSUPPORTED\_CROSS\_METASTORE\_ROW\_FILTER\_COLUMN\_MASK\_ON\_DEDICATED\_COMPUTE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Row filters and column masks on cross-metastore table `<tableName>` are not supported on this compute type. Serverless or shared compute is required to query this table.

### UNSUPPORTED\_CROSS\_METASTORE\_ROW\_FILTER\_COLUMN\_MASK\_WITH\_OBJECT\_DEPENDENCY

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The row filter or column mask function `<functionName>` references other tables or functions in its body, which is not supported on cross-metastore tables.

### UNSUPPORTED\_DATASOURCE\_FOR\_DIRECT\_QUERY

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported data source type for direct query on files: `<dataSourceType>`

### UNSUPPORTED\_DATATYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported data type `<typeName>`.

### UNSUPPORTED\_DATA\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The input query contains unsupported data source(s). Only `<allowlist>` data sources are supported on `<production>`.

### UNSUPPORTED\_DATA\_SOURCE\_IN\_SHARED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The data source `<source>` is not supported in shared compute. Unsupported data sources: `<blocklist>`.

### UNSUPPORTED\_DATA\_SOURCE\_SAVE\_MODE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The data source "`<source>`" cannot be written in the `<createMode>` mode. Please use either the "Append" or "Overwrite" mode instead.

### UNSUPPORTED\_DATA\_SOURCE\_WRITE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The input query contains unsupported data source(s). Only `<dmlAllowed>` data sources are allowed to run DML on `<production>`.

### UNSUPPORTED\_DATA\_TYPE\_FOR\_DATASOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<format>` datasource doesn't support the column `<columnName>` of the type `<columnType>`.

### UNSUPPORTED\_DATA\_TYPE\_FOR\_ENCODER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot create encoder for `<dataType>`. Please use a different output data type for your UDF or DataFrame.

### UNSUPPORTED\_DECFLOAT\_PRECISION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Precision `<precision>` for the `DECFLOAT` data type is not supported. Supported precisions are: `<supportedPrecisions>`.

### [UNSUPPORTED\_DEFAULT\_VALUE](https://docs.databricks.com/gcp/en/error-messages/unsupported-default-value-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`DEFAULT` column values is not supported.

For more details see [UNSUPPORTED\_DEFAULT\_VALUE](https://docs.databricks.com/gcp/en/error-messages/unsupported-default-value-error-class.md)

### [UNSUPPORTED\_DESERIALIZER](https://docs.databricks.com/gcp/en/error-messages/unsupported-deserializer-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The deserializer is not supported:

For more details see [UNSUPPORTED\_DESERIALIZER](https://docs.databricks.com/gcp/en/error-messages/unsupported-deserializer-error-class.md)

### UNSUPPORTED\_EXPRESSION\_GENERATED\_COLUMN

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create generated column `<fieldName>` with generation expression `<expressionStr>` because `<reason>`.

### UNSUPPORTED\_EXPR\_FOR\_OPERATOR

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The query operator `<operator>` contains one or more unsupported expressions.

Consider to rewrite it to avoid window functions, aggregate functions, and generator functions in the `<operator>` operator.

Invalid expressions: \[`<invalidExprSqls>`]

### UNSUPPORTED\_EXPR\_FOR\_PARAMETER

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A query parameter contains unsupported expression.

Parameters can either be variables or literals.

Invalid expression: \[`<invalidExprSql>`]

### UNSUPPORTED\_EXPR\_FOR\_WINDOW

[SQLSTATE: 42P20](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Expression `<sqlExpr>` not supported within a window function.

### [UNSUPPORTED\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/unsupported-feature-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The feature is not supported:

For more details see [UNSUPPORTED\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/unsupported-feature-error-class.md)

### UNSUPPORTED\_FILE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The data type FILE is not supported.

### UNSUPPORTED\_FN\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported user defined function type: `<language>`

### [UNSUPPORTED\_GENERATOR](https://docs.databricks.com/gcp/en/error-messages/unsupported-generator-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The generator is not supported:

For more details see [UNSUPPORTED\_GENERATOR](https://docs.databricks.com/gcp/en/error-messages/unsupported-generator-error-class.md)

### UNSUPPORTED\_GROUPING\_EXPRESSION

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

grouping()/grouping\_id() can only be used with GroupingSets/Cube/Rollup.

### [UNSUPPORTED\_HIVE\_FUNCTION\_TYPE](https://docs.databricks.com/gcp/en/error-messages/unsupported-hive-function-type-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported Hive UDF/UDAF/UDTF Java type:

For more details see [UNSUPPORTED\_HIVE\_FUNCTION\_TYPE](https://docs.databricks.com/gcp/en/error-messages/unsupported-hive-function-type-error-class.md)

### UNSUPPORTED\_HIVE\_METASTORE\_VERSION\_FOR\_JAVA

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Hive metastore version `<version>` requires Java `<requiredJavaVersion>` or later, but the current JVM is Java `<currentJavaVersion>`. Please upgrade your Java version or use an earlier Hive metastore version.

### [UNSUPPORTED\_HIVE\_PARQUET\_TYPE](https://docs.databricks.com/gcp/en/error-messages/unsupported-hive-parquet-type-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The Hive Parquet SerDe does not support this data type for table `<tableName>`.

For more details see [UNSUPPORTED\_HIVE\_PARQUET\_TYPE](https://docs.databricks.com/gcp/en/error-messages/unsupported-hive-parquet-type-error-class.md)

### UNSUPPORTED\_HIVE\_TABLE\_READ\_ON\_DBSQL

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Reading Hive table '`<identifier>`' with SerDe '`<serde>`', input format '`<inputFormat>`', and output format '`<outputFormat>`' is not allowed on Databricks SQL. Only `<allowlist>` data sources are supported.

If you have to read the table on Databricks SQL, we recommend converting the table into a new table of Delta format in a Databricks notebook with query '`CREATE TABLE` TableName `USING DELTA AS SELECT` \* `FROM <identifier>`'

### UNSUPPORTED\_HIVE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot read the Hive type `<fieldType>` of the column `<fieldName>` because Spark SQL does not support this data type.

### UNSUPPORTED\_INITIAL\_POSITION\_AND\_TRIGGER\_PAIR\_FOR\_KINESIS\_SOURCE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<trigger>` with initial position `<initialPosition>` is not supported with the Kinesis source

### [UNSUPPORTED\_INSERT](https://docs.databricks.com/gcp/en/error-messages/unsupported-insert-error-class.md)

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Can't insert into the target.

For more details see [UNSUPPORTED\_INSERT](https://docs.databricks.com/gcp/en/error-messages/unsupported-insert-error-class.md)

### UNSUPPORTED\_INSERT\_WITH\_SCHEMA\_EVOLUTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`INSERT WITH SCHEMA EVOLUTION` ... is unsupported for this table format.

### UNSUPPORTED\_JOIN\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported join type '`<typ>`'. Supported join types include: `<supported>`.

### UNSUPPORTED\_MANAGED\_TABLE\_CREATION

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating a managed table `<tableName>` using datasource `<dataSource>` is not supported. You need to use datasource `DELTA` or create an external table using `CREATE EXTERNAL TABLE <tableName>` `...` `USING <dataSource>` ...

### [UNSUPPORTED\_MERGE\_CONDITION](https://docs.databricks.com/gcp/en/error-messages/unsupported-merge-condition-error-class.md)

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MERGE` operation contains unsupported `<condName>` condition.

For more details see [UNSUPPORTED\_MERGE\_CONDITION](https://docs.databricks.com/gcp/en/error-messages/unsupported-merge-condition-error-class.md)

### UNSUPPORTED\_METADATA\_KEY

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unsupported metadata key: `<key>`. Supported keys: `<supportedKeys>`.

### [UNSUPPORTED\_METRIC\_VIEW\_USAGE](https://docs.databricks.com/gcp/en/error-messages/unsupported-metric-view-usage-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported Metric View usage.

For more details see [UNSUPPORTED\_METRIC\_VIEW\_USAGE](https://docs.databricks.com/gcp/en/error-messages/unsupported-metric-view-usage-error-class.md)

### UNSUPPORTED\_NESTED\_ROW\_OR\_COLUMN\_ACCESS\_POLICY

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table `<tableName>` has a row level security policy or column mask which indirectly refers to another table with a row level security policy or column mask; this is not supported. Call sequence: `<callSequence>`

### UNSUPPORTED\_OPERATION\_FOR\_CONTINUOUS\_MEMORY\_SINK

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The operation `<operation>` is not supported for ContinuousMemorySink.

### [UNSUPPORTED\_OVERWRITE](https://docs.databricks.com/gcp/en/error-messages/unsupported-overwrite-error-class.md)

[SQLSTATE: 42902](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Can't overwrite the target that is also being read from.

For more details see [UNSUPPORTED\_OVERWRITE](https://docs.databricks.com/gcp/en/error-messages/unsupported-overwrite-error-class.md)

### UNSUPPORTED\_PARTITION\_TRANSFORM

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported partition transform: `<transform>`. The supported transforms are `identity, bucket`, and `clusterBy`. Ensure your transform expression uses one of these.

### UNSUPPORTED\_PIPELINE\_SPARK\_SQL\_COMMAND

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

'`<command>`' is not supported in spark.sql("...") API in Lakeflow pipeline.

### UNSUPPORTED\_PROCEDURE\_COLLATION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Procedure `<procedureName>` must specify or inherit `DEFAULT COLLATION` UTF8\_BINARY. Use `CREATE PROCEDURE  <procedureName> (...) DEFAULT COLLATION UTF_BINARY ...`.

### [UNSUPPORTED\_SAVE\_MODE](https://docs.databricks.com/gcp/en/error-messages/unsupported-save-mode-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The save mode `<saveMode>` is not supported for:

For more details see [UNSUPPORTED\_SAVE\_MODE](https://docs.databricks.com/gcp/en/error-messages/unsupported-save-mode-error-class.md)

### [UNSUPPORTED\_SCHEMA\_EVOLUTION](https://docs.databricks.com/gcp/en/error-messages/unsupported-schema-evolution-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Schema evolution is not supported for this write.

For more details see [UNSUPPORTED\_SCHEMA\_EVOLUTION](https://docs.databricks.com/gcp/en/error-messages/unsupported-schema-evolution-error-class.md)

### [UNSUPPORTED\_SHOW\_CREATE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/unsupported-show-create-table-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported a `SHOW CREATE TABLE` command.

For more details see [UNSUPPORTED\_SHOW\_CREATE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/unsupported-show-create-table-error-class.md)

### UNSUPPORTED\_SINGLE\_PASS\_ANALYZER\_FEATURE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The single-pass analyzer cannot process this query or command because it does not yet support `<feature>`.

### UNSUPPORTED\_SQL\_UDF\_USAGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Using SQL function `<functionName>` in `<nodeName>` is not supported.

### UNSUPPORTED\_STREAMING\_OPERATOR\_WITHOUT\_WATERMARK

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<outputMode>` output mode not supported for `<statefulOperator>` on streaming DataFrames/DataSets without watermark.

### [UNSUPPORTED\_STREAMING\_OPTIONS\_FOR\_VIEW](https://docs.databricks.com/gcp/en/error-messages/unsupported-streaming-options-for-view-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported for streaming a view. Reason:

For more details see [UNSUPPORTED\_STREAMING\_OPTIONS\_FOR\_VIEW](https://docs.databricks.com/gcp/en/error-messages/unsupported-streaming-options-for-view-error-class.md)

### UNSUPPORTED\_STREAMING\_OPTIONS\_PERMISSION\_ENFORCED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Streaming options `<options>` are not supported for data source `<source>` on a shared cluster. Please confirm that the options are specified and spelled correctly`<prefixHint>`, and check [https://docs.databricks.com/en/compute/access-mode-limitations.html#streaming-limitations-and-requirements-for-unity-catalog-shared-access-mode](https://docs.databricks.com/en/compute/access-mode-limitations.html#streaming-limitations-and-requirements-for-unity-catalog-shared-access-mode) for limitations.

### UNSUPPORTED\_STREAMING\_SINK\_PERMISSION\_ENFORCED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data source `<sink>` is not supported as a streaming sink on a shared cluster.

### UNSUPPORTED\_STREAMING\_SOURCE\_PERMISSION\_ENFORCED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data source `<source>` is not supported as a streaming source on a shared cluster.

### UNSUPPORTED\_STREAMING\_TABLE\_VALUED\_FUNCTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The function `<funcName>` does not support streaming. Please remove the `STREAM` keyword

### UNSUPPORTED\_STREAM\_READ\_LIMIT\_FOR\_KINESIS\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<streamReadLimit>` is not supported with the Kinesis source

### [UNSUPPORTED\_SUBQUERY\_EXPRESSION\_CATEGORY](https://docs.databricks.com/gcp/en/error-messages/unsupported-subquery-expression-category-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported subquery expression:

For more details see [UNSUPPORTED\_SUBQUERY\_EXPRESSION\_CATEGORY](https://docs.databricks.com/gcp/en/error-messages/unsupported-subquery-expression-category-error-class.md)

### UNSUPPORTED\_TABLE\_CHANGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported table change: `<message>`

### UNSUPPORTED\_TABLE\_CHANGE\_IN\_JDBC\_CATALOG

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table change `<change>` is not supported for the JDBC catalog on table `<tableName>`. Supported changes include: AddColumn, RenameColumn, DeleteColumn, UpdateColumnType, UpdateColumnNullability.

### UNSUPPORTED\_TIMESERIES\_COLUMNS

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Creating primary key with timeseries columns is not supported

### UNSUPPORTED\_TIMESERIES\_WITH\_MORE\_THAN\_ONE\_COLUMN

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating primary key with more than one timeseries column `<colSeq>` is not supported

### UNSUPPORTED\_TIME\_PRECISION

[SQLSTATE: 0A001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The seconds precision `<precision>` of the TIME data type is out of the supported range \[0, 9].

### UNSUPPORTED\_TIME\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The data type TIME is not supported.

### UNSUPPORTED\_TIME\_TYPE\_IN\_GENERATED\_COLUMN

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Generated columns with TIME type are not supported. Column '`<colName>`' has TIME type. Remove the `GENERATED ALWAYS AS` clause or use a different data type.

### UNSUPPORTED\_TRIGGER\_FOR\_KINESIS\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<trigger>` is not supported with the Kinesis source

### UNSUPPORTED\_TYPED\_LITERAL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Literals of the type `<unsupportedType>` are not supported. Supported types are `<supportedTypes>`.

### [UNSUPPORTED\_UDF\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/unsupported-udf-feature-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The function `<function>` uses an unsupported feature.

For more details see [UNSUPPORTED\_UDF\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/unsupported-udf-feature-error-class.md)

### UNSUPPORTED\_UDF\_TYPES\_IN\_SAME\_PLACE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

UDF types cannot be used together: `<types>`

### UNTYPED\_SCALA\_UDF

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You're using untyped Scala UDF, which does not have the input type information.

Spark may blindly pass null to the Scala closure with primitive-type argument, and the closure will see the default value of the Java type for the null argument, for example, `udf((x: Int) => x, IntegerType)`, the result is 0 for null input. To get rid of this error, you could:

1. use typed Scala UDF APIs(without return type parameter), for example, `udf((x: Int) => x)`.

2. use Java UDF APIs, for example, `udf(new UDF1[String, Integer] { override def call(s: String): Integer = s.length() }, IntegerType)`, if input types are all non primitive.

3. set "spark.sql.legacy.allowUntypedScalaUDF" to "true" and use this API with caution.

### [UPGRADE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/upgrade-not-supported-error-class.md)

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table is not eligible for upgrade from Hive Metastore to Unity Catalog. Reason:

For more details see [UPGRADE\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/upgrade-not-supported-error-class.md)

### [USER\_DEFINED\_FUNCTIONS](https://docs.databricks.com/gcp/en/error-messages/user-defined-functions-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User defined function is invalid:

For more details see [USER\_DEFINED\_FUNCTIONS](https://docs.databricks.com/gcp/en/error-messages/user-defined-functions-error-class.md)

### USER\_HOME\_CATALOG\_NOT\_FOUND\_EXCEPTION

SQLSTATE: none assigned

Failed to execute the `USER_HOME_CATALOG` SQL function because the user home catalog cannot be found. Please reach out to your workspace admin to enable this feature, validate your user home catalog exists in the Catalog Explorer and retry the command.

### USER\_RAISED\_EXCEPTION

[SQLSTATE: P0001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-p0-procedural-logic-error)

`<errorMessage>`

### USER\_RAISED\_EXCEPTION\_PARAMETER\_MISMATCH

[SQLSTATE: P0001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-p0-procedural-logic-error)

The `raise_error()` function was used to raise error class: `<errorClass>` which expects parameters: `<expectedParms>`.

The provided parameters `<providedParms>` do not match the expected parameters.

Please make sure to provide all expected parameters.

### USER\_RAISED\_EXCEPTION\_UNKNOWN\_ERROR\_CLASS

[SQLSTATE: P0001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-p0-procedural-logic-error)

The `raise_error()` function was used to raise an unknown error class: `<errorClass>`

### USER\_SPECIFIED\_AND\_ACTUAL\_SCHEMA\_MISMATCH

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The user-specified schema doesn't match the actual schema:

user-specified: `<schema>`, actual: `<actualSchema>`. If you're using

DataFrameReader.schema API or creating a table, please do not specify the schema.

Or if you're scanning an existed table, please drop it and re-create it.

### USER\_SPECIFIED\_AND\_INFERRED\_SCHEMA\_NOT\_COMPATIBLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<tableName>`' has a user-specified schema that is incompatible with the schema

inferred from its query.

`<streamingTableHint>`

Declared schema:

`<specifiedSchema>`

Inferred schema:

`<inferredDataSchema>`

### USE\_CATALOG\_SCHEMA\_IN\_DEFINER\_STORED\_PROCEDURE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Setting metastore, catalog, or schema within SQL `SECURITY DEFINER` stored procedure is not supported.

### V2\_EXPRESSION\_SQL\_BUILDER\_UDAF\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` does not support user defined aggregate function: `<funcName>`.

### V2\_EXPRESSION\_SQL\_BUILDER\_UDF\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<class>` does not support user defined function: `<funcName>`.

### VACUUM\_DRY\_RUN\_ON\_NON\_DELTA\_TABLE\_NOT\_SUPPORTED

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Dry run mode is not supported for `VACUUM` on non-Delta tables.

### VARIABLE\_ALREADY\_EXISTS

[SQLSTATE: 42723](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the variable `<variableName>` because it already exists.

Choose a different name, or drop or replace the existing variable.

### VARIABLE\_NOT\_FOUND

[SQLSTATE: 42883](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The variable `<variableName>` cannot be found. Verify the spelling and correctness of the schema and catalog.

If you did not qualify the name with a schema and catalog, verify the current\_schema() output, or qualify the name with the correct schema and catalog.

To tolerate the error on drop use `DROP VARIABLE IF EXISTS`.

### VARIANT\_CONSTRUCTOR\_SIZE\_LIMIT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot construct a Variant larger than 16 MiB. The maximum allowed size of a Variant value is 16 MiB.

### VARIANT\_DUPLICATE\_KEY

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to build variant because of a duplicate object key `<key>`.

### VARIANT\_PATH\_TYPE\_MISMATCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The path '`<path>`' is incompatible with the variant value at '`<failedAt>`' in `<functionName>`.

### VARIANT\_SIZE\_LIMIT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot build variant bigger than `<sizeLimit>` in `<functionName>`.

Please avoid large input strings to this expression (for example, add function calls(s) to check the expression size and convert it to `NULL` first if it is too big).

### VECTOR\_DIMENSION\_MISMATCH

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Vectors passed to `<functionName>` must have the same dimension, but got `<leftDim>` and `<rightDim>`.

### [VECTOR\_INDEX\_CORRUPT\_METADATA](https://docs.databricks.com/gcp/en/error-messages/vector-index-corrupt-metadata-error-class.md)

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot read metadata for vector index `<indexName>`. Drop the index and recreate it.

For more details see [VECTOR\_INDEX\_CORRUPT\_METADATA](https://docs.databricks.com/gcp/en/error-messages/vector-index-corrupt-metadata-error-class.md)

### [VECTOR\_INDEX\_INVALID\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/vector-index-invalid-parameter-error-class.md)

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create vector index due to an invalid parameter, table, or column configuration.

For more details see [VECTOR\_INDEX\_INVALID\_PARAMETER](https://docs.databricks.com/gcp/en/error-messages/vector-index-invalid-parameter-error-class.md)

### VECTOR\_INDEX\_NAME\_CONFLICTS\_WITH\_TABLE

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A table with name `<indexName>` already exists. Provide a custom index name that does not conflict with existing tables.

### VECTOR\_OPTIMIZATION\_INVALID\_SCORING\_FUNCTION

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<functionName>` does not resolve to a supported built-in vector scoring function. Supported built-in functions are: `<allowedFunctions>`.

### VERSIONED\_CLONE\_LATEST\_TARGET\_VERSION\_GREATER\_THAN\_LATEST\_SOURCE\_VERSION

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Target version `<latestTargetVersion>` is greater than source version `<latestSourceVersion>`.

### VERSIONED\_CLONE\_OVERLAPPING\_ICEBERG\_PATHS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source path '`<sourcePath>`' and target path '`<targetPath>`' overlap. Cloning requires non-overlapping paths.

### VERSIONED\_CLONE\_SOURCE\_TABLE\_CHANGED

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source table was replaced between clone attempts. Expected source UC table ID `<expectedId>` but found `<actualId>`.

### [VERSIONED\_CLONE\_UNSUPPORTED\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/versioned-clone-unsupported-feature-error-class.md)

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Versioned Clone encountered an unsupported feature:

For more details see [VERSIONED\_CLONE\_UNSUPPORTED\_FEATURE](https://docs.databricks.com/gcp/en/error-messages/versioned-clone-unsupported-feature-error-class.md)

### VERSIONED\_CLONE\_UNSUPPORTED\_TABLE\_FEATURE

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

The source table history contains table feature(s) not supported by versioned clone in this DBR version: `<unsupportedFeatureNames>`.

Please upgrade to a newer DBR version.

### VIEW\_ALREADY\_EXISTS

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create view `<relationName>` because it already exists.

Choose a different name, drop or replace the existing object, or add the `IF NOT EXISTS` clause to tolerate pre-existing objects.

### VIEW\_DDL\_CONCURRENT\_MODIFICATION

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

The operation on view `<viewName>` failed because it was modified by another concurrent operation. Retry your statement so that it applies to the latest version of the view.

### VIEW\_EXCEED\_MAX\_NESTED\_DEPTH

[SQLSTATE: 54K00](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The depth of view `<viewName>` exceeds the maximum view resolution depth (`<maxNestedDepth>`).

Analysis is aborted to avoid errors. If you want to work around this, please try to increase the value of "spark.sql.view\.maxNestedViewDepth".

### VIEW\_NOT\_FOUND

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The view `<relationName>` cannot be found. Verify the spelling and correctness of the schema and catalog.

If you did not qualify the name with a schema, verify the current\_schema() output, or qualify the name with the correct schema and catalog.

To tolerate the error on drop use `DROP VIEW IF EXISTS`.

### VIEW\_WRITE\_NOT\_ALLOWED

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot write into view `<name>`, please write into a table instead.

### VOLUME\_ALREADY\_EXISTS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create volume `<relationName>` because it already exists.

Choose a different name, drop or replace the existing object, or add the `IF NOT EXISTS` clause to tolerate pre-existing objects.

### [WATERMARK\_ADVANCEMENT\_STRATEGY](https://docs.databricks.com/gcp/en/error-messages/watermark-advancement-strategy-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Streaming watermark advancement strategy has the following limitation:

For more details see [WATERMARK\_ADVANCEMENT\_STRATEGY](https://docs.databricks.com/gcp/en/error-messages/watermark-advancement-strategy-error-class.md)

### WINDOW\_FUNCTION\_AND\_FRAME\_MISMATCH

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<funcName>` function can only be evaluated in an ordered row-based window frame with a single offset: `<windowExpr>`.

### WINDOW\_FUNCTION\_FRAME\_NOT\_ORDERED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Window function `<wf_name>` requires the window to be ordered. You need to add an `ORDER BY` clause. For example: `SELECT <wf_expr>` OVER (`PARTITION BY` window\_partition `ORDER BY` window\_ordering) `FROM` table.

### WINDOW\_FUNCTION\_NOT\_ALLOWED\_IN\_CLAUSE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

It is not allowed to use window functions inside `<clauseName>` clause.

### WINDOW\_FUNCTION\_WITHOUT\_OVER\_CLAUSE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Window function `<funcName>` requires an OVER clause.

### WITH\_CREDENTIAL

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`WITH CREDENTIAL` syntax is not supported for `<type>`.

### [WKB\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/wkb-parse-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing WKB: `<parseError>` at position `<pos>`

For more details see [WKB\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/wkb-parse-error-error-class.md)

### WRITE\_STREAM\_NOT\_ALLOWED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`writeStream` can be called only on streaming Dataset/DataFrame.

### WRONG\_COLUMN\_DEFAULTS\_FOR\_DELTA\_ALTER\_TABLE\_ADD\_COLUMN\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to execute the command because `DEFAULT` values are not supported when adding new

columns to previously existing Delta tables; please add the column without a default

value first, then run a second `ALTER TABLE ALTER COLUMN SET DEFAULT` command to apply

for future inserted rows instead.

### WRONG\_COLUMN\_DEFAULTS\_FOR\_DELTA\_FEATURE\_NOT\_ENABLED

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to execute `<commandType>` command because it assigned a column `DEFAULT` value,

but the corresponding table feature was not enabled. Please retry the command again

after executing `ALTER TABLE` tableName `SET`

`TBLPROPERTIES`('delta.feature.allowColumnDefaults' = 'supported').

### WRONG\_COMMAND\_FOR\_OBJECT\_TYPE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The operation `<operation>` requires a `<requiredType>`. But `<objectName>` is a `<foundType>`. Use `<alternative>` instead.

### [WRONG\_NUM\_ARGS](https://docs.databricks.com/gcp/en/error-messages/wrong-num-args-error-class.md)

[SQLSTATE: 42605](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<functionName>` requires `<expectedNum>` parameters but the actual number is `<actualNum>`.

For more details see [WRONG\_NUM\_ARGS](https://docs.databricks.com/gcp/en/error-messages/wrong-num-args-error-class.md)

### XML\_ROW\_TAG\_MISSING

[SQLSTATE: 42KDF](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<rowTag>` option is required for reading/writing files in XML format.

### XML\_UNSUPPORTED\_NESTED\_TYPES

[SQLSTATE: 0N000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0n-sqlxml-mapping-error)

XML doesn't support `<innerDataType>` as inner type of `<dataType>`. Please wrap the `<innerDataType>` within a StructType field when using it inside `<dataType>`.

### XML\_WILDCARD\_RESCUED\_DATA\_CONFLICT\_ERROR

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Rescued data and wildcard column cannot be simultaneously enabled. Remove the wildcardColumnName option.

### ZIP\_PLANS\_NOT\_MERGEABLE

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The two DataFrames in zip() cannot be merged. They must produce the same canonicalized plan after stripping outer Project chains, and must not contain non-scalar Python UDFs.

### ZORDERBY\_COLUMN\_DOES\_NOT\_EXIST

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

ZOrderBy column `<columnName>` doesn't exist.

## Delta Lake

### DELTA\_ACTIVE\_SPARK\_SESSION\_NOT\_FOUND

[SQLSTATE: 08003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Could not find active SparkSession.

### DELTA\_ACTIVE\_TRANSACTION\_ALREADY\_SET

[SQLSTATE: 0B000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0b-invalid-transaction-initiation)

Cannot set a new txn as active when one is already active.

### DELTA\_ADAPTIVE\_METADATA\_REQUIRES\_COLUMN\_MAPPING\_ID\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table feature '`<feature>`' requires column mapping mode 'id', but the table property '`<prop>`' is set to '`<mode>`'. Recreate the table with '`<prop>`' = 'id', or omit the property to have it set automatically.

### DELTA\_ADAPTIVE\_METADATA\_REQUIRES\_DEPENDENT\_FEATURE\_ENABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table feature '`<feature>`' requires the table property '`<prop>`' to be enabled, but it is explicitly set to '`<value>`'. Set '`<prop>`' = 'true', or omit the property to have it enabled automatically.

### DELTA\_ADAPTIVE\_METADATA\_UPGRADE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Enabling the table feature '`<feature>`' on an existing table is not supported. Please create a new table with the feature enabled instead.

### DELTA\_ADDING\_COLUMN\_WITH\_INTERNAL\_NAME\_FAILED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to add column `<colName>` because the name is reserved.

### DELTA\_ADDING\_DELETION\_VECTORS\_DISALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The current operation attempted to add a deletion vector to a table that does not permit the creation of new deletion vectors. Please file a bug report.

### DELTA\_ADDING\_DELETION\_VECTORS\_WITH\_TIGHT\_BOUNDS\_DISALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

All operations that add deletion vectors should set the tightBounds column in statistics to false. Please file a bug report.

### DELTA\_ADD\_COLUMN\_AT\_INDEX\_LESS\_THAN\_ZERO

[SQLSTATE: 42KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Index `<columnIndex>` to add column `<columnName>` is lower than 0.

### DELTA\_ADD\_COLUMN\_PARENT\_NOT\_STRUCT

[SQLSTATE: 42KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add `<columnName>` because its parent is not a StructType. Found `<other>`.

### DELTA\_ADD\_COLUMN\_STRUCT\_NOT\_FOUND

[SQLSTATE: 42KD3](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Struct not found at position `<position>`.

### DELTA\_ADD\_CONSTRAINTS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Please use `ALTER TABLE` ADD `CONSTRAINT` to add `CHECK` constraints.

### DELTA\_AFE\_CANNOT\_OVERWRITE\_TABLE\_PROPERTY

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot set the Delta table property `<prop>` because it is already present on the table. Automatic Feature Enablement may not overwrite existing table properties.

### DELTA\_AFE\_CANNOT\_SET\_TABLE\_PROPERTIES\_ON\_VERSIONED\_CLONE\_TARGET

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot set table properties on a versioned clone target during Automatic Feature Enablement.

### DELTA\_AGGREGATE\_IN\_CHECK\_CONSTRAINT

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<sqlExpr>` in a `CHECK` constraint. Aggregate expressions are not allowed in `CHECK` constraints.

### DELTA\_AGGREGATE\_IN\_GENERATED\_COLUMN

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<sqlExpr>`. A generated column cannot use an aggregate expression.

### DELTA\_AGGREGATION\_NOT\_SUPPORTED

[SQLSTATE: 42903](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Aggregate functions are not supported in the `<operation> <predicate>`.

### DELTA\_ALTER\_COLLATION\_NOT\_SUPPORTED\_BLOOM\_FILTER

[SQLSTATE: 428FR](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to change the collation of column `<column>` because it has a bloom filter index. Please either retain the existing collation or else drop the bloom filter index and then retry the command again to change the collation.

### DELTA\_ALTER\_COLLATION\_NOT\_SUPPORTED\_CLUSTER\_BY

[SQLSTATE: 428FR](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to change the collation of column `<column>` because it is a clustering column. Please either retain the existing collation or else change the column to a non-clustering column with an `ALTER TABLE` command and then retry the command again to change the collation.

### DELTA\_ALTER\_TABLE\_CHANGE\_COL\_NOT\_SUPPORTED

[SQLSTATE: 42837](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE CHANGE COLUMN` is not supported for changing column `<currentType>` to `<newType>`.

### DELTA\_ALTER\_TABLE\_CLUSTER\_BY\_MISMATCHED\_HIERARCHICAL\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot run `ALTER TABLE CLUSTER BY` because the table has 'delta.liquid.hierarchicalClusteringColumns' table property set to `<hierarchicalColumns>` which contains columns not in the new clustering columns `<newClusteringColumns>`. Unset the 'delta.liquid.hierarchicalClusteringColumns' table property first.

### DELTA\_ALTER\_TABLE\_CLUSTER\_BY\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE CLUSTER BY` is supported only for Delta table with Liquid clustering.

### DELTA\_ALTER\_TABLE\_CLUSTER\_BY\_ON\_PARTITIONED\_TABLE\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE CLUSTER BY` cannot be applied to a partitioned table. Convert the table using `ALTER TABLE` `...` `REPLACE PARTITIONED BY WITH CLUSTER BY`.

### DELTA\_ALTER\_TABLE\_RENAME\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Operation not allowed: `ALTER TABLE RENAME` TO is not allowed for managed Delta tables on S3, as eventual consistency on S3 may corrupt the Delta transaction log. If you insist on doing so and are sure that there has never been a Delta table with the new name `<newName>` before, you can enable this by setting `<key>` to be true.

### DELTA\_ALTER\_TABLE\_REPLACE\_PARTITIONED\_BY\_ON\_MANAGED\_ICEBERG\_TABLE\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE REPLACE PARTITIONED BY WITH CLUSTER BY` cannot be applied to a managed Apache Iceberg table. Use `ALTER TABLE CLUSTER BY` instead.

### DELTA\_ALTER\_TABLE\_REPLACE\_PARTITIONED\_BY\_ON\_UNPARTITIONED\_TABLE\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE REPLACE PARTITIONED BY WITH CLUSTER BY` cannot be applied to an unpartitioned table. Use `ALTER TABLE CLUSTER BY` instead.

### DELTA\_ALTER\_TABLE\_REPLACE\_PARTITIONED\_BY\_WITH\_CLUSTER\_BY\_COLUMN\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE REPLACE PARTITIONED BY WITH CLUSTER BY` cannot convert table with column `<column>` of type incompatible with liquid clustering.

### DELTA\_ALTER\_TABLE\_REPLACE\_PARTITIONED\_BY\_WITH\_CLUSTER\_BY\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE REPLACE PARTITIONED BY WITH CLUSTER BY` is currently unsupported.

### DELTA\_ALTER\_TABLE\_REPLACE\_PARTITIONED\_BY\_WITH\_CLUSTER\_BY\_STATS\_GENERATION\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE REPLACE PARTITIONED BY WITH CLUSTER BY` cannot auto-generate stats on table with column `<column>` due to unsupported type: `<columnType>`. Disable stats auto-generation by setting 'spark.databricks.delta.liquidConversion.statsGeneration.enabled' to 'false' and retry the command again.

### DELTA\_ALTER\_TABLE\_SET\_CLUSTERING\_TABLE\_FEATURE\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot enable `<tableFeature>` table feature using `ALTER TABLE SET TBLPROPERTIES`. Please use `CREATE` OR `REPLACE TABLE CLUSTER BY` to create a Delta table with clustering.

### DELTA\_ALTER\_TABLE\_SET\_MANAGED\_COPY\_OR\_MOVE\_REQUIRED

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE ... SET MANAGED` requires `COPY` or MOVE to be specified for foreign table `<table>`.

### DELTA\_ALTER\_TABLE\_SET\_MANAGED\_DOES\_NOT\_SUPPORT\_UNIFORM\_ICEBERG

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE ... SET MANAGED` does not support Uniform Apache Iceberg table. Disable Uniform or use `SET MANAGED TRUNCATE UNIFORM HISTORY`.

### [DELTA\_ALTER\_TABLE\_SET\_MANAGED\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-alter-table-set-managed-failed-error-class.md)

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE <table> SET MANAGED` failed.

For more details see [DELTA\_ALTER\_TABLE\_SET\_MANAGED\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-alter-table-set-managed-failed-error-class.md)

### DELTA\_ALTER\_TABLE\_SET\_MANAGED\_IN\_PLACE\_UNSUPPORTED

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE ... SET MANAGED IN PLACE` is not supported because the table has type `<tableType>`.

### DELTA\_ALTER\_TABLE\_SET\_MANAGED\_NOT\_ENABLED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE` `...` `SET MANAGED` command is not enabled. Contact your Databricks support team for assistance.

### [DELTA\_ALTER\_TABLE\_SET\_MANAGED\_TABLE\_NOT\_MIGRATABLE](https://docs.databricks.com/gcp/en/error-messages/delta-alter-table-set-managed-table-not-migratable-error-class.md)

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

`ALTER TABLE <table> SET MANAGED` is unable to migrate the given table.

Make sure the table is in a valid state and retry the command. If the issue persists, contact Databricks support.

For more details see [DELTA\_ALTER\_TABLE\_SET\_MANAGED\_TABLE\_NOT\_MIGRATABLE](https://docs.databricks.com/gcp/en/error-messages/delta-alter-table-set-managed-table-not-migratable-error-class.md)

### DELTA\_ALTER\_TABLE\_SET\_MANAGED\_UNSUPPORTED\_COPY\_MOVE\_SYNTAX

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE ... SET MANAGED [COPY | MOVE]` syntax is not supported for table `<table>`. Use `ALTER TABLE ... SET MANAGED` instead.

### DELTA\_ALTER\_TABLE\_SET\_MANAGED\_UNSUPPORTED\_FOREIGN\_TABLE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Foreign table `<table>` is not supported for migrating to UC managed table: `<errorMessage>`.

### DELTA\_ALTER\_TABLE\_UNSET\_MANAGED\_DOES\_NOT\_SUPPORT\_CATALOG\_OWNED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE ... UNSET MANAGED` does not support tables with the Catalog-Owned (catalogManaged) feature enabled.

Drop the Catalog-Owned feature using `ALTER TABLE ... DROP FEATURE catalogManaged` before running this command.

### DELTA\_ALTER\_TABLE\_UNSET\_MANAGED\_DOES\_NOT\_SUPPORT\_COMPATIBILITY\_MODE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE ... UNSET MANAGED` does not support table with compatibility mode enabled.

Disable compatibility mode on the table before running this command.

### DELTA\_ALTER\_TABLE\_UNSET\_MANAGED\_DOES\_NOT\_SUPPORT\_UNIFORM

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE ... UNSET MANAGED` does not support Uniform. Disable Uniform or use `UNSET MANAGED TRUNCATE UNIFORM HISTORY`.

### [DELTA\_ALTER\_TABLE\_UNSET\_MANAGED\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-alter-table-unset-managed-failed-error-class.md)

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<table>` cannot be rolled back from managed to external table.

For more details see [DELTA\_ALTER\_TABLE\_UNSET\_MANAGED\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-alter-table-unset-managed-failed-error-class.md)

### DELTA\_ALTER\_TABLE\_UNSET\_MANAGED\_NOT\_ENABLED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE` `...` `UNSET MANAGED` command is not enabled. Contact your Databricks support team for assistance.

### DELTA\_AMBIGUOUS\_DATA\_TYPE\_CHANGE

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change data type of `<column>` from `<from>` to `<to>`. This change contains column removals and additions, therefore they are ambiguous. Please make these changes individually using `ALTER TABLE` \[ADD | `DROP | RENAME`] `COLUMN`.

### DELTA\_AMBIGUOUS\_PARTITION\_COLUMN

[SQLSTATE: 42702](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ambiguous partition column `<column>` can be `<colMatches>`.

### DELTA\_AMBIGUOUS\_PATHS\_IN\_CREATE\_TABLE

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CREATE TABLE` contains two different locations: `<identifier>` and `<location>`.

You can remove the `LOCATION` clause from the `CREATE TABLE` statement, or set

`<config>` to true to skip this check.

### DELTA\_ARCHIVED\_FILES\_IN\_LIMIT

[SQLSTATE: 42KDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<table>` does not contain enough records in non-archived files to satisfy specified `LIMIT` of `<limit>` records.

Only `<numRecords>` record(s) were found in non-archived files.

Retry with a lower `LIMIT`. If you didn't set one, add an explicit `LIMIT` clause to override the default.

### DELTA\_ARCHIVED\_FILES\_IN\_SCAN

[SQLSTATE: 42KDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<numArchivedFiles>` potentially archived file(s) in table `<table>` that need to be scanned as part of this query.

Archived files cannot be accessed. The current time until archival is configured as `<archivalTime>`.

Please adjust your query filters to exclude any archived files.

### DELTA\_BLOCKED\_WRITE\_WITH\_DROPPED\_NULLTYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Write with schema evolution from a Delta table that contains NullType columns is not supported. Upgrade to a newer Databricks Runtime version.

### DELTA\_BLOCK\_COLUMN\_MAPPING\_AND\_CDC\_OPERATION

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Operation "`<opName>`" is not allowed when the table has enabled change data feed (CDF) and has undergone schema changes using `DROP COLUMN` or `RENAME COLUMN`.

### DELTA\_BLOOM\_FILTER\_DROP\_ON\_NON\_EXISTING\_COLUMNS

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop bloom filter indices for the following non-existent column(s): `<unknownColumns>`.

### DELTA\_BLOOM\_FILTER\_INVALID\_PARAMETER\_VALUE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot create bloom filter index, invalid parameter value: '`<message>`'.

### DELTA\_BLOOM\_FILTER\_OOM\_ON\_WRITE

[SQLSTATE: 82100](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-82-out-of-memory)

OutOfMemoryError occurred while writing bloom filter indices for the following column(s): `<columnsWithBloomFilterIndices>`.

You can reduce the memory footprint of bloom filter indices by choosing a smaller value for the 'numItems' option, a larger value for the 'fpp' option, or by indexing fewer columns.

### [DELTA\_CANNOT\_CHANGE\_DATA\_TYPE](https://docs.databricks.com/gcp/en/error-messages/delta-cannot-change-data-type-error-class.md)

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change the table schema.

For more details see [DELTA\_CANNOT\_CHANGE\_DATA\_TYPE](https://docs.databricks.com/gcp/en/error-messages/delta-cannot-change-data-type-error-class.md)

### DELTA\_CANNOT\_CHANGE\_LOCATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change the 'location' of the Delta table using `SET TBLPROPERTIES`. Please use `ALTER TABLE SET LOCATION` instead.

### DELTA\_CANNOT\_CHANGE\_PROVIDER

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'provider' is a reserved table property, and cannot be altered.

### DELTA\_CANNOT\_CREATE\_BLOOM\_FILTER\_NON\_EXISTING\_COL

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create bloom filter indices for the following non-existent column(s): `<unknownCols>`.

### DELTA\_CANNOT\_CREATE\_LOG\_PATH

[SQLSTATE: 42KD5](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create `<path>`.

### DELTA\_CANNOT\_DESCRIBE\_VIEW\_HISTORY

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot describe the history of a view.

### DELTA\_CANNOT\_DROP\_BLOOM\_FILTER\_ON\_NON\_INDEXED\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop bloom filter index on a non indexed column: `<columnName>`.

### DELTA\_CANNOT\_DROP\_CHECK\_CONSTRAINT\_FEATURE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop the `CHECK` constraints table feature.

The following constraints must be dropped first: `<constraints>`.

### DELTA\_CANNOT\_DROP\_COLLATIONS\_FEATURE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop the collations table feature.

Columns with non-default collations must be altered to using UTF8\_BINARY first: `<colNames>`.

### DELTA\_CANNOT\_DROP\_DOMAIN\_METADATA\_FEATURE\_FROM\_MANAGED\_ICEBERG\_TABLE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop the domainMetadata table feature. Table `<name>` is a managed Apache Iceberg table. DomainMetadata cannot be dropped from managed Apache Iceberg tables.

### DELTA\_CANNOT\_DROP\_GEOSPATIAL\_FEATURE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop the geospatial table feature. Recreate the table or drop columns with geometry/geography types: `<colNames>` and try again.

### DELTA\_CANNOT\_DROP\_TIMESTAMP\_NANOS\_FEATURE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop the timestampNanos table feature because the table contains columns of type `TIMESTAMP`(9) or `TIMESTAMP_NTZ`(9): `<colNames>`.

### DELTA\_CANNOT\_DROP\_TIME\_TYPE\_FEATURE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop the timeType table feature. Recreate the table or drop columns with TIME type: `<colNames>` and try again.

### DELTA\_CANNOT\_DROP\_VARIANT\_FEATURE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

`DROP FEATURE <feature>` was unsuccessful. Cannot drop the variant table feature. Variant columns must be dropped first: `<colNames>`.

### DELTA\_CANNOT\_EVALUATE\_EXPRESSION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot evaluate expression: `<expression>`.

### DELTA\_CANNOT\_FIND\_BUCKET\_SPEC

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Expecting a bucketing Delta table but cannot find the bucket spec in the table.

### DELTA\_CANNOT\_GENERATE\_CODE\_FOR\_EXPRESSION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot generate code for expression: `<expression>`.

### DELTA\_CANNOT\_MODIFY\_APPEND\_ONLY

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

This table is configured to only allow appends. If you would like to permit updates or deletes, use '`ALTER TABLE <table_name> SET TBLPROPERTIES (<config>`=false)'.

### DELTA\_CANNOT\_MODIFY\_CATALOG\_MANAGED\_DEPENDENCIES

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot override or unset in-commit timestamp table properties because this table is catalog-managed. Remove "delta.enableInCommitTimestamps", "delta.inCommitTimestampEnablementVersion", and "delta.inCommitTimestampEnablementTimestamp" from the `TBLPROPERTIES` clause and then retry the command.

### DELTA\_CANNOT\_MODIFY\_COORDINATED\_COMMITS\_DEPENDENCIES

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<Command>` cannot override or unset in-commit timestamp table properties because coordinated commits is enabled in this table and depends on them. Please remove them ("delta.enableInCommitTimestamps", "delta.inCommitTimestampEnablementVersion", "delta.inCommitTimestampEnablementTimestamp") from the `TBLPROPERTIES` clause and then retry the command again.

### DELTA\_CANNOT\_MODIFY\_TABLE\_PROPERTY

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Delta table configuration `<prop>` cannot be specified by the user.

### DELTA\_CANNOT\_OVERRIDE\_COORDINATED\_COMMITS\_CONFS

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<Command>` cannot override coordinated commits configurations for an existing target table. Please remove them ("delta.coordinatedCommits.commitCoordinator-preview", "delta.coordinatedCommits.commitCoordinatorConf-preview", "delta.coordinatedCommits.tableConf-preview") from the `TBLPROPERTIES` clause and then retry the command again.

### DELTA\_CANNOT\_RECONSTRUCT\_PATH\_FROM\_URI

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

A uri (`<uri>`) which can't be turned into a relative path was found in the transaction log.

### DELTA\_CANNOT\_RELATIVIZE\_PATH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A path (`<path>`) which can't be relativized with the current input found in the

transaction log. Please re-run this as:

%%scala com.databricks.delta.Delta.fixAbsolutePathsInLog("`<userPath>`", true)

and then also run:

%%scala com.databricks.delta.Delta.fixAbsolutePathsInLog("`<path>`")

### DELTA\_CANNOT\_RENAME\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot rename `<currentPath>` to `<newPath>`.

### DELTA\_CANNOT\_REPLACE\_MISSING\_TABLE

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<tableName>` cannot be replaced as it does not exist. Use `CREATE` OR `REPLACE TABLE` to create the table.

### DELTA\_CANNOT\_RESOLVE\_CLUSTERING\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve the clustering column `<columnName>` in `<schema>` due to an unexpected error. Run `ALTER TABLE` `...` `CLUSTER BY` ... to repair Delta clustering metadata.

### DELTA\_CANNOT\_RESOLVE\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Can't resolve column `<columnName>` in `<schema>`

### DELTA\_CANNOT\_RESOLVE\_EXPRESSION

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve expression: `<expression>`

### DELTA\_CANNOT\_RESTORE\_TABLE\_VERSION

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot restore table to version `<version>`. Available versions: \[`<startVersion>, <endVersion>`].

### DELTA\_CANNOT\_RESTORE\_TIMESTAMP\_EARLIER

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot restore table to timestamp (`<requestedTimestamp>`) as it is before the earliest version available. Please use a timestamp after (`<earliestTimestamp>`).

### DELTA\_CANNOT\_RESTORE\_TIMESTAMP\_GREATER

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot restore table to timestamp (`<requestedTimestamp>`) as it is after the latest version available. Please use a timestamp before (`<latestTimestamp>`).

### DELTA\_CANNOT\_SET\_COORDINATED\_COMMITS\_DEPENDENCIES

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<Command>` cannot set in-commit timestamp table properties together with coordinated commits, because the latter depends on the former and sets the former internally. Please remove them ("delta.enableInCommitTimestamps", "delta.inCommitTimestampEnablementVersion", "delta.inCommitTimestampEnablementTimestamp") from the `TBLPROPERTIES` clause and then retry the command again.

### DELTA\_CANNOT\_SET\_LOCATION\_ON\_PATH\_IDENTIFIER

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change the location of a path based table.

### DELTA\_CANNOT\_SET\_MANAGED\_STATS\_COLUMNS\_PROPERTY

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot set delta.managedDataSkippingStatsColumns on non-Spark Declarative Pipelines on Lakeflow table.

### DELTA\_CANNOT\_SET\_UC\_COMMIT\_COORDINATOR\_CONF\_IN\_COMMAND

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When enabling 'unity-catalog' as the commit coordinator, configuration "`<configuration>`" cannot be set from the command. Please remove it from the `TBLPROPERTIES` clause and then retry the command again.

### DELTA\_CANNOT\_SET\_UC\_COMMIT\_COORDINATOR\_CONF\_IN\_SESSION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When enabling 'unity-catalog' as the commit coordinator, configuration "`<configuration>`" cannot be set from the SparkSession configurations. Please unset it by running `spark.conf.unset("<configuration>")` and then retry the command again.

### DELTA\_CANNOT\_UNSET\_COORDINATED\_COMMITS\_CONFS

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER` cannot unset coordinated commits configurations. To downgrade a table from coordinated commits, please try again using `ALTER TABLE [table-name] DROP FEATURE 'coordinatedCommits-preview'`.

### DELTA\_CANNOT\_UPDATE\_ARRAY\_FIELD

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update `<tableName>` field `<fieldName>` type: update the element by updating `<fieldName>.element`.

### DELTA\_CANNOT\_UPDATE\_MAP\_FIELD

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update `<tableName>` field `<fieldName>` type: update a map by updating `<fieldName>.key` or `<fieldName>.value`.

### DELTA\_CANNOT\_UPDATE\_OTHER\_FIELD

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update `<tableName>` field of type `<typeName>`.

### DELTA\_CANNOT\_UPDATE\_STRUCT\_FIELD

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update `<tableName>` field `<fieldName>` type: update struct by adding, deleting, or updating its fields.

### DELTA\_CANNOT\_USE\_ALL\_COLUMNS\_FOR\_PARTITION

[SQLSTATE: 428FT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot use all columns for partition columns.

### DELTA\_CANNOT\_VACUUM\_LITE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

`VACUUM` LITE cannot delete all eligible files as some files are not referenced by the Delta log. Please run `VACUUM FULL`.

### [DELTA\_CANNOT\_WRITE\_EMPTY\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/delta-cannot-write-empty-schema-error-class.md)

[SQLSTATE: 428GU](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Delta table is not writable because parts of the schema are not supported.

Reason:

For more details see [DELTA\_CANNOT\_WRITE\_EMPTY\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/delta-cannot-write-empty-schema-error-class.md)

### DELTA\_CANNOT\_WRITE\_INTO\_VIEW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<table>` is a view. Writes to a view are not supported.

### DELTA\_CAST\_OVERFLOW\_IN\_TABLE\_WRITE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to write a value of `<sourceType>` type into the `<targetType>` type column `<columnName>` due to an overflow.

Use `try_cast` on the input value to tolerate overflow and return `NULL` instead.

If necessary, set `<storeAssignmentPolicyFlag>` to "`LEGACY`" to bypass this error or set `<updateAndMergeCastingFollowsAnsiEnabledFlag>` to true to revert to the old behaviour and follow `<ansiEnabledFlag>` in `UPDATE` and `MERGE`.

### DELTA\_CATALOG\_MANAGED\_TABLE\_UPGRADE\_OR\_DOWNGRADE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Upgrading or downgrading a catalog‑managed table is not supported. Create a new table with the desired table features instead.

### DELTA\_CATALOG\_MANAGED\_TABLE\_UPGRADE\_WITH\_OTHER\_PROPERTIES

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot combine upgrading table `<tableName>` to catalog-managed with other property changes.

Properties provided: `<properties>`.

### DELTA\_CDC\_NON\_CONSTANT\_ARGUMENT

[SQLSTATE: 42K0H](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<argumentName>` argument (position `<pos>`) of the `<functionName>` function requires a constant value, but got a non-constant expression: `<sqlExpr>`.

### DELTA\_CDC\_NOT\_ALLOWED\_IN\_THIS\_VERSION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Configuration delta.enableChangeDataFeed cannot be set. Change data feed from Delta is not yet available.

### DELTA\_CDC\_READ\_NULL\_RANGE\_BOUNDARY

[SQLSTATE: 22004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

CDC read start/end parameters cannot be null. Please provide a valid version or timestamp.

### DELTA\_CDC\_START\_VERSION\_AFTER\_LATEST

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Start version `<start>` for change data feed exceeds the latest table version `<latest>`.

### DELTA\_CHANGELOG\_REQUIRES\_ROW\_TRACKING

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Change data capture via `CHANGES` on `<tableName>` requires row tracking. Enable it by setting `TBLPROPERTIES` ('delta.enableRowTracking' = 'true').

### DELTA\_CHANGELOG\_REQUIRES\_V2\_TABLE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Auto-CDF reads on `<tableName>` require the V2 Delta connector, but the catalog resolved the table to `<actualClassName>`.

### DELTA\_CHANGELOG\_ROW\_TRACKING\_DISABLED\_IN\_RANGE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Delta CDC requires row tracking across the requested range; commit at version `<version>` disabled it. Pick a row-tracking-enabled range.

### DELTA\_CHANGELOG\_SCHEMA\_CHANGE\_IN\_RANGE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Delta CDC cannot read across schema changes; commit at version `<version>` changed the table schema. Pick a single-schema range.

### DELTA\_CHANGELOG\_UNBOUNDED\_RANGE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Delta CDC does not support unbounded ranges in batch reads. Specify a starting and ending version or timestamp.

### DELTA\_CHANGELOG\_UNSUPPORTED\_OPTION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<option>` option is not supported by the read-time CDC reader. Remove it from your query.

### DELTA\_CHANGE\_DATA\_FEED\_INCOMPATIBLE\_DATA\_SCHEMA

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Retrieving table changes between version `<start>` and `<end>` failed because of an incompatible data schema.

Your read schema is `<readSchema>` at version `<readVersion>`, but we found an incompatible data schema at version `<incompatibleVersion>`.

If possible, please retrieve the table changes using the end version's schema by setting `<config>` to `endVersion`, or contact support.

### DELTA\_CHANGE\_DATA\_FEED\_INCOMPATIBLE\_SCHEMA\_CHANGE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Retrieving table changes between version `<start>` and `<end>` failed because of an incompatible schema change.

Your read schema is `<readSchema>` at version `<readVersion>`, but we found an incompatible schema change at version `<incompatibleVersion>`.

If possible, please query table changes separately from version `<start>` to `<incompatibleVersion>` - 1, and from version `<incompatibleVersion>` to `<end>`.

### DELTA\_CHANGE\_DATA\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File `<filePath>` referenced in the transaction log cannot be found. This can occur when data has been manually deleted from the file system rather than using the table `DELETE` statement. This request appears to be targeting Change Data Feed, if that is the case, this error can occur when the change data file is out of the retention period and has been deleted by the `VACUUM` statement. For more information, see `<faqPath>`

### DELTA\_CHANGE\_TABLE\_FEED\_DISABLED

[SQLSTATE: 42807](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot write to table with delta.enableChangeDataFeed set. Change data feed from Delta is not available.

### DELTA\_CHECKPOINT\_NON\_EXIST\_TABLE

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot checkpoint a non-existing table `<path>`. Did you manually delete files in the \_delta\_log directory?

### DELTA\_CLONE\_AMBIGUOUS\_TARGET

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Two paths were provided as the `CLONE` target so it is ambiguous which to use. An external

location for `CLONE` was provided at `<externalLocation>` at the same time as the path

`<targetIdentifier>`.

### [DELTA\_CLONE\_INCOMPATIBLE\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/delta-clone-incompatible-source-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The clone source has valid format, but has unsupported feature with Delta.

For more details see [DELTA\_CLONE\_INCOMPATIBLE\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/delta-clone-incompatible-source-error-class.md)

### DELTA\_CLONE\_INCOMPLETE\_FILE\_COPY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File (`<fileName>`) not copied completely. Expected file size: `<expectedSize>`, found: `<actualSize>`. To continue with the operation by ignoring the file size check set `<config>` to false.

### DELTA\_CLONE\_PARQUET\_SOURCE\_AMBIGUOUS\_FILES\_WITH\_SAME\_PATH

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot DEEP `CLONE`: source and target have files at the same path with different sizes (showing up to 5): `<paths>`.

This occurs when source data location changes while reusing file names. Use unique file names (recommended) or drop and recreate the target table.

### DELTA\_CLONE\_UNSUPPORTED\_SOURCE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported `<mode>` clone source '`<name>`', whose format is `<format>`.

The supported formats are 'delta', 'Apache Iceberg' and 'parquet'.

### DELTA\_CLONE\_WITH\_HISTORY\_COPY\_CREDENTIAL\_GENERATION\_FAILED

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to generate a credential to copy files.

### [DELTA\_CLONE\_WITH\_HISTORY\_UNSUPPORTED\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/delta-clone-with-history-unsupported-source-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported source table:

For more details see [DELTA\_CLONE\_WITH\_HISTORY\_UNSUPPORTED\_SOURCE](https://docs.databricks.com/gcp/en/error-messages/delta-clone-with-history-unsupported-source-error-class.md)

### [DELTA\_CLONE\_WITH\_HISTORY\_UNSUPPORTED\_TARGET](https://docs.databricks.com/gcp/en/error-messages/delta-clone-with-history-unsupported-target-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported target table:

For more details see [DELTA\_CLONE\_WITH\_HISTORY\_UNSUPPORTED\_TARGET](https://docs.databricks.com/gcp/en/error-messages/delta-clone-with-history-unsupported-target-error-class.md)

### DELTA\_CLONE\_WITH\_ROW\_TRACKING\_WITHOUT\_STATS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot shallow clone a table without statistics and with row tracking enabled.

If you want to enable row tracking you need to first collect statistics on the source table by running:

`ANALYZE TABLE` table\_name `COMPUTE DELTA STATISTICS`

### DELTA\_CLUSTERING\_CANNOT\_DISABLE\_VARIANT\_SHREDDING

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot disable variant shredding (table property '`<tableProperty>`') because this table uses variant clustering expressions. Remove the variant clustering first with `ALTER TABLE` `...` `CLUSTER BY` before disabling variant shredding.

### DELTA\_CLUSTERING\_CLONE\_TABLE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CLONE` is not supported for Delta table with Liquid clustering for DBR version \< 14.0.

### DELTA\_CLUSTERING\_COLUMNS\_DATATYPE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CLUSTER BY` is not supported because the following column(s): `<columnsWithDataTypes>` don't support data skipping.

### DELTA\_CLUSTERING\_COLUMNS\_MISMATCH

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided clustering columns do not match the existing table's.

* provided: `<providedClusteringColumns>`

* existing: `<existingClusteringColumns>`

### DELTA\_CLUSTERING\_COLUMN\_MISSING\_STATS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Liquid clustering requires clustering columns to have stats. Couldn't find clustering column(s) '`<columns>`' in stats schema:

`<schema>`

### DELTA\_CLUSTERING\_CREATE\_EXTERNAL\_NON\_LIQUID\_TABLE\_FROM\_LIQUID\_TABLE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Creating an external table without liquid clustering from a table directory with liquid clustering is not allowed; path: `<path>`.

### DELTA\_CLUSTERING\_EXPRESSION\_REQUIRES\_STATS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Clustering on the expression '`<expression>`' is not supported when clustering-expression stats collection is disabled. Set '`<collectConfigKey>`' and '`<clusteringConfigKey>`' to 'true', or cluster on the column without a transform instead.

### DELTA\_CLUSTERING\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<operation>`' does not support clustering.

### DELTA\_CLUSTERING\_PHASE\_OUT\_FAILED

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot finish the `<phaseOutType>` of the table with `<tableFeatureToAdd>` table feature (reason: `<reason>`). Please try the `OPTIMIZE` command again.

\== Error ==

`<error>`

### DELTA\_CLUSTERING\_REPLACE\_TABLE\_WITH\_PARTITIONED\_TABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`REPLACE` a Delta table with Liquid clustering with a partitioned table is not allowed.

### DELTA\_CLUSTERING\_SHOW\_CREATE\_TABLE\_WITHOUT\_CLUSTERING\_COLUMNS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`SHOW CREATE TABLE` is not supported for Delta table with Liquid clustering without any clustering columns.

### DELTA\_CLUSTERING\_TO\_PARTITIONED\_TABLE\_WITH\_NON\_EMPTY\_CLUSTERING\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Transition a Delta table with Liquid clustering to a partitioned table is not allowed for operation: `<operation>`, when the existing table has non-empty clustering columns.

Please run `ALTER TABLE CLUSTER BY` NONE to remove the clustering columns first.

### DELTA\_CLUSTERING\_VARIANT\_REQUIRES\_SHREDDING

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Clustering on variant expressions requires variant shredding to be enabled on the table. Set the table property '`<tableProperty>`' to 'true' or remove it to use the default.

### DELTA\_CLUSTERING\_VARIANT\_REQUIRES\_STATS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Clustering on variant expressions is not supported when variant data skipping stats are disabled. Set '`<configKey>`' to 'true' or cluster on a non-variant column instead.

### DELTA\_CLUSTERING\_WITH\_DYNAMIC\_PARTITION\_OVERWRITE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Dynamic partition overwrite mode is not allowed for Delta table with Liquid clustering.

### DELTA\_CLUSTERING\_WITH\_PARTITION\_PREDICATE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`OPTIMIZE` command for Delta table with Liquid clustering doesn't support partition predicates. Please remove the predicates: `<predicates>`.

### DELTA\_CLUSTERING\_WITH\_ZORDER\_BY

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`OPTIMIZE` command for Delta table with Liquid clustering cannot specify `ZORDER BY`. Please remove `ZORDER BY (<zOrderBy>)`.

### DELTA\_CLUSTER\_BY\_AUTO\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided clusterByAuto value does not match that of the existing table.

### DELTA\_CLUSTER\_BY\_EXPRESSIONS\_INVALID\_COLUMN\_USE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Column `<column>` is used as an argument in an expression `<expressionType>` in `CLUSTER BY` that is unsupported for use with a column reference. See the documentation for supported expressions and arguments.

### DELTA\_CLUSTER\_BY\_EXPRESSIONS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Clustering by an expression of type `<expressionType>` is not supported in this version. Use a column name instead in the `CLUSTER BY` clause.

### DELTA\_CLUSTER\_BY\_EXPRESSIONS\_NO\_COLUMN\_REFERENCE

[SQLSTATE: 42K0E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CLUSTER BY` expression `<expressionType>` must reference exactly one column. No column reference was found.

### DELTA\_CLUSTER\_BY\_INVALID\_NUM\_COLUMNS

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

`CLUSTER BY` for Liquid clustering supports up to `<numColumnsLimit>` clustering columns, but the table has `<actualNumColumns>` clustering columns. Please remove the extra clustering columns.

### DELTA\_CLUSTER\_BY\_SCHEMA\_NOT\_PROVIDED

[SQLSTATE: 42908](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

It is not allowed to specify `CLUSTER BY` when the schema is not defined. Please define schema for table `<tableName>`.

### [DELTA\_CLUSTER\_BY\_VARIANT\_STATS\_NOT\_ENABLED](https://docs.databricks.com/gcp/en/error-messages/delta-cluster-by-variant-stats-not-enabled-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Clustering by variant\_get expressions requires variant statistics collection to be enabled. Without variant statistics, `OPTIMIZE` cannot cluster newly written files.

For more details see [DELTA\_CLUSTER\_BY\_VARIANT\_STATS\_NOT\_ENABLED](https://docs.databricks.com/gcp/en/error-messages/delta-cluster-by-variant-stats-not-enabled-error-class.md)

### DELTA\_CLUSTER\_BY\_WITH\_BUCKETING

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Clustering and bucketing cannot both be specified. Please remove `CLUSTERED BY INTO BUCKETS` / bucketBy if you want to create a Delta table with clustering.

### DELTA\_CLUSTER\_BY\_WITH\_PARTITIONED\_BY

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Clustering and partitioning cannot both be specified. Please remove `PARTITIONED BY` / partitionBy / partitionedBy if you want to create a Delta table with clustering.

### DELTA\_COLLATIONS\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Collations are not supported in Delta Lake.

### DELTA\_COLUMN\_DATA\_SKIPPING\_NOT\_SUPPORTED\_PARTITIONED\_COLUMN

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data skipping is not supported for partition column '`<column>`'.

### DELTA\_COLUMN\_DATA\_SKIPPING\_NOT\_SUPPORTED\_TYPE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data skipping is not supported for column '`<column>`' of type `<type>`.

### DELTA\_COLUMN\_MAPPING\_MAX\_COLUMN\_ID\_NOT\_SET

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The max column id property (`<prop>`) is not set on a column mapping enabled table.

### DELTA\_COLUMN\_MAPPING\_MAX\_COLUMN\_ID\_NOT\_SET\_CORRECTLY

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The max column id property (`<prop>`) on a column mapping enabled table is `<tableMax>`, which cannot be smaller than the max column id for all fields (`<fieldMax>`).

### DELTA\_COLUMN\_MISSING\_DATA\_TYPE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The data type of the column `<colName>` was not provided.

### DELTA\_COLUMN\_NOT\_FOUND

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to find the column `<columnName>` given \[`<columnList>`].

### DELTA\_COLUMN\_NOT\_FOUND\_IN\_MERGE

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to find the column '`<targetCol>`' of the target table from the `INSERT` columns: `<colNames>`. `INSERT` clause must specify value for all the columns of the target table.

### DELTA\_COLUMN\_NOT\_FOUND\_IN\_SCHEMA

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Couldn't find column `<columnName>` in:

`<tableSchema>`

### DELTA\_COLUMN\_PATH\_NOT\_NESTED

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Expected `<columnPath>` to be a nested data type, but found `<other>`. Was looking for the

index of `<column>` in a nested field.

Schema:

`<schema>`

### DELTA\_COLUMN\_STRUCT\_TYPE\_MISMATCH

[SQLSTATE: 2200G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Struct column `<source>` cannot be inserted into a `<targetType>` field `<targetField>` in `<targetTable>`.

### DELTA\_COMMIT\_INTERMEDIATE\_REDIRECT\_STATE

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot handle commit of table within redirect table state '`<state>`'.

### DELTA\_COMPACTION\_VALIDATION\_FAILED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The validation of the compaction of path `<compactedPath>` to `<newPath>` failed: Please file a bug report.

### DELTA\_COMPLEX\_TYPE\_COLUMN\_CONTAINS\_NULL\_TYPE

[SQLSTATE: 22005](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found nested VOID field in column `<columName>` which is of `<dataType>`. Delta doesn't support writing VOID in complex types.

### [DELTA\_CONCURRENT\_APPEND](https://docs.databricks.com/gcp/en/error-messages/delta-concurrent-append-error-class.md)

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

Transaction conflict detected. A concurrent `<operation>` added data to table `<tableName>` committed at version `<version>`.

For more details see [DELTA\_CONCURRENT\_APPEND](https://docs.databricks.com/gcp/en/error-messages/delta-concurrent-append-error-class.md)

### [DELTA\_CONCURRENT\_DELETE\_DELETE](https://docs.databricks.com/gcp/en/error-messages/delta-concurrent-delete-delete-error-class.md)

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

Transaction conflict detected, a concurrent `<operation>` deleted data from table `<tableName>` (committed at version `<version>`) that this transaction attempted to delete.

For more details see [DELTA\_CONCURRENT\_DELETE\_DELETE](https://docs.databricks.com/gcp/en/error-messages/delta-concurrent-delete-delete-error-class.md)

### [DELTA\_CONCURRENT\_DELETE\_READ](https://docs.databricks.com/gcp/en/error-messages/delta-concurrent-delete-read-error-class.md)

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

Transaction conflict detected, a concurrent `<operation>` deleted data from table `<tableName>` (committed at version `<version>`) that this transaction read.

For more details see [DELTA\_CONCURRENT\_DELETE\_READ](https://docs.databricks.com/gcp/en/error-messages/delta-concurrent-delete-read-error-class.md)

### DELTA\_CONCURRENT\_IDENTITY\_COLUMN\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot `<operation>` table `<tableId>`: concurrent identity columns are disabled.

### DELTA\_CONCURRENT\_IDENTITY\_COLUMN\_TOO\_MANY\_COLUMNS

[SQLSTATE: 54011](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Table `<tableId>` would have `<numColumns>` concurrent identity columns, which exceeds the maximum of `<maxColumns>`. Reduce the number of identity columns.

### DELTA\_CONCURRENT\_TRANSACTION

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

ConcurrentTransactionException: This error occurs when multiple streaming queries are using the same checkpoint to write into this table. Did you run multiple instances of the same streaming query at the same time?`<conflictingCommit>`

Refer to `<docLink>` for more details.

### DELTA\_CONCURRENT\_WRITE

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

ConcurrentWriteException: A concurrent transaction has written new data since the current transaction read the table. Please try the operation again.`<conflictingCommit>`

Refer to `<docLink>` for more details.

### DELTA\_CONFLICTING\_METADATA\_DOMAIN

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

A concurrent transaction added a conflicting metadata domain `<domain>`.

### DELTA\_CONFLICT\_SET\_COLUMN

[SQLSTATE: 42701](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

There is a conflict from these `SET` columns: `<columnList>`.

### DELTA\_CONF\_OVERRIDE\_NOT\_SUPPORTED\_IN\_COMMAND

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

During `<command>`, configuration "`<configuration>`" cannot be set from the command. Please remove it from the `TBLPROPERTIES` clause and then retry the command again.

### DELTA\_CONF\_OVERRIDE\_NOT\_SUPPORTED\_IN\_SESSION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

During `<command>`, configuration "`<configuration>`" cannot be set from the SparkSession configurations. Please unset it by running `spark.conf.unset("<configuration>")` and then retry the command again.

### DELTA\_CONSTRAINT\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Constraint '`<constraintName>`' already exists. Please delete the old constraint first.

Old constraint:

`<oldConstraint>`

### DELTA\_CONSTRAINT\_DATA\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` has data type `<columnType>` and cannot be altered to data type `<dataType>` because this column is referenced by the following check constraint(s):

`<constraints>`

### DELTA\_CONSTRAINT\_DEPENDENT\_COLUMN\_CHANGE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot alter column `<columnName>` because this column is referenced by the following check constraint(s):

`<constraints>`

### DELTA\_CONSTRAINT\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop nonexistent constraint `<constraintName>` from table `<tableName>`. To avoid throwing an error, provide the parameter `IF EXISTS` or set the SQL session configuration `<config>` to `<confValue>`.

### DELTA\_CONVERSION\_MERGE\_ON\_READ\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Conversion of Merge-On-Read `<format>` table is not supported: `<path>, <hint>`

### DELTA\_CONVERSION\_NO\_PARTITION\_FOUND

[SQLSTATE: 42KD6](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found no partition information in the catalog for table `<tableName>`. Have you run "MSCK `REPAIR TABLE`" on your table to discover partitions?

### DELTA\_CONVERSION\_UNSUPPORTED\_COLLATED\_PARTITION\_COLUMN

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot convert Parquet table with collated partition column `<colName>` to Delta.

### DELTA\_CONVERSION\_UNSUPPORTED\_COLUMN\_MAPPING

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The configuration '`<config>`' cannot be set to `<mode>` when using `CONVERT` TO `DELTA`.

### DELTA\_CONVERSION\_UNSUPPORTED\_SCHEMA\_CHANGE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported schema changes found for `<format>` table: `<path>, <hint>`

### DELTA\_CONVERT\_METASTORE\_METADATA\_MISMATCH

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are trying to convert a table which already has a delta log where the table properties in the catalog don't match the configuration in the delta log.

Table properties in catalog:

`<tableProperties>`

Delta configuration:

`<configuration>`

If you would like to merge the configurations (update existing fields and insert new ones), set the SQL configuration `<metadataCheckSqlConf>` to false.

### DELTA\_CONVERT\_NON\_PARQUET\_TABLE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CONVERT` TO `DELTA` only supports parquet tables, but you are trying to convert a `<sourceName>` source: `<tableId>`.

### DELTA\_CONVERT\_TO\_DELTA\_ROW\_TRACKING\_WITHOUT\_STATS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot enable row tracking without collecting statistics.

If you want to enable row tracking, do the following:

1. Enable statistics collection by running the command

`SET <statisticsCollectionPropertyKey>` = true

2. Run `CONVERT` TO `DELTA` without the NO `STATISTICS` option.

If you do not want to collect statistics, disable row tracking:

1. Deactivate enabling the table feature by default by running the command:

`RESET <rowTrackingTableFeatureDefaultKey>`

2. Deactivate the table property by default by running:

`SET <rowTrackingDefaultPropertyKey>` = false

### DELTA\_COPY\_INTO\_TARGET\_FORMAT

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`COPY INTO` target must be a Delta table.

### DELTA\_CREATE\_EXTERNAL\_TABLE\_WITHOUT\_SCHEMA

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are trying to create an external table `<tableName>`

from `<path>` using Delta, but the schema is not specified when the

input path is empty.

To learn more about Delta, see `<docLink>`

### DELTA\_CREATE\_EXTERNAL\_TABLE\_WITHOUT\_TXN\_LOG

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are trying to create an external table `<tableName>` from `<path>` using Delta, but there is no transaction log present at `<logPath>`. Check the upstream job to make sure that it is writing using format("delta") and that the path is the root of the table.

To learn more about Delta, see `<docLink>`

### DELTA\_CREATE\_TABLE\_IDENTIFIER\_LOCATION\_MISMATCH

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating path-based Delta table with a different location isn't supported. Identifier: `<identifier>`, Location: `<location>`.

### DELTA\_CREATE\_TABLE\_MISSING\_TABLE\_NAME\_OR\_LOCATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table name or location has to be specified.

### DELTA\_CREATE\_TABLE\_SCHEME\_MISMATCH

[SQLSTATE: 42KD7](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The specified schema does not match the existing schema at `<path>`.

\== Specified ==

`<specifiedSchema>`

\== Existing ==

`<existingSchema>`

\== Differences ==

`<schemaDifferences>`

If your intention is to keep the existing schema, you can omit the

schema from the create table command. Otherwise please ensure that

the schema matches.

### DELTA\_CREATE\_TABLE\_SET\_CLUSTERING\_TABLE\_FEATURE\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot enable `<tableFeature>` table feature using `TBLPROPERTIES`. Please use `CREATE` OR `REPLACE TABLE CLUSTER BY` to create a Delta table with clustering.

### DELTA\_CREATE\_TABLE\_WITH\_DIFFERENT\_CLUSTERING

[SQLSTATE: 42KD7](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The specified clustering columns do not match the existing clustering columns at `<path>`.

\== Specified ==

`<specifiedColumns>`

\== Existing ==

`<existingColumns>`

### DELTA\_CREATE\_TABLE\_WITH\_DIFFERENT\_PARTITIONING

[SQLSTATE: 42KD7](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The specified partitioning does not match the existing partitioning at `<path>`.

\== Specified ==

`<specifiedColumns>`

\== Existing ==

`<existingColumns>`

### DELTA\_CREATE\_TABLE\_WITH\_DIFFERENT\_PROPERTY

[SQLSTATE: 42KD7](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The specified properties do not match the existing properties at `<path>`.

\== Specified ==

`<specifiedProperties>`

\== Existing ==

`<existingProperties>`

### DELTA\_CREATE\_TABLE\_WITH\_NON\_EMPTY\_LOCATION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create table ('`<tableId>`'). The associated location ('`<tableLocation>`') is not empty and also not a Delta table.

### DELTA\_DATA\_CHANGE\_FALSE

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot change table metadata because the 'dataChange' option is set to false. Attempted operation: '`<op>`'.

### DELTA\_DECFLOAT\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`DECFLOAT` data type is not enabled for Delta preview storage.

### DELTA\_DECFLOAT\_UNSUPPORTED\_COLUMN\_NAME

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`DECFLOAT` preview storage cannot represent the column path `<columnPath>` without column mapping. Rename the field or enable column mapping.

### DELTA\_DECFLOAT\_WITH\_DELETION\_VECTORS\_UNSUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Deletion vectors are not supported with `DECFLOAT` preview storage.

### DELTA\_DECFLOAT\_WITH\_ICEBERG\_COMPAT\_UNSUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Apache Iceberg compatibility and UniForm are not supported with `DECFLOAT` preview storage. Disable the Apache Iceberg compatibility table properties.

### [DELTA\_DEEP\_CLONE\_MV\_ST\_ERROR](https://docs.databricks.com/gcp/en/error-messages/delta-deep-clone-mv-st-error-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Deep clone of a streaming table or materialized view failed:

For more details see [DELTA\_DEEP\_CLONE\_MV\_ST\_ERROR](https://docs.databricks.com/gcp/en/error-messages/delta-deep-clone-mv-st-error-error-class.md)

### DELTA\_DEEP\_CLONE\_MV\_ST\_MISSING\_PIPELINE\_UUID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source table `<sourceTable>` has no pipeline UUID. Deep clone requires a source with an associated pipeline.

### DELTA\_DEEP\_CLONE\_MV\_ST\_TARGET\_ALREADY\_EXISTS\_AS\_DELTA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Target table `<targetTable>` already exists as a regular Delta table. Drop the existing table first or choose a different target name.

### DELTA\_DELETED\_PARQUET\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File `<filePath>` referenced in the transaction log cannot be found. This parquet file may be deleted under Delta's data retention policy.

Default Delta data retention duration: `<logRetentionPeriod>`. Modification time of the parquet file: `<modificationTime>`. Deletion time of the parquet file: `<deletionTime>`. Deleted on Delta version: `<deletionVersion>`.

### DELTA\_DELETION\_VECTOR\_MISSING\_NUM\_RECORDS

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

It is invalid to commit files with deletion vectors that are missing the numRecords statistic.

### DELTA\_DFV2\_CREATE\_REPLACE\_INCOMPATIBLE\_REPLACE\_ON\_OR\_USING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DataFrame Writer V2 create()/replace()/createOrReplace() cannot be used with the `replaceOn` or `replaceUsing` option for Delta tables.

### DELTA\_DISABLE\_SOURCE\_MATERIALIZATION\_IN\_INSERT\_REPLACE\_ON\_OR\_USING\_NOT\_ALLOWED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Disabling source materialization in `INSERT REPLACE ON`/`USING` by setting 'spark.databricks.delta.insertReplaceOnOrUsing.materializeSource' to 'none' is not allowed.

### DELTA\_DISABLE\_SOURCE\_MATERIALIZATION\_IN\_MERGE\_NOT\_ALLOWED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Disabling source materialization in `MERGE` by setting 'spark.databricks.delta.merge.materializeSource' to 'none' is not allowed.

### DELTA\_DOMAIN\_METADATA\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Detected DomainMetadata action(s) for domains `<domainNames>`, but DomainMetadataTableFeature is not enabled.

### DELTA\_DROP\_COLUMN\_AT\_INDEX\_LESS\_THAN\_ZERO

[SQLSTATE: 42KD8](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Index `<columnIndex>` to drop column is lower than 0.

### DELTA\_DROP\_COLUMN\_ON\_SINGLE\_FIELD\_SCHEMA

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop column from a schema with a single column. Schema:

`<schema>`

### DELTA\_DUPLICATE\_ACTIONS\_FOUND

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

File operation '`<actionType>`' for path `<path>` was specified several times.

It conflicts with `<conflictingPath>`.

It is not valid for multiple file operations with the same path to exist in a single commit.

### [DELTA\_DUPLICATE\_COLUMNS\_FOUND](https://docs.databricks.com/gcp/en/error-messages/delta-duplicate-columns-found-error-class.md)

[SQLSTATE: 42711](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate column(s): `<duplicateCols>`.

For more details see [DELTA\_DUPLICATE\_COLUMNS\_FOUND](https://docs.databricks.com/gcp/en/error-messages/delta-duplicate-columns-found-error-class.md)

### DELTA\_DUPLICATE\_COLUMNS\_ON\_INSERT

[SQLSTATE: 42701](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicate column names in `INSERT` clause.

### DELTA\_DUPLICATE\_COLUMNS\_ON\_UPDATE\_TABLE

[SQLSTATE: 42701](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<message>`

Please remove duplicate columns before you update your table.

### DELTA\_DUPLICATE\_DATA\_SKIPPING\_COLUMNS

[SQLSTATE: 42701](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicated data skipping columns found: `<columns>`.

### DELTA\_DUPLICATE\_DOMAIN\_METADATA\_INTERNAL\_ERROR

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Internal error: two DomainMetadata actions within the same transaction have the same domain `<domainName>`.

### DELTA\_DUPLICATE\_LOG\_ENTRIES\_FOUND

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The Delta log is in an illegal state: `<numDuplicates>` paths have duplicate entries in version `<version>`. `RESTORE` to a version before the commit that introduced the duplication or contact support for assistance.

### DELTA\_DV\_HISTOGRAM\_DESERIALIZATON

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Could not deserialize the deleted record counts histogram during table integrity verification.

### DELTA\_DYNAMIC\_PARTITION\_OVERWRITE\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Dynamic partition overwrite mode is specified by session config or write options, but it is disabled by `spark.databricks.delta.dynamicPartitionOverwrite.enabled=false`.

### DELTA\_DYNAMIC\_PARTITION\_OVERWRITE\_INCOMPATIBLE\_REPLACE\_ON\_OR\_USING

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Dynamic partition overwrite is incompatible with the `replaceOn`/`replaceUsing` option.

### DELTA\_EMPTY\_DATA

[SQLSTATE: 428GU](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Data used in creating the Delta table doesn't have any columns.

### DELTA\_EMPTY\_DIRECTORY

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No file found in the directory: `<directory>`.

### DELTA\_ERROR\_FINDING\_COLUMN\_POSITION

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error while searching for the position of the column `<column>`.

Schema:

`<schema>`

Error:

`<message>`

### DELTA\_EXCEED\_CHAR\_VARCHAR\_LIMIT

[SQLSTATE: 22001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Value "`<value>`" exceeds char/varchar type length limitation. Failed check: `<expr>`.

### DELTA\_FAILED\_CAST\_PARTITION\_VALUE

[SQLSTATE: 22018](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to cast partition value `<value>` to `<dataType>`.

### DELTA\_FAILED\_FIND\_ATTRIBUTE\_IN\_OUTPUT\_COLUMNS

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find `<newAttributeName>` among the existing target output `<targetOutputColumns>`.

### DELTA\_FAILED\_INFER\_SCHEMA

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to infer schema from the given list of files.

### DELTA\_FAILED\_MERGE\_SCHEMA\_FILE

[SQLSTATE: 42KDA](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to merge schema of file `<file>`:

`<schema>`

### DELTA\_FAILED\_OPERATION\_ON\_SHALLOW\_CLONE

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to run the operation on the source table `<sourceTable>` because the shallow clone `<targetTable>` still exists and the following error occurred in the shallow clone: `<message>`

### DELTA\_FAILED\_READ\_FILE\_FOOTER

[SQLSTATE: KD001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Could not read footer for file: `<currentFile>`.

### DELTA\_FAILED\_RECOGNIZE\_PREDICATE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot recognize the predicate '`<predicate>`'.

### DELTA\_FAILED\_SCAN\_WITH\_HISTORICAL\_VERSION

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Expect a full scan of the latest version of the Delta source, but found a historical scan of version `<historicalVersion>`.

### DELTA\_FAILED\_TO\_MERGE\_FIELDS

[SQLSTATE: 22005](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to merge fields '`<currentField>`' and '`<updateField>`'.

### DELTA\_FAIL\_RELATIVIZE\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to relativize the path (`<path>`). This can happen when absolute paths make

it into the transaction log, which start with the scheme

s3://, wasbs\:// or adls\://. This is a bug that has existed before DBR 5.0.

To fix this issue, please upgrade your writer jobs to DBR 5.0 and please run:

%%scala com.databricks.delta.Delta.fixAbsolutePathsInLog("`<path>`").

If this table was created with a shallow clone across file systems

(different buckets/containers) and this table is `NOT` USED `IN PRODUCTION`, you can

set the SQL configuration `<config>`

to true. Using this SQL configuration could lead to accidental data loss,

therefore we do not recommend the use of this flag unless

this is a shallow clone for testing purposes.

### DELTA\_FEATURES\_PROTOCOL\_METADATA\_MISMATCH

[SQLSTATE: KD004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Unable to operate on this table because the following table features are enabled in metadata but not listed in protocol: `<features>`.

### DELTA\_FEATURES\_REQUIRE\_MANUAL\_ENABLEMENT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Your table schema requires manually enablement of the following table feature(s): `<unsupportedFeatures>`.

To do this, run the following command for each of features listed above:

`ALTER TABLE` table\_name `SET TBLPROPERTIES` ('delta.feature.feature\_name' = 'supported')

Replace "table\_name" and "feature\_name" with real values.

Current supported feature(s): `<supportedFeatures>`.

### DELTA\_FEATURE\_CAN\_ONLY\_DROP\_CHECKPOINT\_PROTECTION\_WITH\_HISTORY\_TRUNCATION

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Could not drop the Checkpoint Protection feature.

This feature can only be dropped by truncating history.

Please try again with the `TRUNCATE HISTORY` option:

`ALTER TABLE` table\_name `DROP FEATURE` checkpointProtection `TRUNCATE HISTORY`

### DELTA\_FEATURE\_DROP\_AFE\_MARKER\_ABSENT

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot drop `<feature>` on an Auto Feature Enablement (AFE) cluster because its internal AFE provenance marker is not set.

### DELTA\_FEATURE\_DROP\_AFE\_MARKER\_MISMATCH

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot drop `<feature>` on an Auto Feature Enablement (AFE) cluster because its value no longer matches its AFE provenance marker.

### DELTA\_FEATURE\_DROP\_CHECKPOINT\_FAILED

[SQLSTATE: 22KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Dropping `<featureName>` failed due to a failure in checkpoint creation.

Please try again later. It the issue persists, contact Databricks support.

### DELTA\_FEATURE\_DROP\_CHECKPOINT\_PROTECTION\_WAIT\_FOR\_RETENTION\_PERIOD

[SQLSTATE: 22KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The operation did not succeed because there are still traces of dropped features

in the table history. CheckpointProtection cannot be dropped until these historical

versions have expired.

To drop CheckpointProtection, please wait for the historical versions to

expire, and then repeat this command. The retention period for historical versions is

currently configured to `<truncateHistoryLogRetentionPeriod>`.

### DELTA\_FEATURE\_DROP\_CONFLICT\_REVALIDATION\_FAIL

[SQLSTATE: 40000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

Cannot drop feature because a concurrent transaction modified the table.

Please try the operation again.

`<concurrentCommit>`

### DELTA\_FEATURE\_DROP\_DEPENDENT\_FEATURE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot drop table feature `<feature>` because some other features (`<dependentFeatures>`) in this table depends on `<feature>`.

Consider dropping them first before dropping this feature.

### DELTA\_FEATURE\_DROP\_FEATURE\_IS\_DELTA\_PROPERTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop `<property>` from this table because this is a delta table property and not a table feature.

### DELTA\_FEATURE\_DROP\_FEATURE\_NOT\_PRESENT

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot drop `<feature>` from this table because it is not currently present in the table's protocol.

### DELTA\_FEATURE\_DROP\_HISTORICAL\_VERSIONS\_EXIST

[SQLSTATE: 22KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot drop `<feature>` because the Delta log contains historical versions that use the feature.

Please wait until the history retention period (`<logRetentionPeriodKey>=<logRetentionPeriod>`)

has passed since the feature was last active.

Alternatively, please wait for the `TRUNCATE HISTORY` retention period to expire (`<truncateHistoryLogRetentionPeriod>`)

and then run:

`ALTER TABLE` table\_name `DROP FEATURE` feature\_name `TRUNCATE HISTORY`

### DELTA\_FEATURE\_DROP\_HISTORY\_TRUNCATION\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The particular feature does not require history truncation.

### DELTA\_FEATURE\_DROP\_NONREMOVABLE\_FEATURE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop `<feature>` because dropping this feature is not supported.

Please contact Databricks support.

### DELTA\_FEATURE\_DROP\_TRUNCATE\_HISTORY\_METADATA\_CLEANUP\_DISABLED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot drop `<feature>` with `TRUNCATE HISTORY`: Delta metadata cleanup is currently disabled. Contact Databricks support.

### DELTA\_FEATURE\_DROP\_UNSUPPORTED\_CLIENT\_FEATURE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot drop `<feature>` because it is not supported by this Databricks version.

Consider using Databricks with a higher version.

### DELTA\_FEATURE\_DROP\_WAIT\_FOR\_RETENTION\_PERIOD

[SQLSTATE: 22KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Dropping `<feature>` was partially successful.

The feature is now no longer used in the current version of the table. However, the feature

is still present in historical versions of the table. The table feature cannot be dropped

from the table protocol until these historical versions have expired.

To drop the table feature from the protocol, please wait for the historical versions to

expire, and then repeat this command. The retention period for historical versions is

currently configured as `<logRetentionPeriodKey>=<logRetentionPeriod>`.

Alternatively, please wait for the `TRUNCATE HISTORY` retention period to expire (`<truncateHistoryLogRetentionPeriod>`)

and then run:

`ALTER TABLE` table\_name `DROP FEATURE` feature\_name `TRUNCATE HISTORY`

### DELTA\_FEATURE\_REQUIRES\_HIGHER\_READER\_VERSION

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Unable to enable table feature `<feature>` because it requires a higher reader protocol version (current `<current>`). Consider upgrading the table's reader protocol version to `<required>`, or to a version which supports reader table features. Refer to `<docLink>` for more information on table protocol versions.

### DELTA\_FEATURE\_REQUIRES\_HIGHER\_WRITER\_VERSION

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Unable to enable table feature `<feature>` because it requires a higher writer protocol version (current `<current>`). Consider upgrading the table's writer protocol version to `<required>`, or to a version which supports writer table features. Refer to `<docLink>` for more information on table protocol versions.

### DELTA\_FILE\_ALREADY\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Existing file path `<path>`.

### DELTA\_FILE\_LISTING\_MAX\_RESULT\_SIZE\_EXCEEDED

[SQLSTATE: 82100](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-82-out-of-memory)

The Delta table at `<tablePath>` has too many files to list within the current spark.driver.maxResultSize limit (currently `<currentMaxResultSize>`).

Increase spark.driver.maxResultSize to accommodate larger file listings, but be cautious: setting it too high relative to driver memory can cause driver instability. Consider using a larger driver node type if needed.

### DELTA\_FILE\_LIST\_AND\_PATTERN\_STRING\_CONFLICT

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify both file list and pattern string.

### DELTA\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File path `<path>`.

### DELTA\_FILE\_NOT\_FOUND\_DETAILED

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File `<filePath>` referenced in the transaction log cannot be found. This occurs when data has been manually deleted from the file system rather than using the table `DELETE` statement.

It can also be caused by a `VACUUM` operation that cleaned up data not yet processed if the table's retention period is too short.

Restart your query with a new checkpoint location, or use spark.sql.files.ignoreMissingFiles to skip the missing files. For more information, see `<faqPath>`

### DELTA\_FILE\_OR\_DIR\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No such file or directory: `<path>`.

### DELTA\_FILE\_TO\_OVERWRITE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File (`<path>`) to be rewritten not found among candidate files:

`<pathList>`

### DELTA\_FOUND\_MAP\_TYPE\_COLUMN

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

A MapType was found. In order to access the key or value of a MapType, specify one

of:

`<key>` or

`<value>`

followed by the name of the column (only if that column is a struct type).

for example, mymap.key.mykey

If the column is a basic type, mymap.key or mymap.value is sufficient.

Schema:

`<schema>`

### DELTA\_FSCK\_CANNOT\_REPAIR\_DELTA\_LOG

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

FSCK is unable to repair the table. Underlying cause: `<cause>`

### DELTA\_FSCK\_CONCURRENT\_MODIFICATION

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

Concurrent modification to the table detected while running FSCK. Please retry the FSCK command and ensure no other operations are writing to the table during the repair process.

### DELTA\_FSCK\_DRY\_RUN\_CANNOT\_PROCEED\_WITH\_INVALID\_CHECKPOINTS

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

FSCK DRY RUN cannot proceed because invalid checkpoints were detected. Please run 'FSCK `REPAIR TABLE` table `METADATA` ONLY' first to repair the checkpoints.

### DELTA\_FSCK\_DRY\_RUN\_CANNOT\_PROCEED\_WITH\_MISSING\_OR\_INVALID\_PARTITION\_FILES

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

FSCK DRY RUN cannot proceed because missing files or files with invalid partition values were detected. Please run 'FSCK `REPAIR TABLE` table' first to repair the table.

### DELTA\_FSCK\_INVALID\_BARRIER\_CHECKPOINT

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

FSCK is unable to repair the table. Some of the invalid checkpoints are protected and cannot be removed. Please contact Databricks support.

### DELTA\_FSCK\_NO\_VALID\_CHECKPOINT

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

FSCK is unable to repair the table. All checkpoints of this table are invalid. Please contact Databricks support.

### DELTA\_GENERATED\_COLUMNS\_DATA\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` has data type `<columnType>` and cannot be altered to data type `<dataType>` because this column is referenced by the following generated column(s):

`<generatedColumns>`.

### DELTA\_GENERATED\_COLUMNS\_DEPENDENT\_COLUMN\_CHANGE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot alter column `<columnName>` because this column is referenced by the following generated column(s):

`<generatedColumns>`.

### DELTA\_GENERATED\_COLUMNS\_EXPR\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The expression type of the generated column `<columnName>` is `<expressionType>`, but the column type is `<columnType>`.

### DELTA\_GENERATED\_COLUMN\_UPDATE\_TYPE\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<currentName>` is a generated column or a column used by a generated column. The data type is `<currentDataType>` and cannot be converted to data type `<updateDataType>`.

### DELTA\_GEOSPATIAL\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Geospatial types are not supported in this version of Delta Lake.

### DELTA\_GEOSPATIAL\_SRID\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Geospatial type has an unsupported srid: `<srid>`. Delta tables only support non-negative srid values.

### DELTA\_HIERARCHICAL\_CLUSTERING\_COLUMNS\_NOT\_CLUSTERING\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The 'delta.liquid.hierarchicalClusteringColumns' property \[`<hierarchicalColumns>`] contains columns that are not clustering columns. The current clustering columns are \[`<clusteringColumns>`]. All columns in hierarchicalClusteringColumns must be a subset of the clustering columns.

### [DELTA\_ICEBERG\_COMPAT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-iceberg-compat-violation-error-class.md)

[SQLSTATE: KD00E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The validation of IcebergCompatV`<version>` has failed.

For more details see [DELTA\_ICEBERG\_COMPAT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-iceberg-compat-violation-error-class.md)

### [DELTA\_ICEBERG\_WRITER\_COMPAT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-iceberg-writer-compat-violation-error-class.md)

[SQLSTATE: KD00E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The validation of IcebergWriterCompatV`<version>` has failed.

For more details see [DELTA\_ICEBERG\_WRITER\_COMPAT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-iceberg-writer-compat-violation-error-class.md)

### DELTA\_IDENTITY\_COLUMNS\_ALTER\_COLUMN\_NOT\_SUPPORTED

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE ALTER COLUMN` is not supported for `IDENTITY` columns.

### DELTA\_IDENTITY\_COLUMNS\_ALTER\_NON\_DELTA\_FORMAT

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE ALTER COLUMN SYNC IDENTITY` is only supported by Delta.

### DELTA\_IDENTITY\_COLUMNS\_ALTER\_NON\_IDENTITY\_COLUMN

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE ALTER COLUMN SYNC IDENTITY` cannot be called on non `IDENTITY` columns.

### DELTA\_IDENTITY\_COLUMNS\_EXPLICIT\_INSERT\_NOT\_SUPPORTED

[SQLSTATE: 42808](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Providing values for `GENERATED ALWAYS AS IDENTITY` column `<colName>` is not supported.

### DELTA\_IDENTITY\_COLUMNS\_ILLEGAL\_STEP

[SQLSTATE: 42611](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`IDENTITY` column step cannot be 0.

### DELTA\_IDENTITY\_COLUMNS\_NON\_DELTA\_FORMAT

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`IDENTITY` columns are only supported by Delta.

### DELTA\_IDENTITY\_COLUMNS\_PARTITION\_NOT\_SUPPORTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`PARTITIONED BY IDENTITY` column `<colName>` is not supported.

### DELTA\_IDENTITY\_COLUMNS\_REPLACE\_COLUMN\_NOT\_SUPPORTED

[SQLSTATE: 429BQ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`ALTER TABLE REPLACE COLUMNS` is not supported for table with `IDENTITY` columns.

### DELTA\_IDENTITY\_COLUMNS\_UNSUPPORTED\_DATA\_TYPE

[SQLSTATE: 428H2](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DataType `<dataType>` is not supported for `IDENTITY` columns.

### DELTA\_IDENTITY\_COLUMNS\_UPDATE\_NOT\_SUPPORTED

[SQLSTATE: 42808](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`UPDATE` on `IDENTITY` column `<colName>` is not supported.

### DELTA\_IDENTITY\_COLUMNS\_WITH\_GENERATED\_EXPRESSION

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`IDENTITY` column cannot be specified with a generated column expression.

### DELTA\_IDENTITY\_COLUMN\_INCONSISTENT\_METADATA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Inconsistent `IDENTITY` metadata for column `<colName>` detected: `<hasStart>, <hasStep>, <hasInsert>`

### [DELTA\_ILLEGAL\_OPTION](https://docs.databricks.com/gcp/en/error-messages/delta-illegal-option-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value '`<input>`' for option '`<name>`'.

For more details see [DELTA\_ILLEGAL\_OPTION](https://docs.databricks.com/gcp/en/error-messages/delta-illegal-option-error-class.md)

### DELTA\_ILLEGAL\_USAGE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The usage of `<option>` is not allowed when `<operation>` a Delta table.

### DELTA\_INCOMPATIBLE\_DATAFRAME\_OPTIONS

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<firstDeltaOption>` option cannot be used with the `<secondDeltaOption>` option for Delta tables.

### DELTA\_INCONSISTENT\_BUCKET\_SPEC

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

BucketSpec on Delta bucketed table does not match BucketSpec from metadata. Expected: `<expected>`. Actual: `<actual>`.

### DELTA\_INCONSISTENT\_LOGSTORE\_CONFS

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

(`<setKeys>`) cannot be set to different values. Please only set one of them, or set them to the same value.

### DELTA\_INCORRECT\_ARRAY\_ACCESS

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Incorrectly accessing an ArrayType. Use arrayname.element.elementname position to

add to an array.

### DELTA\_INCORRECT\_ARRAY\_ACCESS\_BY\_NAME

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An ArrayType was found. In order to access elements of an ArrayType, specify

`<rightName>` instead of `<wrongName>`.

Schema:

`<schema>`

### DELTA\_INCORRECT\_GET\_CONF

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Use `getConf()` instead of `conf.getConf()`.

### DELTA\_INCORRECT\_LOG\_STORE\_IMPLEMENTATION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The error typically occurs when the default LogStore implementation, that

is, HDFSLogStore, is used to write into a Delta table on a non-HDFS storage system.

In order to get the transactional ACID guarantees on table updates, you have to use the

correct implementation of LogStore that is appropriate for your storage system.

See `<docLink>` for details.

### DELTA\_INDEX\_LARGER\_OR\_EQUAL\_THAN\_STRUCT

[SQLSTATE: 42KD8](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Index `<index>` to drop column equals to or is larger than struct length: `<length>`.

### DELTA\_INDEX\_LARGER\_THAN\_STRUCT

[SQLSTATE: 42KD8](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Index `<index>` to add column `<columnName>` is larger than struct length: `<length>`.

### DELTA\_INSERT\_COLUMN\_ARITY\_MISMATCH

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot write to '`<tableName>`', `<columnName>`; target table has `<numColumns>` column(s) but the inserted data has `<insertColumns>` column(s).

### DELTA\_INSERT\_COLUMN\_MISMATCH

[SQLSTATE: 42802](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` is not specified in `INSERT`.

### DELTA\_INSERT\_REPLACE\_ON\_AMBIGUOUS\_COLUMNS\_IN\_CONDITION

[SQLSTATE: 42702](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column(s) `<columnNames>` are ambiguous in the condition of `INSERT REPLACE ON`. Consider specifying an alias for these columns.

### DELTA\_INSERT\_REPLACE\_ON\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Please contact your Databricks representative to enable the `INSERT INTO` `...` `REPLACE ON` ... SQL and DataFrame APIs.

### DELTA\_INSERT\_REPLACE\_ON\_UNRESOLVED\_COLUMNS\_IN\_CONDITION

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column(s) `<columnNames>` cannot be resolved in the condition of `INSERT REPLACE ON`.

### DELTA\_INVALID\_AUTO\_COMPACT\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid auto-compact type: `<value>`. Allowed values are: `<allowed>`.

### DELTA\_INVALID\_BUCKET\_COUNT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid bucket count: `<invalidBucketCount>`. Bucket count should be a positive number that is power of 2 and at least 8. You can use `<validBucketCount>` instead.

### DELTA\_INVALID\_BUCKET\_INDEX

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot find the bucket column in the partition columns.

### DELTA\_INVALID\_CALENDAR\_INTERVAL\_EMPTY

[SQLSTATE: 2200P](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Interval cannot be null or blank.

### DELTA\_INVALID\_CDC\_RANGE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

CDC range from start `<start>` to end `<end>` was invalid. End cannot be before start.

### DELTA\_INVALID\_CHARACTERS\_IN\_COLUMN\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Attribute name "`<columnName>`" contains invalid character(s) among " ,;\{}()\n\t=". Please use alias to rename it.

### DELTA\_INVALID\_CHARACTERS\_IN\_COLUMN\_NAMES

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found invalid character(s) among ' ,;\{}()\n\t=' in the column names of your schema.

Invalid column names: `<invalidColumnNames>`.

Please use other characters and try again.

Alternatively, enable Column Mapping to keep using these characters.

### DELTA\_INVALID\_CHECK\_CONSTRAINT\_REFERENCES

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<colName>` in `CHECK` constraint. A check constraint cannot use a non-existent column.

### DELTA\_INVALID\_CLONE\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The target location for `CLONE` needs to be an absolute path or table name. Use an

absolute path instead of `<path>`.

### DELTA\_INVALID\_COLUMN\_NAMES\_WHEN\_REMOVING\_COLUMN\_MAPPING

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found invalid character(s) among ' ,;\{}()\n\t=' in the column names of your schema.

Invalid column names: `<invalidColumnNames>`.

Column mapping cannot be removed when there are invalid characters in the column names.

Please rename the columns to remove the invalid characters and execute this command again.

### DELTA\_INVALID\_CONSTRAINT\_NAME

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot use `<name>` as the name of a `CHECK` constraint. This name is reserved.

### DELTA\_INVALID\_FORMAT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Incompatible format detected.

A transaction log for Delta was found at `<deltaRootPath>/_delta_log`,

but you are trying to `<operation> <path>` using format("`<format>`"). You must use

'format("delta")' when reading and writing to a delta table.

To learn more about Delta, see `<docLink>`

### DELTA\_INVALID\_GENERATED\_COLUMN\_REFERENCES

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A generated column cannot use a non-existent column or another generated column.

### [DELTA\_INVALID\_IDEMPOTENT\_WRITES\_OPTIONS](https://docs.databricks.com/gcp/en/error-messages/delta-invalid-idempotent-writes-options-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid options for idempotent DataFrame writes:

For more details see [DELTA\_INVALID\_IDEMPOTENT\_WRITES\_OPTIONS](https://docs.databricks.com/gcp/en/error-messages/delta-invalid-idempotent-writes-options-error-class.md)

### DELTA\_INVALID\_INDEX\_AUTO\_VALUE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value '`<value>`' for table property 'index.auto', must be 'true' or 'false'.

### DELTA\_INVALID\_INTERVAL

[SQLSTATE: 22006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<interval>` is not a valid `INTERVAL`.

### DELTA\_INVALID\_INVENTORY\_SCHEMA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The schema for the specified `INVENTORY` does not contain all of the required fields. Required fields are: `<expectedSchema>`

### DELTA\_INVALID\_ISOLATION\_LEVEL

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

invalid isolation level '`<isolationLevel>`'.

### DELTA\_INVALID\_LOGSTORE\_CONF

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

(`<classConfig>`) and (`<schemeConfig>`) cannot be set at the same time. Please set only one group of them.

### DELTA\_INVALID\_MANAGED\_TABLE\_SYNTAX\_NO\_SCHEMA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are trying to create a managed table `<tableName>`

using Delta, but the schema is not specified.

To learn more about Delta, see `<docLink>`

### DELTA\_INVALID\_PARTITION\_COLUMN

[SQLSTATE: 42996](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<columnName>` is not a valid partition column in table `<tableName>`.

### DELTA\_INVALID\_PARTITION\_COLUMN\_NAME

[SQLSTATE: 42996](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found partition columns having invalid character(s) among " ,;\{}()\n\t=". Please change the name to your partition columns. This check can be turned off by setting spark.conf.set("spark.databricks.delta.partitionColumnValidity.enabled", false) however this is not recommended as other features of Delta may not work properly.

### DELTA\_INVALID\_PARTITION\_COLUMN\_TYPE

[SQLSTATE: 42996](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Using column `<name>` of type `<dataType>` as a partition column is not supported.

### DELTA\_INVALID\_PARTITION\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

A partition path fragment should be the form like `part1=foo/part2=bar`. The partition path: `<path>`.

### DELTA\_INVALID\_PROTOCOL\_DOWNGRADE

[SQLSTATE: KD004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Protocol version cannot be downgraded from (`<oldProtocol>`) to (`<newProtocol>`).

### DELTA\_INVALID\_PROTOCOL\_VERSION

[SQLSTATE: KD004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Unsupported Delta protocol version: table "`<tableNameOrPath>`" requires reader version `<readerRequired>` and writer version `<writerRequired>`, but this version of Databricks supports reader versions `<supportedReaders>` and writer versions `<supportedWriters>`. Please upgrade to a newer release.

### DELTA\_INVALID\_TABLE\_PROPERTY\_VALUE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value '`<value>`' for table property '`<property>`'.

### DELTA\_INVALID\_TABLE\_VALUE\_FUNCTION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Function `<function>` is an unsupported table valued function for CDC reads.

### DELTA\_INVALID\_TIMESTAMP\_FORMAT

[SQLSTATE: 22007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The provided timestamp `<timestamp>` does not match the expected syntax `<format>`.

### DELTA\_INVISIBLE\_COLUMN\_SCHEMA\_MISMATCH

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The incoming invisible column schema `<incomingSchema>` is incompatible with the table's invisible column schema `<expectedSchema>`.

### DELTA\_LIQUID\_SORT\_WITHIN\_FILES\_COLUMNS\_NOT\_IN\_SCHEMA

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The 'delta.liquid.sortWithinFilesColumns' property contains columns `<missingColumns>` that do not exist in the table schema:

`<tableSchema>`

### DELTA\_LOG\_ALREADY\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A Delta log already exists at `<path>`.

### DELTA\_LOG\_FILE\_ARCHIVED

[SQLSTATE: KD003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot read the Delta transaction log file `<filePath>` because it has been archived to cold storage. Rehydrate the file to an online access tier, and exclude the Delta log location (the `_delta_log` directory) from any storage lifecycle or archival policy so that the transaction log always remains readable.

### DELTA\_LOG\_FILE\_INCONSISTENT\_READ

[SQLSTATE: 40001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

The Delta transaction log file `<filePath>` was modified while it was being read. Ensure that no concurrent process rewrites Delta transaction log files during query execution, then retry the query.

### DELTA\_LOG\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to retrieve the delta log files to construct table version `<version>` starting from checkpoint version `<checkpointVersion>` at `<logPath>`.

### DELTA\_LOG\_FILE\_NOT\_FOUND\_FOR\_STREAMING\_SOURCE

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

If you never deleted it, it's likely your query is lagging behind. Please delete its checkpoint to restart from scratch. To avoid this happening again, you can update your retention policy of your Delta table.

### DELTA\_LOG\_JSON\_FILE\_ACCESS\_DENIED

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Access denied when reading Delta log `JSON` file: `<filePath>`. Check that you have read permissions for the Delta table location.

### DELTA\_MATERIALIZED\_ROW\_TRACKING\_COLUMN\_NAME\_MISSING

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Materialized `<rowTrackingColumn>` column name missing for `<tableName>`.

### DELTA\_MATERIALIZE\_VOID\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Enabling the materializeVoidType-preview table feature is not supported.

### DELTA\_MAX\_ARRAY\_SIZE\_EXCEEDED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please use a limit less than Int.MaxValue - 8.

### DELTA\_MAX\_COMMIT\_RETRIES\_EXCEEDED

[SQLSTATE: 40000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

This commit has failed as it has been tried `<numAttempts>` times but did not succeed.

This can be caused by the Delta table being committed continuously by many concurrent

commits.

Commit started at version: `<startVersion>`

Commit failed at version: `<failVersion>`

Number of actions attempted to commit: `<numActions>`

Total time spent attempting this commit: `<timeSpent>` ms

### DELTA\_MAX\_LIST\_FILE\_EXCEEDED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File list must have at most `<maxFileListSize>` entries, had `<numFiles>`.

### DELTA\_MAX\_MST\_COMMIT\_RETRIES\_EXCEEDED

[SQLSTATE: 40000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

This multi-statement transaction failed after `<numAttempts>` commit attempts. Total time: `<timeSpent>` ms.

Number of concurrent commits for the top `<numShown>` of `<numAffectedTables>` affected tables:

`<tablesAndCommitCounts>`

### DELTA\_MERGE\_ADD\_VOID\_COLUMN

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add column `<newColumn>` with type VOID. Please explicitly specify a non-void type.

### DELTA\_MERGE\_INCOMPATIBLE\_DATATYPE

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to merge incompatible data types `<currentDataType>` and `<updateDataType>`.

### DELTA\_MERGE\_INCOMPATIBLE\_DECIMAL\_TYPE

[SQLSTATE: 42806](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to merge decimal types with incompatible `<decimalRanges>`.

### DELTA\_MERGE\_INTO\_EMPTY\_SCHEMA\_TARGET

[SQLSTATE: 428GU](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot `MERGE INTO` a table with no columns. The target table must have columns, or schema evolution must be enabled.

### DELTA\_MERGE\_MATERIALIZE\_SOURCE\_FAILED\_REPEATEDLY

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

Keeping the source of the `MERGE` statement materialized has failed repeatedly.

### DELTA\_MERGE\_MISSING\_WHEN

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

There must be at least one `WHEN` clause in a `MERGE` statement.

### DELTA\_MERGE\_RESOLVED\_ATTRIBUTE\_MISSING\_FROM\_INPUT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Resolved attribute(s) `<missingAttributes>` missing from `<input>` in operator `<merge>`.

### DELTA\_MERGE\_SOURCE\_CACHED\_DURING\_EXECUTION

[SQLSTATE: 25000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

The `MERGE` operation failed because (part of) the source plan was cached while the `MERGE` operation was running.

### DELTA\_MERGE\_UNEXPECTED\_ASSIGNMENT\_KEY

[SQLSTATE: 22005](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unexpected assignment key: `<unexpectedKeyClass>` - `<unexpectedKeyObject>`.

### DELTA\_MERGE\_UNRESOLVED\_EXPRESSION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot resolve `<sqlExpr>` in `<clause>` given columns `<cols>`.

### DELTA\_METADATA\_ABSENT\_EXISTING\_CATALOG\_TABLE

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table `<tableName>` already exists in the catalog but no metadata could be found for the table at the path `<tablePath>`.

Did you manually delete files from the \_delta\_log directory? If so, then you should be able to recreate it as follows. First, drop the table by running `DROP TABLE <tableNameForDropCmd>`. Then, recreate it by running the current command again.

### DELTA\_METADATA\_CHANGED

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

MetadataChangedException: The metadata of the Delta table `<tableName>` has been changed by a concurrent update. Please try the operation again.`<conflictingCommit>`

Refer to `<docLink>` for more details.

### DELTA\_METADATA\_CLEANUP\_DISABLED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Table metadata cleanup is disabled for this workspace.

### [DELTA\_METADATA\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/delta-metadata-mismatch-error-class.md)

[SQLSTATE: 42KDG](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A metadata mismatch was detected when writing to the Delta table.

For more details see [DELTA\_METADATA\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/delta-metadata-mismatch-error-class.md)

### DELTA\_MISSING\_CHANGE\_DATA

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error getting change data for range \[`<startVersion> , <endVersion>`] as change data was not

recorded for version \[`<version>`]. If you've enabled change data feed on this table,

use `DESCRIBE HISTORY` to see when it was first enabled.

Otherwise, to start recording change data, use `ALTER TABLE table_name SET TBLPROPERTIES`

(`<key>`=true)`.`

### DELTA\_MISSING\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot find `<columnName>` in table columns: `<columnList>`.

### DELTA\_MISSING\_COMMIT\_INFO

[SQLSTATE: KD004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

This table has the feature `<featureName>` enabled which requires the presence of the CommitInfo action in every commit. However, the CommitInfo action is missing from commit version `<version>`.

### DELTA\_MISSING\_COMMIT\_TIMESTAMP

[SQLSTATE: KD004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

This table has the feature `<featureName>` enabled which requires the presence of commitTimestamp in the CommitInfo action. However, this field has not been set in commit version `<version>`.

### DELTA\_MISSING\_DELTA\_TABLE

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<tableName>` is not a Delta table.

### DELTA\_MISSING\_DELTA\_TABLE\_COPY\_INTO

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table doesn't exist. Create an empty Delta table first using `CREATE TABLE <tableName>`.

### DELTA\_MISSING\_FILES\_UNEXPECTED\_VERSION

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Delta stream cannot resume from version `<startVersion>`; transaction log starts at `<earliestVersion>`. Log files may have been deleted by log retention. Restart the stream with a new checkpoint location and consider increasing delta.logRetentionDuration. To skip missing data instead, set .option("`<option>`", "false").

### DELTA\_MISSING\_ICEBERG\_CLASS

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Apache Iceberg class was not found. Please ensure Delta Apache Iceberg support is installed.

Please refer to `<docLink>` for more details.

### DELTA\_MISSING\_NOT\_NULL\_COLUMN\_VALUE

[SQLSTATE: 23502](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

Column `<columnName>`, which has a `NOT NULL` constraint, is missing from the data being written into the table.

### DELTA\_MISSING\_PARTITION\_COLUMN

[SQLSTATE: 42KD6](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Partition column `<columnName>` not found in schema `<columnList>`.

### DELTA\_MISSING\_PART\_FILES

[SQLSTATE: 42KD6](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Couldn't find all part files of the checkpoint version: `<version>`.

### DELTA\_MISSING\_PROVIDER\_FOR\_CONVERT

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CONVERT` TO `DELTA` only supports parquet tables. Please rewrite your target as parquet.`<path>` if it's a parquet directory.

### DELTA\_MISSING\_ROW\_TRACKING\_FOR\_CDC

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Error getting change data for `<tableName>` as row tracking was not enabled. To enable row tracking, use `ALTER TABLE table_name SET TBLPROPERTIES (<key>=true)`.

### DELTA\_MISSING\_SET\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SET` column `<columnName>` not found given columns: `<columnList>`.

### DELTA\_MISSING\_TRANSACTION\_LOG

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Incompatible format detected.

You are trying to `<operation> <path>` using Delta, but there is no

transaction log present. Check the upstream job to make sure that it is writing

using format("delta") and that you are trying to %1$s the table base path.

To learn more about Delta, see `<docLink>`

### DELTA\_MODE\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Specified mode '`<mode>`' is not supported. Supported modes are: `<supportedModes>`.

### DELTA\_MULTIPLE\_CDC\_BOUNDARY

[SQLSTATE: 42614](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Multiple `<startingOrEnding>` arguments provided for CDC read. Please provide one of either `<startingOrEnding>`Timestamp or `<startingOrEnding>`Version.

### DELTA\_MULTIPLE\_CONF\_FOR\_SINGLE\_COLUMN\_IN\_BLOOM\_FILTER

[SQLSTATE: 42614](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Multiple bloom filter index configurations passed to command for column: `<columnName>`.

### DELTA\_MULTIPLE\_SOURCE\_ROW\_MATCHING\_TARGET\_ROW\_IN\_MERGE

[SQLSTATE: 21506](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-21-cardinality-violation)

Cannot perform Merge as multiple source rows matched and attempted to modify the same

target row in the Delta table in possibly conflicting ways. By SQL semantics of Merge,

when multiple source rows match on the same target row, the result may be ambiguous

as it is unclear which source row should be used to update or delete the matching

target row. You can preprocess the source table to eliminate the possibility of

multiple matches. Please refer to

`<usageReference>`

### DELTA\_MUST\_SET\_ALL\_COORDINATED\_COMMITS\_CONFS\_IN\_COMMAND

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

During `<command>`, either both coordinated commits configurations ("delta.coordinatedCommits.commitCoordinator-preview", "delta.coordinatedCommits.commitCoordinatorConf-preview") are set in the command or neither of them. Missing: "`<configuration>`". Please specify this configuration in the `TBLPROPERTIES` clause or remove the other configuration, and then retry the command again.

### DELTA\_MUST\_SET\_ALL\_COORDINATED\_COMMITS\_CONFS\_IN\_SESSION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

During `<command>`, either both coordinated commits configurations ("coordinatedCommits.commitCoordinator-preview", "coordinatedCommits.commitCoordinatorConf-preview") are set in the SparkSession configurations or neither of them. Missing: "`<configuration>`". Please set this configuration in the SparkSession or unset the other configuration, and then retry the command again.

### DELTA\_NAME\_CONFLICT\_IN\_BUCKETED\_TABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The following column name(s) are reserved for Delta bucketed table internal usage only: `<names>`.

### DELTA\_NESTED\_CORRELATED\_SUBQUERY\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Nested correlated subquery is not supported in the `<operation>` condition.

### DELTA\_NESTED\_FIELDS\_NEED\_RENAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The input schema contains nested fields that are capitalized differently than the target table.

They need to be renamed to avoid the loss of data in these fields while writing to Delta.

Fields:

`<fields>`.

Original schema:

`<schema>`

### DELTA\_NESTED\_NOT\_NULL\_CONSTRAINT

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<nestType>` type of the field `<parent>` contains a `NOT NULL` constraint. Delta does not support `NOT NULL` constraints nested within arrays or maps. To suppress this error and silently ignore the specified constraints, set `<configKey>` = true.

Parsed `<nestType>` type:

`<nestedPrettyJson>`

### DELTA\_NESTED\_SUBQUERY\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Nested subquery is not supported in the `<operation>` condition.

### DELTA\_NEW\_CHECK\_CONSTRAINT\_VIOLATION

[SQLSTATE: 23512](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

`<numRows>` rows in `<tableName>` violate the new `CHECK` constraint (`<checkConstraint>`).

### DELTA\_NEW\_NOT\_NULL\_VIOLATION

[SQLSTATE: 23512](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

`<numRows>` rows in `<tableName>` violate the new `NOT NULL` constraint on `<colName>`.

### DELTA\_NON\_BOOLEAN\_CHECK\_CONSTRAINT

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`CHECK` constraint '`<name>`' (`<expr>`) should be a boolean expression.

### DELTA\_NON\_DETERMINISTIC\_EXPRESSION\_IN\_CHECK\_CONSTRAINT

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<expr>` in a `CHECK` constraint. A `CHECK` constraint cannot use a nondeterministic expression.

### DELTA\_NON\_DETERMINISTIC\_EXPRESSION\_IN\_GENERATED\_COLUMN

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<expr>`. A generated column cannot use a non deterministic expression.

### DELTA\_NON\_DETERMINISTIC\_FUNCTION\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Non-deterministic functions are not supported in the `<operation> <expression>`.

### DELTA\_NON\_LAST\_MATCHED\_CLAUSE\_OMIT\_CONDITION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When there are more than one `MATCHED` clauses in a `MERGE` statement, only the last `MATCHED` clause can omit the condition.

### DELTA\_NON\_LAST\_NOT\_MATCHED\_BY\_SOURCE\_CLAUSE\_OMIT\_CONDITION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When there are more than one `NOT MATCHED BY SOURCE` clauses in a `MERGE` statement, only the last `NOT MATCHED BY SOURCE` clause can omit the condition.

### DELTA\_NON\_LAST\_NOT\_MATCHED\_CLAUSE\_OMIT\_CONDITION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When there are more than one `NOT MATCHED` clauses in a `MERGE` statement, only the last `NOT MATCHED` clause can omit the condition.

### DELTA\_NON\_MONOTONIC\_COMMIT\_VERSIONS

[SQLSTATE: KD00C](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Delta log commit versions are out of order: `<previousVersion>` does not precede `<nextVersion>`. The log may be corrupt. Contact Databricks support.

### DELTA\_NON\_PARSABLE\_TAG

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not parse tag `<tag>`.

File tags are: `<tagList>`.

### [DELTA\_NON\_PARTITION\_COLUMN\_ABSENT](https://docs.databricks.com/gcp/en/error-messages/delta-non-partition-column-absent-error-class.md)

[SQLSTATE: KD005](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Data written into Delta needs to contain at least one non-partitioned column.

For more details see [DELTA\_NON\_PARTITION\_COLUMN\_ABSENT](https://docs.databricks.com/gcp/en/error-messages/delta-non-partition-column-absent-error-class.md)

### DELTA\_NON\_PARTITION\_COLUMN\_REFERENCE

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Predicate references non-partition column '`<columnName>`'. Only the partition columns may be referenced: \[`<columnList>`].

### DELTA\_NON\_PARTITION\_COLUMN\_SPECIFIED

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Non-partitioning column(s) `<columnList>` are specified where only partitioning columns are expected: `<fragment>`.

### DELTA\_NON\_SINGLE\_PART\_NAMESPACE\_FOR\_CATALOG

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Delta catalog requires a single-part namespace, but `<identifier>` is multi-part.

### DELTA\_NON\_UC\_COMMIT\_COORDINATOR\_NOT\_SUPPORTED\_IN\_COMMAND

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Setting commit coordinator to '`<nonUcCoordinatorName>`' from command is not supported, because UC-managed tables can only have 'unity-catalog' as the commit coordinator. Please either change it to 'unity-catalog' or remove all Coordinated Commits table properties from the `TBLPROPERTIES` clause, and then retry the command again.

### DELTA\_NON\_UC\_COMMIT\_COORDINATOR\_NOT\_SUPPORTED\_IN\_SESSION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Setting commit coordinator to '`<nonUcCoordinatorName>`' from SparkSession configurations is not supported, because UC-managed tables can only have 'unity-catalog' as the commit coordinator. Please either change it to 'unity-catalog' by running `spark.conf.set("<coordinatorNameDefaultKey>", "unity-catalog")`, or remove all Coordinated Commits table properties from the SparkSession configurations by running `spark.conf.unset("<coordinatorNameDefaultKey>"), spark.conf.unset("<coordinatorConfDefaultKey>"), spark.conf.unset("<tableConfDefaultKey>")`, and then retry the command again.

### DELTA\_NON\_UC\_MANAGED\_TABLE\_UPGRADE\_OR\_DOWNGRADE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table `<tableName>` is not UC-managed. Only UC-managed tables can be upgraded or downgraded to catalog-managed tables.

### DELTA\_NOT\_A\_DATABRICKS\_DELTA\_TABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<table>` is not a Delta table. Please drop this table first if you would like to create it with Databricks Delta.

### DELTA\_NOT\_A\_DELTA\_TABLE

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<tableName>` is not a Delta table. Please drop this table first if you would like to recreate it with Delta Lake.

### DELTA\_NOT\_NULL\_COLUMN\_NOT\_FOUND\_IN\_STRUCT

[SQLSTATE: 42K09](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Not nullable column not found in struct: `<struct>`.

### DELTA\_NOT\_NULL\_CONSTRAINT\_VIOLATED

[SQLSTATE: 23502](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

`NOT NULL` constraint violated for column: `<columnName>`.

### DELTA\_NOT\_NULL\_NESTED\_FIELD

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

A non-nullable nested field can't be added to a nullable parent. Please set the nullability of the parent column accordingly.

### DELTA\_NO\_COMMITS\_FOUND

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

No commits found at `<logPath>`.

### DELTA\_NO\_RECREATABLE\_HISTORY\_FOUND

[SQLSTATE: KD006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

No recreatable commits found at `<logPath>`.

### DELTA\_NO\_REDIRECT\_RULES\_VIOLATED

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Operation not allowed: `<operation>` cannot be performed on a table with redirect feature.

The no redirect rules are not satisfied `<noRedirectRules>`.

### DELTA\_NO\_RELATION\_TABLE

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<tableIdent>` not found.

### DELTA\_NO\_START\_FOR\_CDC\_READ

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No startingVersion or startingTimestamp provided for CDC read.

### DELTA\_NULL\_SCHEMA\_IN\_STREAMING\_WRITE

[SQLSTATE: 42P18](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Delta doesn't accept NullTypes in the schema for streaming writes.

### DELTA\_ONEOF\_IN\_TIMETRAVEL

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please either provide 'timestampAsOf' or 'versionAsOf' for time travel.

### DELTA\_ONLY\_OPERATION

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is only supported for Delta tables.

### DELTA\_OPERATION\_MISSING\_PATH

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please provide the path or table identifier for `<operation>`.

### DELTA\_OPERATION\_NOT\_ALLOWED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation not allowed: `<operation>` is not supported for Delta tables.

### DELTA\_OPERATION\_NOT\_ALLOWED\_DETAIL

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation not allowed: `<operation>` is not supported for Delta tables: `<tableName>`.

### DELTA\_OPERATION\_NOT\_SUPPORTED\_FOR\_COLUMN\_WITH\_COLLATION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is not supported for column `<colName>` with non-default collation `<collation>`.

### DELTA\_OPERATION\_NOT\_SUPPORTED\_FOR\_DATATYPES

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is not supported for data types: `<dataTypeList>`.

### DELTA\_OPERATION\_NOT\_SUPPORTED\_FOR\_EXPRESSION\_WITH\_COLLATION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is not supported for expression `<exprText>` because it uses non-default collation.

### DELTA\_OPERATION\_ON\_TEMP\_VIEW\_WITH\_GENERATED\_COLS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` command on a temp view referring to a Delta table that contains generated columns is not supported. Please run the `<operation>` command on the Delta table directly.

### DELTA\_OPERATION\_ON\_VIEW\_NOT\_ALLOWED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation not allowed: `<operation>` cannot be performed on a view.

### DELTA\_OPTIMIZE\_FULL\_NOT\_SUPPORTED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`OPTIMIZE FULL` is only supported for clustered tables with non-empty clustering columns.

### DELTA\_OVERWRITE\_BY\_FILTER\_INCOMPATIBLE\_REPLACE\_ON\_OR\_USING

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Overwrite by filter is incompatible with the `replaceOn`/`replaceUsing` option.

### DELTA\_OVERWRITE\_MUST\_BE\_TRUE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Copy option overwriteSchema cannot be specified without setting `OVERWRITE` = 'true'.

### DELTA\_OVERWRITE\_SCHEMA\_WITH\_DYNAMIC\_PARTITION\_OVERWRITE

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'overwriteSchema' cannot be used in dynamic partition overwrite mode.

### DELTA\_PARTITION\_COLUMN\_CAST\_FAILED

[SQLSTATE: 22525](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to cast value `<value>` to `<dataType>` for partition column `<columnName>`.

### DELTA\_PARTITION\_COLUMN\_NOT\_FOUND

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Partition column `<columnName>` not found in schema \[`<schemaMap>`].

### DELTA\_PARTITION\_SCHEMA\_IN\_ICEBERG\_TABLES

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Partition schema cannot be specified when converting Apache Iceberg tables. It is automatically inferred.

### DELTA\_PATH\_BASED\_ACCESS\_TO\_CATALOG\_MANAGED\_TABLE\_BLOCKED

[SQLSTATE: KD00G](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Path-based access is not allowed for Catalog-Managed table: `<path>`. Please access the table via its name and retry.

### DELTA\_PATH\_BASED\_ACCESS\_TO\_TABLE\_BLOCKED

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table at `<path>` has been migrated to a Unity Catalog managed table and can no longer be accessed by path. Update the client to access the table by name.

### DELTA\_PATH\_DOES\_NOT\_EXIST

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<path>` doesn't exist, or is not a Delta table.

### DELTA\_PATH\_EXISTS

[SQLSTATE: 42K04](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot write to already existent path `<path>` without setting `OVERWRITE` = 'true'.

### DELTA\_PATH\_NOT\_SPECIFIED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'path' is not specified.

### DELTA\_POST\_COMMIT\_HOOK\_FAILED

[SQLSTATE: 2DKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

Committing to the Delta table version `<version>` succeeded but error while executing post-commit hook `<name> <message>`

### [DELTA\_PROTOCOL\_CHANGED](https://docs.databricks.com/gcp/en/error-messages/delta-protocol-changed-error-class.md)

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

ProtocolChangedException: The protocol version of the Delta table has been changed by a concurrent update. Refer to `<docLink>` for more details.

For more details see [DELTA\_PROTOCOL\_CHANGED](https://docs.databricks.com/gcp/en/error-messages/delta-protocol-changed-error-class.md)

### DELTA\_PROTOCOL\_PROPERTY\_NOT\_INT

[SQLSTATE: 42K06](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Protocol property `<key>` needs to be an integer. Found `<value>`.

### DELTA\_READ\_FEATURE\_PROTOCOL\_REQUIRES\_WRITE

[SQLSTATE: KD004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Unable to upgrade only the reader protocol version to use table features. Writer protocol version must be at least `<writerVersion>` to proceed. Refer to `<docLink>` for more information on table protocol versions.

### DELTA\_READ\_SOURCE\_SCHEMA\_CONFLICT

[SQLSTATE: 42K07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The schema provided for the streaming source read doesn't match the schema of the Delta table.

Provided schema: `<providedSchema>`

Table schema: `<tableSchema>`

To fix this, either omit the schema option so the table schema is used automatically,

or ensure that the provided schema matches the Delta table schema exactly.

### DELTA\_READ\_TABLE\_WITHOUT\_COLUMNS

[SQLSTATE: 428GU](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are trying to read a Delta table `<tableName>` that does not have any columns.

Write some new data with the option `mergeSchema = true` to be able to read the table.

### DELTA\_READ\_TIME\_CDC\_NOT\_SUPPORTED\_FOR\_TABLES\_WITH\_ACCESS\_POLICIES

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

You are attempting to compute Change Data Feed on `<tableName>` that has access policies defined. Read Time Change Data Feed is currently in preview and does not support CDF on tables with access policies. Enable Read-optimized CDF by setting table property '`<cdfTableProperty>`' to 'true' on your table.

### DELTA\_REDIRECT\_SOURCE\_PATH\_DBFS\_MOUNT\_UNSUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

DBFS mount is not supported by table redirect. Source path: '`<sourcePath>`'.

### DELTA\_REDIRECT\_TARGET\_ROW\_FILTER\_COLUMN\_MASK\_UNSUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Redirect to a table with row filter or column mask is not supported. Update your code to reference the target table `<tableIdent>` directly.

### DELTA\_REDIRECT\_VALIDATION\_FAILED\_EXTERNAL\_URL\_MISMATCH

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Redirect validation failed: The target table `<targetTableIdent>` does not acknowledge the redirect from source path '`<sourcePath>`'. This may indicate a misconfigured or unauthorized redirect.

### DELTA\_REGEX\_OPT\_SYNTAX\_ERROR

[SQLSTATE: 2201B](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Please recheck your syntax for '`<regExpOption>`'.

### DELTA\_RELATION\_PATH\_MISMATCH

[SQLSTATE: 2201B](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Relation path '`<relation>`' mismatches with `<targetType>`'s path '`<targetPath>`'.

### DELTA\_REORG\_MATERIALIZATION\_NOT\_SUPPORTED\_ON\_UNPARTITIONED\_TABLE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Liquid Conversion using reorg command is not supported on an unpartitioned table.

### DELTA\_REORG\_PARTITION\_MATERIALIZATION\_CONFLICT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot `<action>` partition columns. `<instruction>` partition column materialization by setting the table property '`<tableProperty>`' to `<value>` or the SQL configuration '`<sqlConfig>`' to `<value>`.

### DELTA\_REORG\_UNKNOWN\_MODE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unknown `REORG TABLE` mode: `<mode>`.

### DELTA\_REPLACE\_ON\_OR\_USING\_TABLE\_CONSTRAINT\_VIOLATION

[SQLSTATE: 44000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-44-with-check-option-violation)

Written data violates a table constraint during `REPLACE ON`/`USING` '`<replaceExpression>`'.

`<invariantViolationMessage>`

### DELTA\_REPLACE\_TABLE\_WITH\_CATALOG\_MANAGED\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`REPLACE TABLE` cannot enable catalog-managed on the existing non-catalog-managed table `<tableName>`. Upgrade or recreate the table instead.

### DELTA\_REPLACE\_WHERE\_IN\_OVERWRITE

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You can't use replaceWhere in conjunction with an overwrite by filter.

### [DELTA\_REPLACE\_WHERE\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/delta-replace-where-mismatch-error-class.md)

[SQLSTATE: 44000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-44-with-check-option-violation)

Written data does not conform to partial table overwrite condition or constraint '`<replaceWhere>`'.

For more details see [DELTA\_REPLACE\_WHERE\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/delta-replace-where-mismatch-error-class.md)

### DELTA\_REPLACE\_WHERE\_WITH\_DYNAMIC\_PARTITION\_OVERWRITE

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A 'replaceWhere' expression and 'partitionOverwriteMode'='dynamic' cannot both be set in the DataFrameWriter options.

### DELTA\_REPLACE\_WHERE\_WITH\_FILTER\_DATA\_CHANGE\_UNSET

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'replaceWhere' cannot be used with data filters when 'dataChange' is set to false. Filters: `<dataFilters>`.

### DELTA\_ROW\_ID\_ASSIGNMENT\_WITHOUT\_STATS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot assign row IDs without row count statistics.

Collect statistics for the table by running the `ANALYZE TABLE` command:

`ANALYZE TABLE` tableName `COMPUTE DELTA STATISTICS`

### DELTA\_ROW\_TRACKING\_BACKFILL\_RUNNING\_CONCURRENTLY\_WITH\_UNBACKFILL

[SQLSTATE: 22KD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

A Row Tracking enablement operation was detected running concurrently with a Row Tracking disablement. Aborting the disablement operation. Please retry the disablement operation if necessary when the enablement operation is complete.

### DELTA\_ROW\_TRACKING\_ILLEGAL\_PROPERTY\_COMBINATION

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Illegal table state was detected. Table properties `<property1>` and `<property2>` are both set to true. The issue can be resolved by disabling any of the two table properties.

Please contact Databricks support for further assistance.

### DELTA\_SCHEMA\_CHANGED

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Detected schema change:

streaming source schema: `<readSchema>`

data file schema: `<dataSchema>`

Please try restarting the query. If this issue repeats across query restarts without

making progress, you have made an incompatible schema change and need to start your

query from scratch using a new checkpoint directory.

### DELTA\_SCHEMA\_CHANGED\_WITH\_STARTING\_OPTIONS

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Detected schema change in version `<version>`:

streaming source schema: `<readSchema>`

data file schema: `<dataSchema>`

Please try restarting the query. If this issue repeats across query restarts without

making progress, you have made an incompatible schema change and need to start your

query from scratch using a new checkpoint directory. If the issue persists after

changing to a new checkpoint directory, you may need to change the existing

'startingVersion' or 'startingTimestamp' option to start from a version newer than

`<version>` with a new checkpoint directory.

### DELTA\_SCHEMA\_CHANGED\_WITH\_VERSION

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Detected schema change in version `<version>`:

streaming source schema: `<readSchema>`

data file schema: `<dataSchema>`

Please try restarting the query. If this issue repeats across query restarts without

making progress, you have made an incompatible schema change and need to start your

query from scratch using a new checkpoint directory.

### DELTA\_SCHEMA\_CHANGE\_SINCE\_ANALYSIS

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The schema of your Delta table has changed in an incompatible way since your DataFrame

or DeltaTable object was created. Please redefine your DataFrame or DeltaTable object.

Changes:

`<schemaDiff> <legacyFlagMessage>`

### DELTA\_SCHEMA\_NOT\_PROVIDED

[SQLSTATE: 42908](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table schema is not provided. Please provide the schema (column definition) of the table when using `REPLACE` table and an `AS SELECT` query is not provided.

### DELTA\_SCHEMA\_NOT\_SET

[SQLSTATE: KD008](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Table schema is not set. Write data into it or use `CREATE TABLE` to set the schema.

### DELTA\_SET\_LOCATION\_SCHEMA\_MISMATCH

[SQLSTATE: 42KD7](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The schema of the new Delta location is different than the current table schema.

original schema:

`<original>`

destination schema:

`<destination>`

If this is an intended change, you may turn this check off by running:

%%sql set `<config>` = true

### DELTA\_SHALLOW\_CLONE\_FILE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File `<filePath>` referenced in the transaction log cannot be found. This can occur when data has been manually deleted from the file system rather than using the table `DELETE` statement. This table appears to be a shallow clone, if that is the case, this error can occur when the original table from which this table was cloned has deleted a file that the clone is still using. If you want any clones to be independent of the original table, use a DEEP clone instead.

### DELTA\_SHARING\_CANNOT\_MODIFY\_RESERVED\_RECIPIENT\_PROPERTY

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pre-defined properties that start with `<prefix>` cannot be modified.

### [DELTA\_SHARING\_CURRENT\_RECIPIENT\_PROPERTY\_UNDEFINED](https://docs.databricks.com/gcp/en/error-messages/delta-sharing-current-recipient-property-undefined-error-class.md)

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The data is restricted by recipient property `<property>` that do not apply to the current recipient in the session.

For more details see [DELTA\_SHARING\_CURRENT\_RECIPIENT\_PROPERTY\_UNDEFINED](https://docs.databricks.com/gcp/en/error-messages/delta-sharing-current-recipient-property-undefined-error-class.md)

### DELTA\_SHARING\_INVALID\_OP\_IN\_EXTERNAL\_SHARED\_VIEW

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<operation>` cannot be used in OpenSharing views that are shared cross account.

### DELTA\_SHARING\_INVALID\_PROVIDER\_AUTH

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Illegal authentication type `<authenticationType>` for provider `<provider>`.

### DELTA\_SHARING\_INVALID\_RECIPIENT\_AUTH

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Illegal authentication type `<authenticationType>` for recipient `<recipient>`.

### DELTA\_SHARING\_INVALID\_SHARED\_DATA\_OBJECT\_NAME

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid name to reference a `<type>` inside a Share. You can either use `<type>`'s name inside the share following the format of \[schema].\[`<type>`], or you can also use table's original full name following the format of \[catalog].\[schema].\[>type>].

If you are unsure about what name to use, you can run "`SHOW ALL IN SHARE` \[share]" and find the name of the `<type>` to remove: column "name" is the `<type>`'s name inside the share and column "shared\_object" is the `<type>`'s original full name.

### DELTA\_SHARING\_MAXIMUM\_RECIPIENT\_TOKENS\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

There are more than two tokens for recipient `<recipient>`.

### DELTA\_SHARING\_RECIPIENT\_PROPERTY\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Recipient property `<property>` does not exist.

### DELTA\_SHARING\_RECIPIENT\_TOKENS\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Recipient tokens are missing for recipient `<recipient>`.

### DELTA\_SHARING\_UNEXPECTED\_HTTP\_STATUS

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The OpenSharing server returned an unexpected HTTP status. `<message>`

### DELTA\_SHARING\_UNSUPPORTED\_OPERATION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is not supported for delta-shared table `<tableName>`.

Run this operation in the data provider's workspace where the table was originally created.

### DELTA\_SHOW\_PARTITION\_IN\_NON\_PARTITIONED\_COLUMN

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Non-partitioning column(s) `<badCols>` are specified for `SHOW PARTITIONS`.

### DELTA\_SHOW\_PARTITION\_IN\_NON\_PARTITIONED\_TABLE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SHOW PARTITIONS` is not allowed on a table that is not partitioned: `<tableName>`.

### DELTA\_SHREDDED\_WRITES\_DISABLED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot run `REORG APPLY(SHRED)` operation since shredded writes are disabled.

### DELTA\_SHREDDING\_TABLE\_PROPERTY\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Attempted to write shredded Variants but the table does not support shredded writes. Consider setting the table property enableVariantShredding to true.

### DELTA\_SOURCE\_IGNORE\_DELETE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Detected deleted data (for example `<removedFile>`) from streaming source at version `<version>`. This is currently not supported. If you'd like to ignore deletes, set the option 'ignoreDeletes' to 'true'. The source table can be found at path `<dataPath>`.

### DELTA\_SOURCE\_TABLE\_IGNORE\_CHANGES

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Detected a data update (for example `<changeInfo>`) in the source table at version `<version>`. This is currently not supported. If this is going to happen regularly and you are okay to skip changes, set the option 'skipChangeCommits' to 'true'. If you would like the data update to be reflected, please restart this query with a fresh checkpoint directory or do a full refresh if you are using Spark Declarative Pipelines on Lakeflow. If you need to handle these changes, please switch to MVs. The source table can be found at path `<dataPath>`.

### DELTA\_STARTING\_VERSION\_AND\_TIMESTAMP\_BOTH\_SET

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please either provide '`<version>`' or '`<timestamp>`'.

### DELTA\_STATS\_COLLECTION\_COLUMN\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<statsType>` stats not found for column in Parquet metadata: `<columnPath>`.

### DELTA\_STATS\_NOT\_FOUND\_IN\_FILE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Stats not found in file: `<filePath>`. Run '`ANALYZE TABLE` \[tableName] `COMPUTE DELTA STATISTICS`' to compute stats.

### DELTA\_STREAMING\_CANNOT\_CONTINUE\_PROCESSING\_POST\_SCHEMA\_EVOLUTION

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

We've detected one or more non-additive schema change(s) (`<opType>`) between Delta version `<previousSchemaChangeVersion>` and `<currentSchemaChangeVersion>` in the Delta streaming source.

Changes:

`<columnChangeDetails>`

Please check if you want to manually propagate the schema change(s) to the sink table before we proceed with stream processing using the finalized schema at version `<currentSchemaChangeVersion>`.

Once you have fixed the schema of the sink table or have decided there is no need to fix, you can set the following configuration(s) to unblock the non-additive schema change(s) and continue stream processing.

Using dataframe reader option(s):

To unblock for this particular stream just for this series of schema change(s):

`<unblockChangeOptions>`

To unblock for this particular stream:

`<unblockStreamOptions>`

Using SQL configuration(s):

To unblock for this particular stream just for this series of schema change(s):

`<unblockChangeConfs>`

To unblock for this particular stream:

`<unblockStreamConfs>`

To unblock for all streams:

`<unblockAllConfs>`

### DELTA\_STREAMING\_CHECK\_COLUMN\_MAPPING\_NO\_SNAPSHOT

[SQLSTATE: KD002](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to obtain Delta log snapshot for the start version when checking column mapping schema changes. Please choose a different start version, or force enable streaming read at your own risk by setting '`<config>`' to 'true'.

### DELTA\_STREAMING\_INCOMPATIBLE\_SCHEMA\_CHANGE

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Streaming read is not supported on tables with read-incompatible schema changes (for example, rename or drop or datatype changes).

For further information and possible next steps to resolve this issue, please review the documentation at `<docLink>`

Read schema: `<readSchema>`. Incompatible data schema: `<incompatibleSchema>`.

### DELTA\_STREAMING\_INCOMPATIBLE\_SCHEMA\_CHANGE\_USE\_SCHEMA\_LOG

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Streaming read is not supported on tables with read-incompatible schema changes (for example, rename or drop or datatype changes).

Please provide a 'schemaTrackingLocation' to enable non-additive schema evolution for Delta stream processing.

See `<docLink>` for more details.

Read schema: `<readSchema>`. Incompatible data schema: `<incompatibleSchema>`.

### DELTA\_STREAMING\_INTERRUPTED\_BY\_MANAGED\_TABLE\_CONVERSION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The table at `<path>` has been converted to a Unity Catalog managed table.

The stream has been stopped to ensure data consistency.

Restart the stream and it will automatically resume from the last committed offset using the converted table.

### DELTA\_STREAMING\_KEY\_ORDER\_AND\_EVENT\_TIME\_ORDER\_BOTH\_SET

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot set both '`<keyOrderOption>`' and '`<eventTimeOrderOption>`' options simultaneously. Please use only one ordering mode.

### DELTA\_STREAMING\_KEY\_ORDER\_COLUMN\_NOT\_FOUND

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Key order column '`<columnName>`' not found in the Delta table schema. Please specify a valid column name for the '`<option>`' option.

### DELTA\_STREAMING\_KEY\_ORDER\_RESTART\_COLUMN\_CHANGED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot restart the streaming query with '`<option>`' set to column '`<currentColumnName>`', because the query was previously started with column '`<previousColumnName>`'. Changing the key order column across restarts is not supported. Reuse the original column or delete the checkpoint to restart from scratch.

### DELTA\_STREAMING\_KEY\_ORDER\_RESTART\_DISABLED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot restart the streaming query with '`<option>`' disabled, because the query was started with the option enabled. To restart, set the '`<option>`' option to the same column, or delete the checkpoint to restart from scratch.

### DELTA\_STREAMING\_KEY\_ORDER\_RESTART\_ENABLED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot restart the streaming query with '`<option>`' enabled, because the query was started with the option disabled. To restart, remove the '`<option>`' option, or delete the checkpoint to restart from scratch.

### DELTA\_STREAMING\_KEY\_ORDER\_UNSUPPORTED\_SWITCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot restart the streaming query with '`<currentOption>`' enabled, because the query was previously started with '`<previousOption>`'. Switching between key order and event time order is not supported. Delete the checkpoint to restart from scratch.

### DELTA\_STREAMING\_KEY\_ORDER\_UNSUPPORTED\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unsupported data type '`<dataType>`' for key order column '`<columnName>`'. Only 'bigint' (LongType) and 'string' (StringType) types are supported for the '`<option>`' option.

### DELTA\_STREAMING\_METADATA\_EVOLUTION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The schema, table configuration or protocol of your Delta table has changed during streaming.

The schema or metadata tracking log has been updated.

Please restart the stream to continue processing using the updated metadata.

Updated schema: `<schema>`.

Updated table configurations: `<config>`.

Updated table protocol: `<protocol>`

### DELTA\_STREAMING\_SCHEMA\_EVOLUTION\_UNSUPPORTED\_ROW\_FILTER\_COLUMN\_MASKS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Streaming from source table `<tableId>` with schema tracking does not support row filters or column masks.

Please drop the row filters or column masks, or disable schema tracking.

### DELTA\_STREAMING\_SCHEMA\_LOCATION\_CONFLICT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Detected conflicting schema location '`<loc>`' while streaming from table or table located at '`<table>`'.

Another stream may be reusing the same schema location, which is not allowed.

Please provide a new unique `schemaTrackingLocation` path or `streamingSourceTrackingId` as a reader option for one of the streams from this table.

### DELTA\_STREAMING\_SCHEMA\_LOCATION\_NOT\_UNDER\_CHECKPOINT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Schema location '`<schemaTrackingLocation>`' must be placed under checkpoint location '`<checkpointLocation>`'.

### DELTA\_STREAMING\_SCHEMA\_LOG\_DESERIALIZE\_FAILED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Incomplete log file in the Delta streaming source schema log at '`<location>`'.

The schema log may have been corrupted. Please pick a new schema location.

### DELTA\_STREAMING\_SCHEMA\_LOG\_INCOMPATIBLE\_DELTA\_TABLE\_ID

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Detected incompatible Delta table id when trying to read Delta stream.

Persisted table id: `<persistedId>`, Table id: `<tableId>`

The schema log might have been reused. Please pick a new schema location.

### DELTA\_STREAMING\_SCHEMA\_LOG\_INCOMPATIBLE\_PARTITION\_SCHEMA

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Detected incompatible partition schema when trying to read Delta stream.

Persisted schema: `<persistedSchema>`, Delta partition schema: `<partitionSchema>`

Please pick a new schema location to reinitialize the schema log if you have manually changed the table's partition schema recently.

### DELTA\_STREAMING\_SCHEMA\_LOG\_INIT\_FAILED\_INCOMPATIBLE\_METADATA

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

We could not initialize the Delta streaming source schema log because

we detected an incompatible schema or protocol change while serving a streaming batch from table version `<a>` to `<b>`.

### DELTA\_STREAMING\_SCHEMA\_LOG\_PARSE\_SCHEMA\_FAILED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to parse the schema from the Delta streaming source schema log.

The schema log may have been corrupted. Please pick a new schema location.

### DELTA\_STREAMING\_SCHEMA\_MISMATCH\_ON\_RESTART

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The streaming query's schema does not match the current table schema.

Query schema (from analysis): `<querySchema>`

Current table schema: `<tableSchema>`

The table schema has changed since this streaming query was created. Create a new streaming DataFrame to pick up the current schema.

### DELTA\_STREAMING\_SINK\_TRANSACTION\_NOT\_FOUND

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

No transaction found for batch `<batchId>` in streaming Delta sink in the last `<versionLimit>` versions.

### [DELTA\_STREAMING\_SKIP\_OFFSETS\_INVALID\_OFFSET\_RANGE](https://docs.databricks.com/gcp/en/error-messages/delta-streaming-skip-offsets-invalid-offset-range-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid skip offset range for Delta source range=\[`<startOffset>, <endOffset>`). Fix this offset range and try again.

For more details see [DELTA\_STREAMING\_SKIP\_OFFSETS\_INVALID\_OFFSET\_RANGE](https://docs.databricks.com/gcp/en/error-messages/delta-streaming-skip-offsets-invalid-offset-range-error-class.md)

### DELTA\_STREAMING\_TRAILING\_COMMIT\_MISSING

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Delta stream detected commits up to version `<expectedVersion>` but files after version `<seenVersion>` are missing from the transaction log.

### DELTA\_TABLE\_ALREADY\_CONTAINS\_CDC\_COLUMNS

[SQLSTATE: 42711](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to enable Change Data Capture on the table. The table already contains

reserved columns `<columnList>` that will

be used internally as metadata for the table's Change Data Feed. To enable

Change Data Feed on the table rename/drop these columns.

### DELTA\_TABLE\_ALREADY\_EXISTS

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<tableName>` already exists.

### DELTA\_TABLE\_CHANGES\_VIEW\_MODIFIED\_AFTER\_STARTING\_TIMESTAMP

[SQLSTATE: 42816](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

View '`<viewName>`' was modified at '`<lastUpdatedTimestamp>`', after the requested starting timestamp. Read a fresh snapshot of the view, then resume reading changes from '`<validStartingTimestamp>`' or later.

### DELTA\_TABLE\_CHANGES\_VIEW\_REQUIRES\_ROW\_TRACKING

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

table\_changes on view '`<viewName>`' is not supported because the underlying Delta table '`<tableName>`' does not have row tracking.

### DELTA\_TABLE\_CHANGES\_VIEW\_REQUIRES\_STARTING\_TIMESTAMP

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Change data feed reads on view '`<viewName>`' require a starting timestamp. Starting versions are not supported.

### [DELTA\_TABLE\_CHANGES\_VIEW\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/delta-table-changes-view-unsupported-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

table\_changes on view '`<viewName>`' is not supported.

For more details see [DELTA\_TABLE\_CHANGES\_VIEW\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/delta-table-changes-view-unsupported-error-class.md)

### DELTA\_TABLE\_CONTAINS\_RESERVED\_CDC\_COLUMNS

[SQLSTATE: 42939](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to compute Change Data Feed on the table. The table contains reserved column names `<columnList>` that are used as output columns for the table's Change Data Feed. To compute Change Data Feed on the table rename/drop these columns.

### DELTA\_TABLE\_FOR\_PATH\_UNSUPPORTED\_HADOOP\_CONF

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Currently DeltaTable.forPath only supports hadoop configuration keys starting with `<allowedPrefixes>` but got `<unsupportedOptions>`.

### DELTA\_TABLE\_ID\_MISMATCH

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Delta table at `<tableLocation>` has been replaced while this command was using the table.

Table id was `<oldId>` but is now `<newId>`.

Please retry the current command to ensure it reads a consistent view of the table.

### DELTA\_TABLE\_INVALID\_REDIRECT\_STATE\_TRANSITION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unable to update table redirection state: Invalid state transition attempted.

The Delta table '`<table>`' cannot change from '`<oldState>`' to '`<newState>`'.

### DELTA\_TABLE\_INVALID\_SET\_UNSET\_REDIRECT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unable to `SET` or `UNSET` redirect property on `<table>`: current property '`<currentProperty>`' mismatches with new property '`<newProperty>`'.

### DELTA\_TABLE\_LOCATION\_MISMATCH

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The location of the existing table `<tableName>` is `<existingTableLocation>`. It doesn't match the specified location `<tableLocation>`.

### DELTA\_TABLE\_NOT\_FOUND

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Delta table `<tableName>` doesn't exist.

### DELTA\_TABLE\_NOT\_SUPPORTED\_IN\_OP

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table is not supported in `<operation>`. Please use a path instead.

### DELTA\_TABLE\_ONLY\_OPERATION

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<tableName>` is not a Delta table. `<operation>` is only supported for Delta tables.

### DELTA\_TABLE\_UNRECOGNIZED\_REDIRECT\_SPEC

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Delta log contains unrecognized table redirect spec '`<spec>`'.

### DELTA\_TARGET\_TABLE\_FINAL\_SCHEMA\_EMPTY

[SQLSTATE: 428GU](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Target table final schema is empty.

### DELTA\_TIMESTAMP\_EARLIER\_THAN\_COMMIT\_RETENTION

[SQLSTATE: 42816](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided timestamp (`<userTimestamp>`) is before the earliest version available to

this table (`<commitTs>`). Please use a timestamp after `<timestampString>`.

### DELTA\_TIMESTAMP\_GREATER\_THAN\_COMMIT

[SQLSTATE: 42816](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Timestamp `<providedTimestamp>` is after the table's latest version (`<lastCommitTimestamp>`). Use a timestamp at or before `<maximumTimestamp>`.

### DELTA\_TIMESTAMP\_INVALID

[SQLSTATE: 42816](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided timestamp (`<expr>`) cannot be converted to a valid timestamp.

### DELTA\_TIMESTAMP\_NANOS\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Nanosecond-precision timestamp data types are not supported in this version of Delta Lake.

### DELTA\_TIMESTAMP\_NANOS\_NOT\_SUPPORTED\_IN\_UNIFORM

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Nanosecond-precision timestamp columns are not supported in Delta Uniform. They are mapped to the Apache Iceberg v3 timestamp\_ns / timestamptz\_ns types, which require IcebergCompatV3. Set '`<config>`' to true to enable this mapping, remove the nanosecond timestamp columns from the table, or disable Uniform to proceed.

### DELTA\_TIME\_TRAVEL\_INVALID\_BEGIN\_VALUE

[SQLSTATE: 42604](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<timeTravelKey>` needs to be a valid begin value.

### DELTA\_TIME\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

TIME data type is not supported in this version of Delta Lake.

### DELTA\_TIME\_TYPE\_NOT\_SUPPORTED\_AS\_GENERATED\_COLUMN

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Generated columns are not supported for TIME type. Column '`<colName>`' has TIME type. Remove the `GENERATED ALWAYS AS` clause from this column.

### DELTA\_TIME\_TYPE\_NOT\_SUPPORTED\_FOR\_BLOOM\_FILTERS

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Bloom filter indices are not supported for TIME type columns. TIME type does not support the hashing required for bloom filters. Remove bloom filter properties from TIME columns.

### DELTA\_TIME\_TYPE\_NOT\_SUPPORTED\_FOR\_ZORDER

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Z-Ordering is not supported for TIME type columns. Column '`<colName>`' has TIME type. Remove this column from the `ZORDER BY` clause or cast it to a supported type.

### DELTA\_TIME\_TYPE\_NOT\_SUPPORTED\_IN\_UNIFORM

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

TIME type columns are not supported in Delta Uniform. The Apache Iceberg specification does not define TIME type support. Remove TIME columns from the table or disable Uniform to proceed.

### DELTA\_TOO\_MUCH\_LISTING\_MEMORY

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Failed to list files (`<numFiles>`) in the Delta table due to insufficient memory. Required memory: `<estimatedMemory>`, available memory: `<maxMemory>`.

### DELTA\_TRUNCATED\_TRANSACTION\_LOG

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<path>`: Unable to reconstruct state at version `<version>` as the transaction log has been truncated due to manual deletion or the log retention policy (`<logRetentionKey>=<logRetention>`) and checkpoint retention policy (`<checkpointRetentionKey>=<checkpointRetention>`).

### DELTA\_TRUNCATE\_TABLE\_PARTITION\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation not allowed: `TRUNCATE TABLE` on Delta tables does not support partition predicates; use `DELETE` to delete specific partitions or rows.

### DELTA\_UDF\_IN\_CHECK\_CONSTRAINT

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<expr>` in a `CHECK` constraint. A `CHECK` constraint cannot use a user-defined function.

### DELTA\_UDF\_IN\_GENERATED\_COLUMN

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<udfExpr>`. A generated column cannot use a user-defined function.

### DELTA\_UNEXPECTED\_ACTION\_EXPRESSION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unexpected action expression `<expression>`.

### DELTA\_UNEXPECTED\_NUM\_PARTITION\_COLUMNS\_FROM\_FILE\_NAME

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Expecting `<expectedColsSize>` partition column(s): `<expectedCols>`, but found `<parsedColsSize>` partition column(s): `<parsedCols>` from parsing the file name: `<path>`.

### DELTA\_UNEXPECTED\_PARTIAL\_SCAN

[SQLSTATE: KD00A](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Expect a full scan of Delta sources, but found a partial scan. Path: `<path>`.

### DELTA\_UNEXPECTED\_PARTITION\_COLUMN\_FROM\_FILE\_NAME

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Expecting partition column `<expectedCol>`, but found partition column `<parsedCol>` from parsing the file name: `<path>`.

### DELTA\_UNEXPECTED\_PARTITION\_SCHEMA\_FROM\_USER

[SQLSTATE: KD009](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

`CONVERT` TO `DELTA` was called with a partition schema different from the partition schema inferred from the catalog, please avoid providing the schema so that the partition schema can be chosen from the catalog.

catalog partition schema:

`<catalogPartitionSchema>`

provided partition schema:

`<userPartitionSchema>`

### DELTA\_UNIFORM\_COMPATIBILITY\_LOCATION\_CANNOT\_BE\_CHANGED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

delta.universalFormat.compatibility.location cannot be changed.

### DELTA\_UNIFORM\_COMPATIBILITY\_LOCATION\_NOT\_REGISTERED

[SQLSTATE: 42K0I](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

delta.universalFormat.compatibility.location is not registered in the catalog.

### [DELTA\_UNIFORM\_COMPATIBILITY\_MISSING\_OR\_INVALID\_LOCATION](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-compatibility-missing-or-invalid-location-error-class.md)

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Missing or invalid location for Uniform compatibility format. Please set an empty directory for delta.universalFormat.compatibility.location.

Failed reason:

For more details see [DELTA\_UNIFORM\_COMPATIBILITY\_MISSING\_OR\_INVALID\_LOCATION](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-compatibility-missing-or-invalid-location-error-class.md)

### [DELTA\_UNIFORM\_ICEBERG\_INGRESS\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-iceberg-ingress-violation-error-class.md)

[SQLSTATE: KD00E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Read Apache Iceberg with Delta Uniform has failed.

For more details see [DELTA\_UNIFORM\_ICEBERG\_INGRESS\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-iceberg-ingress-violation-error-class.md)

### [DELTA\_UNIFORM\_ICEBERG\_ROW\_TRACKING\_UPGRADE\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-iceberg-row-tracking-upgrade-blocked-error-class.md)

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot preserve the Apache Iceberg snapshot lineage while upgrading Row Tracking.

Set `<config>`=false to upgrade without preserving the snapshot lineage.

Reason:

For more details see [DELTA\_UNIFORM\_ICEBERG\_ROW\_TRACKING\_UPGRADE\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-iceberg-row-tracking-upgrade-blocked-error-class.md)

### DELTA\_UNIFORM\_INGRESS\_AMBIGUOUS\_FORMAT

[SQLSTATE: KD00E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Multiple Delta Uniform ingress formats (`<formats>`) are found, at most one can be set.

### DELTA\_UNIFORM\_INGRESS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Create or Refresh Uniform ingress table is not supported.

### DELTA\_UNIFORM\_INGRESS\_NOT\_SUPPORTED\_FORMAT

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Format `<fileFormat>` is not supported. Only Apache Iceberg and hudi as original file format are supported.

### [DELTA\_UNIFORM\_INGRESS\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-ingress-violation-error-class.md)

[SQLSTATE: KD00E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Read Delta Uniform fails:

For more details see [DELTA\_UNIFORM\_INGRESS\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-ingress-violation-error-class.md)

### DELTA\_UNIFORM\_NOT\_SUPPORTED

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Universal Format is only supported on Unity Catalog tables.

### [DELTA\_UNIFORM\_REFRESH\_INVALID\_ARGUMENT](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-refresh-invalid-argument-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`REFRESH TABLE` with invalid argument:

For more details see [DELTA\_UNIFORM\_REFRESH\_INVALID\_ARGUMENT](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-refresh-invalid-argument-error-class.md)

### [DELTA\_UNIFORM\_REFRESH\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-refresh-not-supported-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`REFRESH` identifier `SYNC UNIFORM` is not supported for reason:

For more details see [DELTA\_UNIFORM\_REFRESH\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/delta-uniform-refresh-not-supported-error-class.md)

### DELTA\_UNIFORM\_REFRESH\_NOT\_SUPPORTED\_FOR\_MANAGED\_ICEBERG\_TABLE\_WITH\_METADATA\_PATH

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`REFRESH TABLE` with `METADATA_PATH` is not supported for managed Apache Iceberg tables.

### [DELTA\_UNIVERSAL\_FORMAT\_CONVERSION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-universal-format-conversion-failed-error-class.md)

[SQLSTATE: KD00E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to convert the table version `<version>` to the universal format `<format>`.

For more details see [DELTA\_UNIVERSAL\_FORMAT\_CONVERSION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-universal-format-conversion-failed-error-class.md)

### [DELTA\_UNIVERSAL\_FORMAT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-universal-format-violation-error-class.md)

[SQLSTATE: KD00E](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The validation of Universal Format (`<format>`) has failed:

For more details see [DELTA\_UNIVERSAL\_FORMAT\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/delta-universal-format-violation-error-class.md)

### DELTA\_UNKNOWN\_CONFIGURATION

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

Unknown configuration was specified: `<config>`.

To disable this check, set `<disableCheckConfig>`=true in the Spark session configuration.

### DELTA\_UNKNOWN\_PRIVILEGE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unknown privilege: `<privilege>`.

### DELTA\_UNKNOWN\_READ\_LIMIT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unknown ReadLimit: `<limit>`.

### DELTA\_UNPARTITIONED\_TO\_PARTITIONED\_TABLE\_CLONE\_OR\_RESTORE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`CLONE`-ing or `RESTORE`-ing an unpartitioned Delta table to a partitioned table or version is currently not supported for this case.

See `<docLink>` for alternatives for this operation.

### DELTA\_UNRECOGNIZED\_COLUMN\_CHANGE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unrecognized column change `<otherClass>`. You may be running an out-of-date Delta Lake version.

### DELTA\_UNRECOGNIZED\_INVARIANT

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Unrecognized invariant. Please upgrade your Spark version.

### DELTA\_UNRECOGNIZED\_LOGFILE

[SQLSTATE: KD00B](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Unrecognized log file `<filename>`.

### DELTA\_UNRECOGNIZED\_TABLE\_CHANGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unrecognized table change `<change>`. You may be running an out-of-date Delta Lake version.

### DELTA\_UNSET\_NON\_EXISTENT\_PROPERTY

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Attempted to unset non-existent property '`<property>`' in table `<tableName>`.

### DELTA\_UNSUPPORTED\_ABS\_PATH\_ADD\_FILE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<path>` does not support adding files with an absolute path.

### DELTA\_UNSUPPORTED\_ALTER\_TABLE\_CHANGE\_COL\_OP

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER TABLE CHANGE COLUMN` is not supported for changing column `<fieldPath>` from `<oldField>` to `<newField>`.

### [DELTA\_UNSUPPORTED\_ALTER\_TABLE\_REPLACE\_COL\_OP](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-alter-table-replace-col-op-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported `ALTER TABLE REPLACE COLUMNS` operation.

Failed to change schema from:

`<oldSchema>`

to:

`<newSchema>`

Reason:

For more details see [DELTA\_UNSUPPORTED\_ALTER\_TABLE\_REPLACE\_COL\_OP](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-alter-table-replace-col-op-error-class.md)

### DELTA\_UNSUPPORTED\_CATALOG\_MANAGED\_TABLE\_OPERATION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` is blocked by the catalog for Catalog-Managed tables.

### DELTA\_UNSUPPORTED\_CHANGE\_ON\_COLUMNS\_WITH\_INDEX

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot alter column(s) `<quotedColumnNames>` because they are part of one or more indexes. Drop the index(es) first, then retry the operation.

### DELTA\_UNSUPPORTED\_CLONE\_REPLACE\_SAME\_TABLE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

You tried to `REPLACE` an existing table (`<tableName>`) with `CLONE`. This operation is

unsupported. Try a different target for `CLONE` or delete the table at the current target.

### [DELTA\_UNSUPPORTED\_CLUSTERING\_COLUMN\_PREDICATES](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-clustering-column-predicates-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<command>` command for Liquid tables does not support the provided predicates:

For more details see [DELTA\_UNSUPPORTED\_CLUSTERING\_COLUMN\_PREDICATES](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-clustering-column-predicates-error-class.md)

### DELTA\_UNSUPPORTED\_COLUMN\_MAPPING\_MODE\_CHANGE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing column mapping mode from '`<oldMode>`' to '`<newMode>`' is not supported.

### DELTA\_UNSUPPORTED\_COLUMN\_MAPPING\_OPERATIONS\_ON\_COLUMNS\_WITH\_BLOOM\_FILTER\_INDEX

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to perform Column Mapping operation `<opName>` on column(s) `<quotedColumnNames>`

because these column(s) have Bloom Filter Index(es).

If you want to perform Column Mapping operation on column(s)

with Bloom Filter Index(es),

please remove the Bloom Filter Index(es) first:

`DROP BLOOMFILTER INDEX ON TABLE` tableName `FOR COLUMNS(<columnNames>)`

If you want instead to remove all Bloom Filter Indexes on the table, use:

`DROP BLOOMFILTER INDEX ON TABLE` tableName

### [DELTA\_UNSUPPORTED\_COLUMN\_MAPPING\_PROTOCOL](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-column-mapping-protocol-error-class.md)

[SQLSTATE: KD004](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Your current table protocol version does not support changing column mapping modes

using `<config>`.

Your table's current Delta protocol version:

`<currentVersion>`

For more details see [DELTA\_UNSUPPORTED\_COLUMN\_MAPPING\_PROTOCOL](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-column-mapping-protocol-error-class.md)

### DELTA\_UNSUPPORTED\_COLUMN\_MAPPING\_SCHEMA\_CHANGE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Schema change is detected:

old schema:

`<oldTableSchema>`

new schema:

`<newTableSchema>`

Schema changes are not allowed during the change of column mapping mode.

### DELTA\_UNSUPPORTED\_COLUMN\_MAPPING\_WRITE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Writing data with column mapping mode is not supported.

### DELTA\_UNSUPPORTED\_COLUMN\_TYPE\_IN\_BLOOM\_FILTER

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating a bloom filter index on a column with type `<dataType>` is unsupported: `<columnName>`.

### DELTA\_UNSUPPORTED\_COMMENT\_MAP\_ARRAY

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Can't add a comment to `<fieldPath>`. Adding a comment to a map key/value or array element is not supported.

### DELTA\_UNSUPPORTED\_DATA\_TYPES

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Found columns using unsupported data types: `<dataTypeList>`. You can set '`<config>`' to 'false' to disable the type check. Disabling this type check may allow users to create unsupported Delta tables and should only be used when trying to read/write legacy tables.

### DELTA\_UNSUPPORTED\_DATA\_TYPE\_IN\_GENERATED\_COLUMN

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<dataType>` cannot be the result of a generated column.

### DELTA\_UNSUPPORTED\_DEEP\_CLONE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Deep clone is not supported by this Delta version.

### DELTA\_UNSUPPORTED\_DESCRIBE\_DETAIL\_VIEW

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<view>` is a view. `DESCRIBE DETAIL` is only supported for tables.

### DELTA\_UNSUPPORTED\_DROP\_CLUSTERING\_COLUMN

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Dropping clustering columns (`<columnList>`) is not allowed.

### [DELTA\_UNSUPPORTED\_DROP\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-drop-column-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`DROP COLUMN` is not supported for your Delta table.

For more details see [DELTA\_UNSUPPORTED\_DROP\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-drop-column-error-class.md)

### DELTA\_UNSUPPORTED\_DROP\_NESTED\_COLUMN\_FROM\_NON\_STRUCT\_TYPE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Can only drop nested columns from StructType. Found `<struct>`.

### DELTA\_UNSUPPORTED\_DROP\_PARTITION\_COLUMN

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Dropping partition columns (`<columnList>`) is not allowed.

### DELTA\_UNSUPPORTED\_EXPRESSION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported expression type(`<expType>`) for `<causedBy>`. The supported types are \[`<supportedTypes>`].

### DELTA\_UNSUPPORTED\_EXPRESSION\_CHECK\_CONSTRAINT

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found `<expression>` in a `CHECK` constraint. `<expression>` cannot be used in a `CHECK` constraint.

### DELTA\_UNSUPPORTED\_EXPRESSION\_GENERATED\_COLUMN

[SQLSTATE: 42621](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<expression>` cannot be used in a generated column.

### DELTA\_UNSUPPORTED\_EXPRESSION\_IN\_TARGET\_COLUMN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<optionalPrefixMessage>`Found unsupported expression `<expression>` while parsing target column name parts.

### DELTA\_UNSUPPORTED\_FEATURES\_FOR\_READ

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Unsupported Delta read feature: table "`<tableNameOrPath>`" requires reader table feature(s) that are unsupported by this version of Databricks: `<unsupported>`. Please refer to `<link>` for more information on Delta Lake feature compatibility.

### DELTA\_UNSUPPORTED\_FEATURES\_FOR\_WRITE

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Unsupported Delta write feature: table "`<tableNameOrPath>`" requires writer table feature(s) that are unsupported by this version of Databricks: `<unsupported>`. Please refer to `<link>` for more information on Delta Lake feature compatibility.

### DELTA\_UNSUPPORTED\_FEATURES\_IN\_CONFIG

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Table feature(s) configured in the following Spark configs or Delta table properties are not recognized by this version of Databricks: `<configs>`.

### DELTA\_UNSUPPORTED\_FEATURE\_STATUS

[SQLSTATE: 0AKDE](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Expecting the status for table feature `<feature>` to be "supported", but got "`<status>`".

### DELTA\_UNSUPPORTED\_FIELD\_UPDATE\_NON\_STRUCT

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Updating nested fields is only supported for StructType, but you are trying to update a field of `<columnName>`, which is of type: `<dataType>`.

### DELTA\_UNSUPPORTED\_FILE\_SYSTEM

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The file system for path `<path>` is not supported. Please verify that the file system scheme in the path is spelled correctly and that your environment is configured with the required dependencies and settings for this file system.

### DELTA\_UNSUPPORTED\_FSCK\_WITH\_DELETION\_VECTORS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The 'FSCK `REPAIR TABLE`' command is not supported on table versions with missing deletion vector files.

Please contact support.

### DELTA\_UNSUPPORTED\_GENERATE\_WITH\_DELETION\_VECTORS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The '`GENERATE` symlink\_format\_manifest' command is not supported on table versions with deletion vectors.

In order to produce a version of the table without deletion vectors, run '`REORG TABLE` table `APPLY (PURGE)`'. Then re-run the '`GENERATE`' command.

Make sure that no concurrent transactions are adding deletion vectors again between `REORG` and `GENERATE`.

If you need to generate manifests regularly, or you cannot prevent concurrent transactions, consider disabling deletion vectors on this table using '`ALTER TABLE` table `SET TBLPROPERTIES` (delta.enableDeletionVectors = false)'.

### DELTA\_UNSUPPORTED\_INVARIANT\_NON\_STRUCT

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invariants on nested fields other than StructTypes are not supported.

### DELTA\_UNSUPPORTED\_IN\_SUBQUERY

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

In subquery is not supported in the `<operation>` condition.

### DELTA\_UNSUPPORTED\_LIST\_KEYS\_WITH\_PREFIX

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

listKeywithPrefix not available.

### DELTA\_UNSUPPORTED\_MANIFEST\_GENERATION\_WITH\_COLUMN\_MAPPING

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Manifest generation is not supported for tables that leverage column mapping, as external readers cannot read these Delta tables. See Delta documentation for more details.

### DELTA\_UNSUPPORTED\_MERGE\_SCHEMA\_EVOLUTION\_WITH\_CDC

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MERGE INTO` operations with schema evolution do not currently support writing CDC output.

### DELTA\_UNSUPPORTED\_MULTI\_COL\_IN\_PREDICATE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Multi-column In predicates are not supported in the `<operation>` condition.

### DELTA\_UNSUPPORTED\_NESTED\_COLUMN\_IN\_BLOOM\_FILTER

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating a bloom filer index on a nested column is currently unsupported: `<columnName>`.

### DELTA\_UNSUPPORTED\_NESTED\_FIELD\_IN\_OPERATION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Nested field is not supported in the `<operation>` (field = `<fieldName>`).

### DELTA\_UNSUPPORTED\_NESTED\_FIELD\_IN\_UPDATE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<optionalPrefixMessage>`Updating nested fields is only supported for StructType.

### DELTA\_UNSUPPORTED\_NON\_EMPTY\_CLONE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The clone destination table is non-empty. Please `TRUNCATE` or `DELETE FROM` the table before running `CLONE`.

### DELTA\_UNSUPPORTED\_OUTPUT\_MODE

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data source `<dataSource>` does not support `<mode>` output mode.

### DELTA\_UNSUPPORTED\_PARTITION\_COLUMN\_CHANGE

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change partition columns during `<operation>` operation (old: `<oldPartitionColumns>`, new: `<newPartitionColumns>`).

### DELTA\_UNSUPPORTED\_PARTITION\_COLUMN\_IN\_BLOOM\_FILTER

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating a bloom filter index on a partitioning column is unsupported: `<columnName>`.

### [DELTA\_UNSUPPORTED\_RENAME\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-rename-column-error-class.md)

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Column rename is not supported for your Delta table.

For more details see [DELTA\_UNSUPPORTED\_RENAME\_COLUMN](https://docs.databricks.com/gcp/en/error-messages/delta-unsupported-rename-column-error-class.md)

### DELTA\_UNSUPPORTED\_SCHEMA\_DURING\_READ

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Delta does not support specifying the schema at read time.

### DELTA\_UNSUPPORTED\_SORT\_ON\_BUCKETED\_TABLES

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`SORTED BY` is not supported for Delta bucketed tables.

### DELTA\_UNSUPPORTED\_SOURCE

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operation>` destination only supports Delta sources.

`<plan>`

### DELTA\_UNSUPPORTED\_STATIC\_PARTITIONS

[SQLSTATE: 0AKDD](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Specifying static partitions in the partition spec is currently not supported during inserts.

### DELTA\_UNSUPPORTED\_STRATEGY\_NAME

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unsupported strategy name: `<strategy>`.

### DELTA\_UNSUPPORTED\_SUBQUERY

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Subqueries are not supported in the `<operation>` (condition = `<cond>`).

### DELTA\_UNSUPPORTED\_SUBQUERY\_IN\_PARTITION\_PREDICATES

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Subquery is not supported in partition predicates.

### DELTA\_UNSUPPORTED\_TIME\_TRAVEL\_BEYOND\_DELETED\_FILE\_RETENTION\_DURATION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot time travel beyond delta.deletedFileRetentionDuration (`<deletedFileRetention> HOURS`) set on the table.

### DELTA\_UNSUPPORTED\_TIME\_TRAVEL\_MULTIPLE\_FORMATS

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify time travel in multiple formats.

### DELTA\_UNSUPPORTED\_TIME\_TRAVEL\_VIEWS

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot time travel views, subqueries, streams or change data feed queries.

### DELTA\_UNSUPPORTED\_TRUNCATE\_SAMPLE\_TABLES

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Truncate sample tables is not supported.

### DELTA\_UNSUPPORTED\_TYPE\_CHANGE\_IN\_SCHEMA

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unable to operate on this table because an unsupported type change was applied. Field `<fieldName>` was changed from `<fromType>` to `<toType>`.

### DELTA\_UNSUPPORTED\_TYPE\_CHANGE\_ON\_COLUMNS\_WITH\_BLOOM\_FILTER\_INDEX

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to change data type of column(s) `<quotedColumnNames>`

because these columns have Bloom Filter Index(es).

If you want to change the data type of column(s) with Bloom Filter Index(es),

please remove the Bloom Filter Index(es) first:

`DROP BLOOMFILTER INDEX ON TABLE` tableName `FOR COLUMNS(<columnNames>)`

If you want instead to remove all Bloom Filter Indexes on the table, use:

`DROP BLOOMFILTER INDEX ON TABLE` tableName

### DELTA\_UNSUPPORTED\_VACUUM\_SPECIFIC\_PARTITION

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Please provide the base path (`<baseDeltaPath>`) when Vacuuming Delta tables. Vacuuming specific partitions is currently not supported.

### DELTA\_UNSUPPORTED\_WRITES\_STAGED\_TABLE

[SQLSTATE: 42807](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table implementation does not support writes: `<tableName>`.

### DELTA\_UNSUPPORTED\_WRITES\_WITHOUT\_COORDINATOR

[SQLSTATE: 0AKDC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

You are trying to perform writes on a table which has been registered with the commit coordinator `<coordinatorName>`. However, no implementation of this coordinator is available in the current environment and writes without coordinators are not allowed.

### DELTA\_UNSUPPORTED\_WRITE\_SAMPLE\_TABLES

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Write to sample tables is not supported.

### DELTA\_UPDATE\_SCHEMA\_MISMATCH\_EXPRESSION

[SQLSTATE: 42846](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot cast `<fromCatalog>` to `<toCatalog>`. All nested columns must match.

### DELTA\_USER\_DEFINED\_TYPE\_COLUMN\_CONTAINS\_NULL\_TYPE

[SQLSTATE: 22005](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found NullType in column `<columnName>` which is of `<userClass>` user-defined type. Delta doesn't support writing NullType in user-defined types.

### DELTA\_V2\_CHECKPOINTS\_REQUIRED\_FOR\_OPERATION

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

`CHECKPOINT` operation is not supported on table `<tableNameOrPath>` without V2 Checkpoints.

### DELTA\_VACUUM\_COPY\_INTO\_STATE\_FAILED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`VACUUM` on data files succeeded, but `COPY INTO` state garbage collection failed.

### DELTA\_VACUUM\_RETENTION\_PERIOD\_NEGATIVE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Retention period for Vacuum can't be less than 0 hours.

### DELTA\_VACUUM\_RETENTION\_PERIOD\_TOO\_SHORT

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The specified `VACUUM` retention period is too low and may corrupt this Delta table if any writes are in progress.

If no operations (insert, upsert, delete, optimize) are running, you can disable this safety check by setting:

delta.retentionDurationCheck.enabled = false

Otherwise, use a retention period of at least `<configuredRetentionHours>` hours.

### [DELTA\_VERSIONS\_NOT\_CONTIGUOUS](https://docs.databricks.com/gcp/en/error-messages/delta-versions-not-contiguous-error-class.md)

[SQLSTATE: KD00C](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Versions (`<versionList>`) are not contiguous.

A gap in the delta log between versions `<startVersion>` and `<endVersion>` was detected while trying to load version `<versionToLoad>`.

For more details see [DELTA\_VERSIONS\_NOT\_CONTIGUOUS](https://docs.databricks.com/gcp/en/error-messages/delta-versions-not-contiguous-error-class.md)

### DELTA\_VERSION\_INVALID

[SQLSTATE: 42815](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided version (`<version>`) is not a valid version.

### DELTA\_VERSION\_NOT\_FOUND

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot time travel Delta table to version `<userVersion>`. Available versions: \[`<earliest>, <latest>`].

### DELTA\_VIOLATE\_CONSTRAINT\_WITH\_VALUES

[SQLSTATE: 23001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-23-integrity-constraint-violation)

`CHECK` constraint `<constraintName> <expression>` violated by row with values:

`<values>`.

### [DELTA\_VIOLATE\_TABLE\_PROPERTY\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-violate-table-property-validation-failed-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The validation of the properties of table `<table>` has been violated:

For more details see [DELTA\_VIOLATE\_TABLE\_PROPERTY\_VALIDATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/delta-violate-table-property-validation-failed-error-class.md)

### DELTA\_WRITE\_INTO\_VIEW\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<viewIdentifier>` is a view. You may not write data into a view.

### DELTA\_ZORDERING\_COLUMN\_DOES\_NOT\_EXIST

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Z-Ordering column `<columnName>` does not exist in data schema.

### DELTA\_ZORDERING\_ON\_COLUMN\_WITHOUT\_STATS

[SQLSTATE: KD00D](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Z-Ordering on `<cols>` will be ineffective, because we currently do not collect stats for these columns. Please refer to `<link>` for more information on data skipping and z-ordering. You can disable this check by setting

`SET <zorderColStatKey>` = false

### DELTA\_ZORDERING\_ON\_PARTITION\_COLUMN

[SQLSTATE: 42P10](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<colName>` is a partition column. Z-Ordering can only be performed on data columns.

## <a id="delta-sharing" />OpenSharing

### DELTA\_SHARING\_ACTIVATION\_NONCE\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

Activation nonce not found. The activation link you used is invalid or has expired. Regenerate the activation link and try again.

### DELTA\_SHARING\_CROSS\_CLOUD\_METASTORE\_NOT\_FOUND

SQLSTATE: none assigned

Cannot locate metastore `<metastoreId>`. The metastore may have been deleted.

### DELTA\_SHARING\_CROSS\_REGION\_SHARE\_UNSUPPORTED

SQLSTATE: none assigned

Sharing between `<regionHint>` regions and regions outside of it is not supported.

### DELTA\_SHARING\_GET\_RECIPIENT\_PROPERTIES\_INVALID\_DEPENDENT

SQLSTATE: none assigned

The view defined with the `current_recipient` function is for sharing only and can only be queried from the data recipient side. The provided securable with id `<securableId>` is not an OpenSharing View.

### DELTA\_SHARING\_MUTABLE\_SECURABLE\_KIND\_NOT\_SUPPORTED

SQLSTATE: none assigned

The provided securable kind `<securableKind>` does not support mutability in OpenSharing.

### DELTA\_SHARING\_ROTATE\_TOKEN\_NOT\_AUTHORIZED\_FOR\_MARKETPLACE

SQLSTATE: none assigned

The provided securable kind `<securableKind>` does not support rotate token action initiated by Marketplace service.

### [DELTA\_SHARING\_SECURABLE\_DELETE\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/delta-sharing-securable-delete-blocked-error-class.md)

[SQLSTATE: 55006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

`<securableType> <securableFullName>` cannot be deleted because it is being shared via OpenSharing.

For more details see [DELTA\_SHARING\_SECURABLE\_DELETE\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/delta-sharing-securable-delete-blocked-error-class.md)

### DS\_AUTH\_TYPE\_NOT\_AVAILABLE

SQLSTATE: none assigned

`<dsError>`: Authentication type not available in provider entity `<providerEntity>`.

### DS\_CDF\_MODE\_INCONSISTENT

SQLSTATE: none assigned

`<dsError>`: CDF mode changed at version `<version>`. The query started at version `<startVersion>` using `<expectedMode>` mode, but a subsequent version is inconsistent with this mode.

### DS\_CDF\_NOT\_ENABLED

SQLSTATE: none assigned

`<dsError>`: Unable to access change data feed for `<tableName>`. CDF is not enabled on the original delta table for version `<version>`. Please contact your data provider.

### DS\_CDF\_NOT\_ENABLED\_AUTO\_CDF\_AVAILABLE

SQLSTATE: none assigned

`<dsError>`: Unable to access change data feed for `<tableName>` at version `<version>` using CDC files, but the table supports AutoCDF. To use AutoCDF, use DBR 17.3 or higher and set option ("responseFormat", "delta") to query the table. The client must also have Auto-CDF enabled.

### DS\_CDF\_NOT\_SHARED

SQLSTATE: none assigned

`<dsError>`: Unable to access change data feed for `<tableName>`. CDF is not shared on the table. Please contact your data provider.

### DS\_CDF\_RPC\_INVALID\_PARAMETER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_CLIENT\_AUTH\_ERROR\_FOR\_DB\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_CLIENT\_ERROR\_FOR\_DB\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_CLIENT\_OAUTH\_TOKEN\_EXCHANGE\_FAILURE

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_CLIENT\_OAUTH\_TOKEN\_EXCHANGE\_UNAUTHORIZED

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_CLOUD\_VENDOR\_UNAVAILABLE

SQLSTATE: none assigned

`<dsError>`: Cloud vendor is temporarily unavailable for `<rpcName>`, please retry.`<traceId>`

### DS\_COLLATION\_UNSUPPORTED\_DBR\_VERSION

SQLSTATE: none assigned

`<dsError>`: This version of Databricks Runtime (`<dbrVersion>`) does not support tables with collations. Please use version `<minVersion>` or higher.

### DS\_CONDITIONAL\_UPDATE\_FAILED

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_DATA\_MATERIALIZATION\_COMMAND\_FAILED

SQLSTATE: none assigned

`<dsError>`: Data materialization task run `<runId>` from org `<orgId>` failed at command `<command>`

### DS\_DATA\_MATERIALIZATION\_COMMAND\_NOT\_SUPPORTED

SQLSTATE: none assigned

`<dsError>`: Data materialization task run `<runId>` from org `<orgId>` does not support command `<command>`

### DS\_DATA\_MATERIALIZATION\_NOT\_SUPPORTED\_WITHOUT\_SERVERLESS

SQLSTATE: none assigned

`<dsError>`: `<featureName>` is not supported because serverless is not supported or enabled in the provider workspace. Please contact your data provider to enable serverless.

### DS\_DATA\_MATERIALIZATION\_NO\_VALID\_NAMESPACE

SQLSTATE: none assigned

`<dsError>`: Could not find valid namespace to create materialization for `<tableName>`. Please contact your data provider to fix this.

### DS\_DATA\_MATERIALIZATION\_RECIPIENT\_MISSING\_WORKSPACE\_ID

SQLSTATE: none assigned

`<dsError>`: No suitable workspace found to materialize shared asset. Please contact your data provider to re-create the recipient in a workspace where write access to the shared asset's catalog is permitted.

### DS\_DATA\_MATERIALIZATION\_RUN\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

`<dsError>`: Data materialization task run `<runId>` from org `<orgId>` does not exist

### DS\_DELTA\_ILLEGAL\_STATE

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_DELTA\_MISSING\_CHECKPOINT\_FILES

SQLSTATE: none assigned

`<dsError>`: Couldn't find all part files of the checkpoint at version: `<version>`. `<suggestion>`

### DS\_DELTA\_NULL\_POINTER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_DELTA\_RUNTIME\_EXCEPTION

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_EMAIL\_RECIPIENT\_MISSING\_CREATE\_PROVIDER\_PERMISSION

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<dsError>`: You do not have permission to accept this OpenSharing invitation. Accepting requires the `CREATE PROVIDER` privilege on the metastore; ask a metastore admin to grant it.

### DS\_EXPIRE\_TOKEN\_NOT\_AUTHORIZED\_FOR\_MARKETPLACE

SQLSTATE: none assigned

`<dsError>`: The provided securable kind `<securableKind>` does not support expire token action initiated by Marketplace service.

### DS\_FAILED\_REQUEST\_TO\_OPEN\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_FAILED\_REQUEST\_TO\_SAP\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_FEATURE\_DISABLED

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_FEATURE\_ONLY\_FOR\_DATABRICKS\_TO\_DATABRICKS

SQLSTATE: none assigned

`<dsError>`: `<feature>` is only enabled for Databricks to Databricks OpenSharing.

### DS\_FILE\_LISTING\_EXCEPTION

SQLSTATE: none assigned

`<dsError>`: `<storage>`: `<message>`

### DS\_FILE\_SIGNING\_EXCEPTION

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_FOREIGN\_TABLE\_METADATA\_REFRESH\_FAILED

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_GATEKEEPER\_DISABLED

SQLSTATE: none assigned

`<dsError>`: This feature is disabled for the account. Please contact your data provider.

### DS\_HADOOP\_CONFIG\_NOT\_SET

SQLSTATE: none assigned

`<dsError>`: `<key>` is not set by the caller.

### DS\_ILLEGAL\_STATE

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INTERNAL\_ERROR\_FROM\_DB\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INTERNAL\_ERROR\_FROM\_UC\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INVALID\_AZURE\_PATH

SQLSTATE: none assigned

`<dsError>`: Invalid Azure path: `<path>`.

### DS\_INVALID\_DELTA\_ACTION\_OPERATION

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INVALID\_FIELD

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INVALID\_ITERATOR\_OPERATION

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INVALID\_PAGE\_TOKEN

SQLSTATE: none assigned

`<dsError>`: Invalid page token provided for `<rpcName>`. Please retry without a page token to start from the beginning.

### DS\_INVALID\_PARAMETER\_VALUE

SQLSTATE: none assigned

`<dsError>`: Invalid parameter for `<rpcName>` due to `<cause>`.

### DS\_INVALID\_PARTITION\_SPEC

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INVALID\_RESPONSE\_FROM\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_INVALID\_SUBSET\_SPEC

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<dsError>`: `<message>`

### DS\_MANAGED\_STORAGE\_AUXILIARY\_ROOT\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<dsError>`: Cannot share table type `<tableType>` because absolute paths to Databricks managed storage (Arclight) are not supported.

### DS\_MATERIALIZATION\_PENDING

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

`<dsError>`: The materialization for this shared table is still being prepared. Retry the request.

### DS\_MATERIALIZATION\_QUERY\_FAILED

SQLSTATE: none assigned

`<dsError>`: Query failed for `<schema>`.`<table>` from Share `<share>`. `<reason>`

### DS\_MATERIALIZATION\_QUERY\_FAILED\_BAD\_WORKSPACE

SQLSTATE: none assigned

`<dsError>`: The provider workspace used to run the materialization no longer works. Please retry the request in a bit, a different workspace will be selected automatically.

### DS\_MATERIALIZATION\_QUERY\_TIMEDOUT

SQLSTATE: none assigned

`<dsError>`: Query timed out for `<schema>`.`<table>` from Share `<share>` after `<timeoutInSec>` seconds. The shared asset is too large to materialize in `<timeoutInSec>` seconds. Try querying the shared asset again to see if materialization job completed! If the issue persists, contact Databricks support to discuss usage of different compute options to read the large shared asset.

### DS\_MIGRATED\_MANAGEMENT\_API\_CALLED

SQLSTATE: none assigned

`<dsError>`: The UC RPC `<rpcName>` failed.

### DS\_MISSING\_IDEMPOTENCY\_KEY

SQLSTATE: none assigned

`<dsError>`: Idempotency key is require when query `<schema>`.`<table>` from Share `<share>` asynchronously.

### DS\_MISSING\_SERVERLESS\_BUDGET\_POLICY

SQLSTATE: none assigned

`<dsError>`: The operation uses serverless on provider's Databricks, but the share is missing a serverless budget policy. Please contact data provider to add a serverless budget policy to share.

### DS\_MORE\_THAN\_ONE\_RPC\_PARAMETER\_SET

SQLSTATE: none assigned

`<dsError>`: Please only provide one of: `<parameters>`.

### DS\_NETWORK\_CONNECTION\_CLOSED

SQLSTATE: none assigned

`<dsError>`: Network connection closed for `<rpcName>` due to `<errorCause>`, please retry.`<traceId>`

### DS\_NETWORK\_CONNECTION\_TIMEOUT

SQLSTATE: none assigned

`<dsError>`: Network connection timeout for `<rpcName>` due to `<errorCause>`, please retry.`<traceId>`

### DS\_NETWORK\_ERROR

SQLSTATE: none assigned

`<dsError>`: Network error for `<rpcName>` due to `<errorCause>`, please retry.`<traceId>`

### DS\_NO\_METASTORE\_ASSIGNED

SQLSTATE: none assigned

`<dsError>`: No metastore assigned for the current workspace (workspaceId: `<workspaceId>`).

### DS\_O2D\_OIDC\_WORKLOAD\_IDENTITY\_TOKEN\_GENERATION\_FAILED

SQLSTATE: none assigned

`<dsError>`: Generating workload identity token for O2D OIDC provider failed: `<message>`.

### DS\_PAGINATION\_AND\_QUERY\_ARGS\_MISMATCH

SQLSTATE: none assigned

`<dsError>`: Pagination or query arguments mismatch.

### DS\_PARTITION\_COLUMNS\_RENAMED

SQLSTATE: none assigned

`<dsError>`: Partition column \[`<renamedColumns>`] renamed on the shared table. Please contact your data provider to fix this.

### DS\_PROVIDER\_ATTRIBUTE\_MISSING

SQLSTATE: none assigned

`<dsError>`: provider proprietary attributes missing required '`<fieldName>`' field.

### DS\_QUERY\_BEFORE\_START\_VERSION

SQLSTATE: none assigned

`<dsError>`: You can only query table data since version `<startVersion>`.

### DS\_QUERY\_DEADLINE\_EXCEEDED

SQLSTATE: none assigned

`<dsError>`: Deadline exceeded when processing streaming query `<queryType>` on `<tableName>` after `<numActions>` actions.`<traceId>`

### DS\_QUERY\_END\_VERSION\_AFTER\_LATEST\_VERSION

SQLSTATE: none assigned

`<dsError>`: Provided end version(`<endVersion>`) for reading data is invalid. Ending version cannot be greater than the latest version of the table(`<latestVersion>`).

### DS\_QUERY\_START\_VERSION\_AFTER\_LATEST\_VERSION

SQLSTATE: none assigned

`<dsError>`: Provided start version(`<startVersion>`) for reading data is invalid. Starting version cannot be greater than the latest version of the table(`<latestVersion>`).

### DS\_QUERY\_TIMEOUT\_ON\_SERVER

SQLSTATE: none assigned

`<dsError>`: A timeout occurred when processing `<queryType>` on `<tableName>` after `<numActions>` updates.`<progressUpdate> <suggestion> <traceId>`

### DS\_RATE\_LIMIT\_ON\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_RECIPIENT\_AUTH\_TYPE\_MISSING

SQLSTATE: none assigned

`<dsError>`: Recipient authentication type is missing for table `<tableName>`.

### DS\_RECIPIENT\_RPC\_INVALID\_PARAMETER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_RECON\_FAILED\_ON\_UC\_WRITE\_RPC

SQLSTATE: none assigned

`<dsError>`: UC RPC `<rpcName>` failed, converting to `INTERNAL_ERROR`.

### DS\_RECON\_UPDATE\_VTT\_REQUEST\_LIMIT\_EXCEEDED

[SQLSTATE: 53300](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

`<dsError>`: The reconciliation UpdateVTT request exceeded the UC rate limit.

### DS\_RESOURCE\_ALREADY\_EXIST\_ON\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_RESOURCE\_EXHAUSTED

SQLSTATE: none assigned

`<dsError>`: The `<resource>` exceeded limit: \[`<limitSize>`]`<suggestion>`.`<traceId>`

### DS\_RESOURCE\_NOT\_FOUND\_ON\_DS\_SERVER

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_SCHEMA\_NAME\_CONFLICT\_FOUND

SQLSTATE: none assigned

`<dsError>`: Catalog `<catalogName>` already contains schema names that are found in share `<shareName>`. `<description>` of conflicting schema names: `<schemaNamesInCommon>`.

### DS\_SECURE\_CONNECT\_AUXILIARY\_ROOT\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<dsError>`: Cannot share table type `<tableType>` with Secure Connect enabled.

### DS\_SERVER\_TIMEOUT

SQLSTATE: none assigned

`<dsError>`: Server timeout for `<rpcName>` due to `<errorCause>`, please retry.`<traceId>`

### DS\_SERVICE\_DENIED

SQLSTATE: none assigned

`<dsError>`: The request was denied as the service is under too much load. Please try again later after a while.

### DS\_SHALLOW\_CLONE\_BASE\_TABLE\_DELETED

[SQLSTATE: 42S02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<dsError>`: Cannot access shallow clone '`<sharedAsName>`' because its base table has been deleted.

### DS\_SHALLOW\_CLONE\_BASE\_TABLE\_UNSUPPORTED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<dsError>`: Cannot share shallow clone '`<sharedAsName>`' because its base table has an unsupported type '`<baseTableKind>`'.

Only shallow clones on top of managed Delta and managed Apache Iceberg tables can be shared.

### DS\_SHARE\_ALREADY\_MOUNTED\_TO\_CATALOG

SQLSTATE: none assigned

`<dsError>`: Share `<shareName>` from provider `<providerName>` is already mounted to catalog `<catalogName>`.

### DS\_SYSTEM\_WORKSPACE\_GROUP\_PERMISSION\_UNSUPPORTED

SQLSTATE: none assigned

Cannot grant privileges on `<securableType>` to system generated group `<principal>`.

### DS\_TABLE\_METADATA\_TEMPORARILY\_UNAVAILABLE

SQLSTATE: none assigned

`<dsError>`: Table metadata is not available. Please try again in a few moments.

### DS\_TIME\_TRAVEL\_NOT\_PERMITTED

SQLSTATE: none assigned

`<dsError>`: Time travel query is not permitted unless history is shared on `<tableName>`. Please contact your data provider.

### DS\_UNAUTHORIZED

SQLSTATE: none assigned

`<dsError>`: Unauthorized.

### DS\_UNAUTHORIZED\_D2O\_OIDC\_RECIPIENT

SQLSTATE: none assigned

`<dsError>`: Unauthorized D2O OIDC Recipient: `<message>`.

### DS\_UNKNOWN\_EXCEPTION

SQLSTATE: none assigned

`<dsError>`: `<traceId>`

### DS\_UNKNOWN\_QUERY\_ID

SQLSTATE: none assigned

`<dsError>`: Unknown query id `<queryID>` for `<schema>`.`<table>` from Share `<share>`.

### DS\_UNKNOWN\_QUERY\_STATUS

SQLSTATE: none assigned

`<dsError>`: Unknown query status for query id `<queryID>` for `<schema>`.`<table>` from Share `<share>`.

### DS\_UNKNOWN\_RPC

SQLSTATE: none assigned

`<dsError>`: Unknown rpc `<rpcName>`.

### DS\_UNSUPPORTED\_DBR\_VERSION

SQLSTATE: none assigned

`<dsError>`: `<productName>` is not supported on DBR `<dbrVersion>`. The minimum supported versions are: `<supportedVersions>`.

### DS\_UNSUPPORTED\_DELTA\_READER\_VERSION

SQLSTATE: none assigned

`<dsError>`: Delta protocol reader version `<tableReaderVersion>` is higher than `<supportedReaderVersion>` and cannot be supported.

### DS\_UNSUPPORTED\_DELTA\_TABLE\_FEATURES

SQLSTATE: none assigned

`<dsError>`: Table features `<tableFeatures>` are found in table`<versionStr> <historySharingStatusStr> <optionStr>`

### DS\_UNSUPPORTED\_OPERATION

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_UNSUPPORTED\_STORAGE\_SCHEME

SQLSTATE: none assigned

`<dsError>`: Unsupported storage scheme: `<scheme>`.

### DS\_UNSUPPORTED\_TABLE\_TYPE

SQLSTATE: none assigned

`<dsError>`: Could not retrieve `<schema>`.`<table>` from Share `<share>` because table with type \[`<tableType>`] is currently unsupported in `<queryType>` queries.

### DS\_UNSUPPORTED\_TABLE\_TYPE\_IN\_MST

SQLSTATE: none assigned

`<dsError>`: Querying table type \[`<tableType>`] is not supported in multi-statement transaction (MST) query.

### DS\_USER\_CONTEXT\_ERROR

SQLSTATE: none assigned

`<dsError>`: `<message>`

### DS\_VIEW\_SHARING\_FUNCTIONS\_NOT\_ALLOWED

SQLSTATE: none assigned

`<dsError>`: The following function(s): `<functions>` are not allowed in the view sharing query.

### DS\_WORKSPACE\_DOMAIN\_NOT\_SET

SQLSTATE: none assigned

`<dsError>`: Workspace `<workspaceId>` domain is not set.

### DS\_WORKSPACE\_NOT\_FOUND

SQLSTATE: none assigned

`<dsError>`: Workspace `<workspaceId>` was not found.

## Autoloader

### CF\_ADD\_NEW\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Schema evolution mode `<addNewColumnsMode>` is not supported when the schema is specified. To use this mode, you can provide the schema through `cloudFiles.schemaHints` instead.

### CF\_AMBIGUOUS\_AUTH\_OPTIONS\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found notification-setup authentication options for the (default) directory

listing mode:

`<options>`

If you wish to use the file notification mode, please explicitly set:

.option("cloudFiles.`<useNotificationsKey>`", "true")

Alternatively, if you want to skip the validation of your options and ignore these

authentication options, you can set:

.option("cloudFiles.ValidateOptionsKey>", "false")

### CF\_AMBIGUOUS\_INCREMENTAL\_LISTING\_MODE\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Incremental listing mode (cloudFiles.`<useIncrementalListingKey>`)

and file notification (cloudFiles.`<useNotificationsKey>`)

have been enabled at the same time.

Please make sure that you select only one.

### CF\_AZURE\_AUTHENTICATION\_MISSING\_OPTIONS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please provide either a Databricks service credential or both a clientId and clientSecret for authenticating with Azure.

### CF\_AZURE\_AUTHENTICATION\_MULTIPLE\_OPTIONS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

When a Databricks service credential is provided, no other credential options (for example, clientId, clientSecret, or connectionString) should be provided.

### CF\_AZURE\_STORAGE\_SUFFIXES\_REQUIRED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Require adlsBlobSuffix and adlsDfsSuffix for Azure

### CF\_BUCKET\_MISMATCH

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The `<storeType>` in the file event `<fileEvent>` is different from expected by the source: `<source>`.

### CF\_CANNOT\_EVOLVE\_SCHEMA\_LOG\_EMPTY

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot evolve schema when the schema log is empty. Schema log location: `<logPath>`

### CF\_CANNOT\_PARSE\_QUEUE\_MESSAGE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot parse the following queue message: `<message>`

### CF\_CANNOT\_RESOLVE\_CONTAINER\_NAME

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot resolve container name from path: `<path>`, Resolved uri: `<uri>`

### CF\_CANNOT\_RUN\_DIRECTORY\_LISTING

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot run directory listing when there is an async backfill thread running

### CF\_CHANGE\_FEED\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The change feed resource at '`<uri>`' was not found. Ensure the drive or folder exists and the connector has access to it.

### CF\_CHANGE\_FEED\_PERMISSION\_DENIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Access to the change feed at '`<uri>`' was denied. Please ensure the connector credentials have the required read permissions.

### CF\_CHANGE\_FEED\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

The change feed API rate limit has been exceeded for '`<uri>`'. Please retry after some time, or reduce the number of concurrent streams.

### CF\_CLEAN\_SOURCE\_ALLOW\_OVERWRITES\_BOTH\_ON

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot turn on cloudFiles.cleanSource and cloudFiles.allowOverwrites at the same time.

### CF\_CLEAN\_SOURCE\_CANNOT\_MOVE\_FILES\_INSIDE\_SOURCE\_PATH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Moving files to a directory under the path that is being ingested from is not supported.

### CF\_CLEAN\_SOURCE\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

CleanSource has not been enabled for this workspace. Please contact Databricks support for assistance.

### CF\_CLEAN\_SOURCE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

CleanSource is not supported for `<op>`.

### [CF\_CLEAN\_SOURCE\_UNAUTHORIZED\_WRITE\_PERMISSION](https://docs.databricks.com/gcp/en/error-messages/cf-clean-source-unauthorized-write-permission-error-class.md)

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Loader cannot archive processed files because it does not have write permissions to the source directory or the move destination.

For more details see [CF\_CLEAN\_SOURCE\_UNAUTHORIZED\_WRITE\_PERMISSION](https://docs.databricks.com/gcp/en/error-messages/cf-clean-source-unauthorized-write-permission-error-class.md)

### CF\_DELTA\_JOURNAL\_CDF\_NOT\_ENABLED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Delta change-feed source requires CDF to be enabled on `<tableDescription>`.

### CF\_DELTA\_JOURNAL\_INVALID\_COLUMN\_TYPE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<columnName>` column must be `<expectedType>`, got `<actualType>`.`<hint>`

### CF\_DELTA\_JOURNAL\_INVALID\_VERSION\_TOKEN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid Delta change-feed `<field>`: expected a numeric version, got '`<token>`'.

### CF\_DELTA\_JOURNAL\_MISSING\_REQUIRED\_COLUMNS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Delta change-feed source is missing required columns: `<missingColumns>`. Expected columns include: `<requiredColumns>`.

### CF\_DELTA\_JOURNAL\_NULL\_RECORD\_TYPE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The record\_type column is required but was null.

### CF\_DELTA\_JOURNAL\_UNKNOWN\_RECORD\_TYPE

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unknown record\_type code `<raw>`. Expected one of: `<expectedCodes>`.

### CF\_DELTA\_JOURNAL\_URI\_MISMATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Delta change-feed client is bound to URI '`<boundUri>`', but got '`<actualUri>`'.

### CF\_DUPLICATE\_COLUMN\_IN\_DATA

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

There was an error when trying to infer the partition schema of your table. You have the same column duplicated in your data and partition paths. To ignore the partition value, please provide your partition columns explicitly by using: .option("cloudFiles.`<partitionColumnsKey>`", "\{comma-separated-list}")

### CF\_EMPTY\_DIR\_FOR\_SCHEMA\_INFERENCE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot infer schema when the input path `<path>` is empty. Please try to start the stream when there are files in the input path, or specify the schema.

### CF\_EVENT\_GRID\_AUTH\_ERROR

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to create an Event Grid subscription. Please make sure that your service

principal has `<permissionType>` Event Grid Subscriptions. See more details at:

`<docLink>`

### CF\_EVENT\_GRID\_CREATION\_FAILED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to create event grid subscription. Please ensure that Microsoft.EventGrid is

registered as resource provider in your subscription. See more details at:

`<docLink>`

### CF\_EVENT\_GRID\_NOT\_FOUND\_ERROR

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to create an Event Grid subscription. Please make sure that your storage

account (`<storageAccount>`) is under your resource group (`<resourceGroup>`) and that

the storage account is a "StorageV2 (general purpose v2)" account. See more details at:

`<docLink>`

### CF\_EVENT\_NOTIFICATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Auto Loader event notification mode is not supported for `<cloudStore>`.

### [CF\_EVENT\_NOTIFICATION\_SETUP\_FAILED](https://docs.databricks.com/gcp/en/error-messages/cf-event-notification-setup-failed-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to set up file notification resources for Auto Loader.

For more details see [CF\_EVENT\_NOTIFICATION\_SETUP\_FAILED](https://docs.databricks.com/gcp/en/error-messages/cf-event-notification-setup-failed-error-class.md)

### CF\_FAILED\_TO\_CHECK\_STREAM\_NEW

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to check if the stream is new

### CF\_FAILED\_TO\_CREATED\_PUBSUB\_SUBSCRIPTION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to create subscription: `<subscriptionName>`. A subscription with the same name already exists and is associated with another topic: `<otherTopicName>`. The desired topic is `<proposedTopicName>`. Either delete the existing subscription or create a subscription with a new resource suffix.

### CF\_FAILED\_TO\_CREATED\_PUBSUB\_TOPIC

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to create topic: `<topicName>`. A topic with the same name already exists.`<reason>` Remove the existing topic or try again with another resource suffix

### CF\_FAILED\_TO\_DELETE\_GCP\_NOTIFICATION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to delete notification with id `<notificationId>` on bucket `<bucketName>` for topic `<topicName>`. Please retry or manually remove the notification through the GCP console.

### CF\_FAILED\_TO\_DESERIALIZE\_PERSISTED\_SCHEMA

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to deserialize persisted schema from string: '`<jsonSchema>`'

### CF\_FAILED\_TO\_EVOLVE\_SCHEMA

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot evolve schema without a schema log.

### CF\_FAILED\_TO\_FIND\_PROVIDER

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to find provider for `<fileFormatInput>`

### [CF\_FAILED\_TO\_INFER\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/cf-failed-to-infer-schema-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to infer schema for format `<fileFormatInput>` from existing files in input path `<path>`.

For more details see [CF\_FAILED\_TO\_INFER\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/cf-failed-to-infer-schema-error-class.md)

### CF\_FAILED\_TO\_WRITE\_TO\_SCHEMA\_LOG

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to write to the schema log at location `<path>`.

### CF\_FGAC\_VOLUME\_MODE\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are using Auto Loader with a file discovery mode that is not supported for volume '`<path>`' because you only have partial access to this volume. Only directory listing mode is supported. Please set cloudFiles.useNotifications to false and cloudFiles.useManagedFileEvents to false.

### CF\_FILE\_FORMAT\_REQUIRED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find required option: cloudFiles.format.

### CF\_FOUND\_MULTIPLE\_AUTOLOADER\_PUBSUB\_SUBSCRIPTIONS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found multiple (`<num>`) subscriptions with the Auto Loader prefix for topic `<topicName>`:

`<subscriptionList>`

There should only be one subscription per topic. Please manually ensure that your topic does not have multiple subscriptions.

### CF\_GCP\_AUTHENTICATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please either provide all of the following: `<clientEmail>, <client>`,

`<privateKey>`, and `<privateKeyId>` or provide `<serviceCredential>` to use your Databricks service credential.

Alternatively, provide none of them in order to use the default GCP credential provider chain for authenticating with GCP resources.

### CF\_GCP\_LABELS\_COUNT\_EXCEEDED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Received too many labels (`<num>`) for GCP resource. The maximum label count per resource is `<maxNum>`.

### CF\_GCP\_RESOURCE\_TAGS\_COUNT\_EXCEEDED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Received too many resource tags (`<num>`) for GCP resource. The maximum resource tag count per resource is `<maxNum>`, as resource tags are stored as GCP labels on resources, and Databricks specific tags consume some of this label quota.

### CF\_GDRIVE\_CHANGE\_FEED\_SUBFOLDER\_NOT\_SUPPORTED

[SQLSTATE: 42KDB](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Google Drive change feed requires a drive root path, but received a subfolder path (fileId=`<fileId>`).

The Google Drive Changes API operates at the drive level and cannot be scoped to a subfolder.

Use the drive root URL instead.

### CF\_INCOMPLETE\_LOG\_FILE\_IN\_SCHEMA\_LOG

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Incomplete log file in the schema log at path `<path>`

### CF\_INCOMPLETE\_METADATA\_FILE\_IN\_CHECKPOINT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Incomplete metadata file in the Auto Loader checkpoint

### CF\_INCORRECT\_BATCH\_USAGE

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

CloudFiles is a streaming source. Please use spark.readStream instead of spark.read. To disable this check, set `<cloudFilesFormatValidationEnabled>` to false.

### CF\_INCORRECT\_SQL\_PARAMS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The cloud\_files method accepts two required string parameters: the path to load from, and the file format. File reader options must be provided in a string key-value map. for example, cloud\_files("path", "json", map("option1", "value1")). Received: `<params>`

### CF\_INCORRECT\_STREAM\_USAGE

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

To use 'cloudFiles' as a streaming source, please provide the file format with the option 'cloudFiles.format', and use .load() to create your DataFrame. To disable this check, set `<cloudFilesFormatValidationEnabled>` to false.

### [CF\_INTERNAL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/cf-internal-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Loader encountered an internal error. Please contact Databricks support for assistance.

For more details see [CF\_INTERNAL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/cf-internal-error-error-class.md)

### CF\_INVALID\_ARN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid ARN: `<arn>`

### CF\_INVALID\_AZURE\_CERTIFICATE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The private key provided with option cloudFiles.certificate cannot be parsed. Please provide a valid public key in PEM format.

### CF\_INVALID\_AZURE\_CERT\_PRIVATE\_KEY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The private key provided with option cloudFiles.certificatePrivateKey cannot be parsed. Please provide a valid private key in PEM format.

### [CF\_INVALID\_CHANGE\_FEED\_RESPONSE](https://docs.databricks.com/gcp/en/error-messages/cf-invalid-change-feed-response-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid response from change feed service. Please contact Databricks support for assistance.

For more details see [CF\_INVALID\_CHANGE\_FEED\_RESPONSE](https://docs.databricks.com/gcp/en/error-messages/cf-invalid-change-feed-response-error-class.md)

### CF\_INVALID\_CHECKPOINT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

This checkpoint is not a valid CloudFiles source

### CF\_INVALID\_CLEAN\_SOURCE\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid mode for clean source option `<value>`.

### CF\_INVALID\_GCP\_RESOURCE\_TAG\_KEY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid resource tag key for GCP resource: `<key>`. Keys must start with a lowercase letter, be within 1 to 63 characters long, and contain only lowercase letters, numbers, underscores (\_), and hyphens (-).

### CF\_INVALID\_GCP\_RESOURCE\_TAG\_VALUE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid resource tag value for GCP resource: `<value>`. Values must be within 0 to 63 characters long and must contain only lowercase letters, numbers, underscores (\_), and hyphens (-).

### CF\_INVALID\_MANAGED\_FILE\_EVENTS\_OPTION\_KEYS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Loader does not support the following options when used with managed file events:

`<optionList>`

We recommend that you remove these options and then restart the stream.

### [CF\_INVALID\_MANAGED\_FILE\_EVENTS\_RESPONSE](https://docs.databricks.com/gcp/en/error-messages/cf-invalid-managed-file-events-response-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid response from managed file events service. Please contact Databricks support for assistance.

For more details see [CF\_INVALID\_MANAGED\_FILE\_EVENTS\_RESPONSE](https://docs.databricks.com/gcp/en/error-messages/cf-invalid-managed-file-events-response-error-class.md)

### CF\_INVALID\_SCHEMA\_EVOLUTION\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

cloudFiles.`<schemaEvolutionModeKey>` must be one of \{

"`<addNewColumnsWithTypeWidening>`"

"`<addNewColumns>`"

"`<failOnNewColumns>`"

"`<rescue>`"

"`<noEvolution>`"}

### CF\_INVALID\_SCHEMA\_HINTS\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema hints can only specify a particular column once.

In this case, redefining column: `<columnName>`

multiple times in schemaHints:

`<schemaHints>`

### CF\_INVALID\_SCHEMA\_HINT\_COLUMN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema hints can not be used to override maps' and arrays' nested types.

Conflicted column: `<columnName>`

### CF\_INVENTORY\_MANIFEST\_MISSING\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The S3 inventory report is missing required columns: `<missingColumns>`. Ensure the inventory configuration includes the `OBJECT_METADATA` fields Bucket, Key, Size, and LastModifiedDate.

### CF\_INVENTORY\_MANIFEST\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No S3 inventory manifest.json was found under inventory root '`<inventoryRoot>`' for source bucket '`<bucket>`'`<configHint>`. Ensure an inventory report has been generated and that the inventory destination is configured correctly.

### CF\_INVENTORY\_MANIFEST\_NO\_DATA\_FILES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The S3 inventory manifest at '`<manifestPath>`' lists no Parquet data files to ingest.

### CF\_INVENTORY\_MANIFEST\_UNSUPPORTED\_FILE\_FORMAT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The S3 inventory manifest at '`<manifestPath>`' uses file format '`<fileFormat>`' but Auto Loader only supports Parquet. Update the inventory configuration to output Parquet.

### CF\_LATEST\_OFFSET\_READ\_LIMIT\_REQUIRED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

latestOffset should be called with a ReadLimit on this source.

### CF\_LOG\_FILE\_MALFORMED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Log file was malformed: failed to read correct log version from `<fileName>`.

### CF\_MANAGED\_FILE\_EVENTS\_BACKFILL\_IN\_PROGRESS

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

You have requested Auto Loader to ignore existing files in your external location by setting includeExistingFiles to false. However, the managed file events service is still discovering existing files in your external location. Please try again after managed file events has completed discovering all files in your external location.

### CF\_MANAGED\_FILE\_EVENTS\_ENDPOINT\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are using Auto Loader with managed file events, but it appears that the external location for your input path '`<path>`' does not have file events enabled or the input path is invalid. Please request your Databricks Administrator to enable file events on the external location for your input path.

### CF\_MANAGED\_FILE\_EVENTS\_ENDPOINT\_PERMISSION\_DENIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are using Auto Loader with managed file events, but you do not have access to the external location or volume for input path '`<path>`' or the input path is invalid. Please request your Databricks Administrator to grant read permissions for the external location or volume or provide a valid input path within an existing external location or volume.

### CF\_MANAGED\_FILE\_EVENTS\_INVALID\_CONTINUATION\_TOKEN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Your stream's read position in the file events cache for path '`<path>`' has been invalidated. This could happen because the file events configuration was updated (for example, the provided queue url was changed, or file events was disabled and re-enabled). Please contact Databricks support for assistance.

Error: `<underlyingError>`

### CF\_MANAGED\_FILE\_EVENTS\_IS\_PREVIEW

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Auto Loader with managed file events is preview functionality. To continue, please contact Databricks Support or turn off the cloudFiles.useManagedFileEvents option.

### CF\_MANAGED\_FILE\_EVENTS\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Too many concurrent Auto Loader streams are running. To resolve, reduce stream concurrency if possible, or create separate volumes for each subdirectory when loading from multiple subdirectories in an external location. Contact your Databricks representative if the issue persists.

### CF\_MAX\_MUST\_BE\_POSITIVE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

max must be positive

### CF\_METADATA\_FILE\_CONCURRENTLY\_USED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Multiple streaming queries are concurrently using `<metadataFile>`

### CF\_MISSING\_METADATA\_FILE\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The metadata file in the streaming source checkpoint directory is missing. This metadata

file contains important default options for the stream, so the stream cannot be restarted

right now. Please contact Databricks support for assistance.

### CF\_MISSING\_PARTITION\_COLUMN\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Partition column `<columnName>` does not exist in the provided schema:

`<schema>`

### CF\_MISSING\_SCHEMA\_IN\_PATHLESS\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please specify a schema using .schema() if a path is not provided to the CloudFiles source while using file notification mode. Alternatively, to have Auto Loader to infer the schema please provide a base path in .load().

### CF\_MULTIPLE\_PUBSUB\_NOTIFICATIONS\_FOR\_TOPIC

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found existing notifications for topic `<topicName>` on bucket `<bucketName>`:

notification,id

`<notificationList>`

To avoid polluting the subscriber with unintended events, please delete the above notifications and retry.

### CF\_NEW\_PARTITION\_ERROR

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

New partition columns were inferred from your files: \[`<filesList>`]. Please provide all partition columns in your schema or provide a list of partition columns which you would like to extract values for by using: .option("cloudFiles.partitionColumns", "\{comma-separated-list|empty-string}")

### CF\_PARTITON\_INFERENCE\_ERROR

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

There was an error when trying to infer the partition schema of the current batch of files. Please provide your partition columns explicitly by using: .option("cloudFiles.`<partitionColumnOption>`", "\{comma-separated-list}")

### CF\_PATH\_DOES\_NOT\_EXIST\_FOR\_READ\_FILES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot read files when the input path `<path>` does not exist. Please make sure the input path exists and re-try.

### CF\_PERIODIC\_BACKFILL\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Periodic backfill is not supported if asynchronous backfill is disabled. You can enable asynchronous backfill/directory listing by setting `spark.databricks.cloudFiles.asyncDirListing` to true

### CF\_PREFERS\_DECIMAL\_FALSE\_WITH\_TYPE\_WIDENING\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

prefersDecimal cannot be set to false when type widening is enabled.

### CF\_PREFIX\_MISMATCH

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found mismatched event: key `<key>` doesn't have the prefix: `<prefix>`

### CF\_PROTOCOL\_MISMATCH

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<message>`

If you don't need to make any other changes to your code, then please set the SQL

configuration: '`<sourceProtocolVersionKey> = <value>`'

to resume your stream. Please refer to:

`<docLink>`

for more details.

### [CF\_READ\_CHANGE\_FEED\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/cf-read-change-feed-unsupported-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

cloudFiles.readChangeFeed is not supported in this configuration.

For more details see [CF\_READ\_CHANGE\_FEED\_UNSUPPORTED](https://docs.databricks.com/gcp/en/error-messages/cf-read-change-feed-unsupported-error-class.md)

### CF\_REGION\_NOT\_FOUND\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not get default AWS Region. Please specify a region using the cloudFiles.region option.

### CF\_RESOURCE\_SUFFIX\_EMPTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create notification services: the resource suffix cannot be empty.

### CF\_RESOURCE\_SUFFIX\_INVALID\_CHAR\_AWS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create notification services: the resource suffix can only have alphanumeric characters, hyphens (-) and underscores (\_).

### CF\_RESOURCE\_SUFFIX\_INVALID\_CHAR\_AZURE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create notification services: the resource suffix can only have lowercase letter, number, and dash (-).

### CF\_RESOURCE\_SUFFIX\_INVALID\_CHAR\_GCP

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create notification services: the resource suffix can only have alphanumeric characters, hyphens (-), underscores (\_), periods (.), tildes (\~) plus signs (+), and percent signs (`<percentSign>`).

### CF\_RESOURCE\_SUFFIX\_LIMIT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create notification services: the resource suffix cannot have more than `<limit>` characters.

### CF\_RESOURCE\_SUFFIX\_LIMIT\_GCP

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create notification services: the resource suffix must be between `<lowerLimit>` and `<upperLimit>` characters.

### CF\_RESTRICTED\_GCP\_RESOURCE\_TAG\_KEY

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Found restricted GCP resource tag key (`<key>`). The following GCP resource tag keys are restricted for Auto Loader: \[`<restrictedKeys>`]

### CF\_RETENTION\_GREATER\_THAN\_MAX\_FILE\_AGE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

cloudFiles.cleanSource.retentionDuration cannot be greater than cloudFiles.maxFileAge.

### CF\_ROCKSDB\_ASYNC\_CLEANUP\_FAILED

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

RocksDB asynchronous file cleanup failed. Stream execution will continue and the cleanup will be retried on a later micro-batch. If this error persists, contact Databricks support.

### CF\_ROCKSDB\_SYNC\_CLEANUP\_FAILED

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

RocksDB synchronous file cleanup failed. Restart the stream. If this error persists, contact Databricks support.

### CF\_SAME\_PUB\_SUB\_TOPIC\_NEW\_KEY\_PREFIX

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to create notification for topic: `<topic>` with prefix: `<prefix>`. There is already a topic with the same name with another prefix: `<oldPrefix>`. Try using a different resource suffix for setup or delete the existing setup.

### CF\_SCHEMA\_LOG\_DEEP\_CLONE\_FAILED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to clone and migrate any schema log entries from the source schema log.

### CF\_SFTP\_MISSING\_PASSWORD\_OR\_KEY\_FILE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Either password or key file must be specified for SFTP.

Please specify the password in the source uri or via `<passwordOption>`, or specify the key file content via `<keyFileOption>`.

### CF\_SFTP\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Accessing SFTP files is not enabled. Please contact Databricks support for assistance.

### CF\_SFTP\_REQUIRE\_FULL\_PATH

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Specify the full path components for an SFTP source in the form of sftp\://$user@$host:$port/$path to ensure accurate UC connection look up.

### CF\_SFTP\_REQUIRE\_UC\_CLUSTER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

An UC-enabled cluster is required to access SFTP files. Please contact Databricks support for assistance.

### CF\_SFTP\_USERNAME\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Username must be specified for SFTP.

Please provide the username in the source uri or via `<option>`.

### CF\_SOURCE\_DIRECTORY\_PATH\_REQUIRED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please provide the source directory path with option `path`

### CF\_SOURCE\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The cloud files source only supports S3, Azure Blob Storage (wasb/wasbs) and Azure Data Lake Gen1 (adl) and Gen2 (abfs/abfss) paths right now. path: '`<path>`', resolved uri: '`<uri>`'

### CF\_STATE\_INCORRECT\_SQL\_PARAMS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The cloud\_files\_state function accepts a string parameter representing the checkpoint directory of a cloudFiles stream or a multi-part tableName identifying a streaming table, and an optional second integer parameter representing the checkpoint version to load state for. The second parameter may also be 'latest' to read the latest checkpoint. Received: `<params>`

### CF\_STATE\_INVALID\_CHECKPOINT\_PATH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The input checkpoint path `<path>` is invalid. Either the path does not exist or there are no cloud\_files sources found.

### CF\_STATE\_INVALID\_VERSION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The specified version `<version>` does not exist, or was removed during analysis.

### CF\_THREAD\_IS\_DEAD

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<threadName>` thread is dead.

### [CF\_TIME\_TRAVEL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/cf-time-travel-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error occurred during time travel operation.

For more details see [CF\_TIME\_TRAVEL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/cf-time-travel-error-error-class.md)

### CF\_UNABLE\_TO\_DERIVE\_STREAM\_CHECKPOINT\_LOCATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to derive the stream checkpoint location from the source checkpoint location: `<checkPointLocation>`

### CF\_UNABLE\_TO\_DETECT\_FILE\_FORMAT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to detect the source file format from `<fileSize>` sampled file(s), found `<formats>`. Please specify the format.

### CF\_UNABLE\_TO\_EXTRACT\_BUCKET\_INFO

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to extract bucket information. Path: '`<path>`', resolved uri: '`<uri>`'.

### CF\_UNABLE\_TO\_EXTRACT\_KEY\_INFO

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to extract key information. Path: '`<path>`', resolved uri: '`<uri>`'.

### CF\_UNABLE\_TO\_EXTRACT\_STORAGE\_ACCOUNT\_INFO

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to extract storage account information; path: '`<path>`', resolved uri: '`<uri>`'

### CF\_UNABLE\_TO\_LIST\_EFFICIENTLY

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Received a directory rename event for the path `<path>`, but we are unable to list this directory efficiently. In order for the stream to continue, set the option 'cloudFiles.ignoreDirRenames' to true, and consider enabling regular backfills with cloudFiles.backfillInterval for this data to be processed.

### CF\_UNEXPECTED\_READ\_LIMIT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unexpected ReadLimit: `<readLimit>`

### CF\_UNKNOWN\_OPTION\_KEYS\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found unknown option keys:

`<optionList>`

Please make sure that all provided option keys are correct. If you want to skip the

validation of your options and ignore these unknown options, you can set:

.option("cloudFiles.`<validateOptions>`", "false")

### CF\_UNKNOWN\_READ\_LIMIT

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unknown ReadLimit: `<readLimit>`

### [CF\_UNSUPPORTED\_CLEAN\_SOURCE\_MOVE](https://docs.databricks.com/gcp/en/error-messages/cf-unsupported-clean-source-move-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

cleanSource 'move' mode configuration unsupported.

For more details see [CF\_UNSUPPORTED\_CLEAN\_SOURCE\_MOVE](https://docs.databricks.com/gcp/en/error-messages/cf-unsupported-clean-source-move-error-class.md)

### CF\_UNSUPPORTED\_CLOUD\_FILES\_SQL\_FUNCTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The SQL function 'cloud\_files' to create an Auto Loader streaming source is supported only in a Spark Declarative Pipelines on Lakeflow pipeline. See more details at:

`<docLink>`

### CF\_UNSUPPORTED\_FORMAT\_FOR\_SCHEMA\_INFERENCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Schema inference is not supported for format: `<format>`. Please specify the schema.

### CF\_UNSUPPORTED\_LOG\_VERSION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

UnsupportedLogVersion: maximum supported log version is v`<maxVersion>`, but encountered v`<version>`. The log file was produced by a newer version of DBR and cannot be read by this version. Please upgrade.

### CF\_UNSUPPORTED\_SCHEMA\_EVOLUTION\_MODE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Schema evolution mode `<mode>` is not supported for format: `<format>`. Please set the schema evolution mode to 'none'.

### CF\_USE\_DELTA\_FORMAT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Reading from a Delta table is not supported with this syntax. If you would like to consume data from Delta, please refer to the docs: read a Delta table (`<deltaDocLink>`), or read a Delta table as a stream source (`<streamDeltaDocLink>`). The streaming source from Delta is already optimized for incremental consumption of data.

## Geospatial

### [EWKB\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ewkb-parse-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing EWKB: `<parseError>` at position `<pos>`

For more details see [EWKB\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ewkb-parse-error-error-class.md)

### [EWKT\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ewkt-parse-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing EWKT: `<parseError>` at position `<pos>`

For more details see [EWKT\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ewkt-parse-error-error-class.md)

### [GEOJSON\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/geojson-parse-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing GeoJSON: `<parseError>` at position `<pos>`

For more details see [GEOJSON\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/geojson-parse-error-error-class.md)

### [H3\_INVALID\_CELL\_ID](https://docs.databricks.com/gcp/en/error-messages/h3-invalid-cell-id-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<h3Cell>` is not a valid H3 cell ID

For more details see [H3\_INVALID\_CELL\_ID](https://docs.databricks.com/gcp/en/error-messages/h3-invalid-cell-id-error-class.md)

### [H3\_INVALID\_GRID\_DISTANCE\_VALUE](https://docs.databricks.com/gcp/en/error-messages/h3-invalid-grid-distance-value-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

H3 grid distance `<k>` must be non-negative

For more details see [H3\_INVALID\_GRID\_DISTANCE\_VALUE](https://docs.databricks.com/gcp/en/error-messages/h3-invalid-grid-distance-value-error-class.md)

### [H3\_INVALID\_RESOLUTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/h3-invalid-resolution-value-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

H3 resolution `<r>` must be between `<minR>` and `<maxR>`, inclusive

For more details see [H3\_INVALID\_RESOLUTION\_VALUE](https://docs.databricks.com/gcp/en/error-messages/h3-invalid-resolution-value-error-class.md)

### [H3\_NOT\_ENABLED](https://docs.databricks.com/gcp/en/error-messages/h3-not-enabled-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<h3Expression>` is disabled or unsupported. Consider switching to a tier that supports H3 expressions

For more details see [H3\_NOT\_ENABLED](https://docs.databricks.com/gcp/en/error-messages/h3-not-enabled-error-class.md)

### H3\_PENTAGON\_ENCOUNTERED\_ERROR

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

A pentagon was encountered while computing the hex ring of `<h3Cell>` with grid distance `<k>`

### H3\_UNDEFINED\_GRID\_DISTANCE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

H3 grid distance between `<h3Cell1>` and `<h3Cell2>` is undefined

### ST\_DIFFERENT\_SRID\_VALUES

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Arguments to "`<sqlFunction>`" must have the same SRID value. SRID values found: `<srid1>, <srid2>`

### [ST\_INVALID\_ARGUMENT](https://docs.databricks.com/gcp/en/error-messages/st-invalid-argument-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

"`<sqlFunction>`":

For more details see [ST\_INVALID\_ARGUMENT](https://docs.databricks.com/gcp/en/error-messages/st-invalid-argument-error-class.md)

### ST\_INVALID\_CRS\_TRANSFORMATION\_ERROR

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<sqlFunction>`: Invalid or unsupported CRS transformation from SRID `<srcSrid>` to SRID `<trgSrid>`

### ST\_INVALID\_PRECISION\_VALUE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Precision `<p>` must be between `<minP>` and `<maxP>`, inclusive

### ST\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<stExpression>` is disabled or unsupported. Consider switching to a tier that supports ST expressions

### ST\_RESULT\_TOO\_LARGE

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The result of `<functionName>` is too large to compute.

### [WKT\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/wkt-parse-error-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Error parsing WKT: `<parseError>` at position `<pos>`

For more details see [WKT\_PARSE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/wkt-parse-error-error-class.md)

## Unity Catalog

### CANNOT\_DROP\_ABAC\_MASKED\_COLUMN

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop column(s) `<columnNames>` because an ABAC column mask policy applies to them. Run `SHOW EFFECTIVE POLICIES` to find the policy, then remove it, amend its `MATCH COLUMNS` condition, or remove the matching column tags before dropping the column. For guidance please refer to the documentation `<docLink>`.

### CANNOT\_DROP\_ABAC\_ROW\_FILTER\_COLUMN

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop column(s) `<columnNames>` because an ABAC row filter policy depends on them. Run `SHOW EFFECTIVE POLICIES` to find the policy, then remove it, amend its `MATCH COLUMNS` condition, or remove the matching column tags before dropping the column. For guidance please refer to the documentation `<docLink>`.

### CANNOT\_DROP\_MASKED\_COLUMN

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop column(s) `<columnNames>` because they have a column mask. Please remove the column mask(s) before dropping the column. For guidance please refer to the documentation `<docLink>`.

### CANNOT\_DROP\_TAGGED\_COLUMN

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column cannot be dropped because it has one or more governed tags assigned. Please remove the tag(s) before dropping the column. For guidance please refer to the documentation `<docLink>`.

### CANNOT\_RENAME\_MASKED\_COLUMN

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot rename column(s) `<columnNames>` because they have a column mask. Please remove the column mask(s) before renaming the column. For guidance please refer to the documentation `<docLink>`.

### CHILD\_CREATION\_FORBIDDEN\_FOR\_FOREIGN\_SECURABLE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Securable `<childSecurableName>` of type `<childSecurableType>` cannot be created in parent `<parentSecurableName>` of kind `<parentSecurableKind>`.

### COLUMN\_FORMAT\_INCOMPATIBLE\_WITH\_COLUMN\_TYPE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` has `<formatType>` format which is incompatible with column type `<columnType>`.

### CONFLICTING\_COLUMN\_NAMES\_ERROR

[SQLSTATE: 42711](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` conflicts with another column with the same name but with/without trailing whitespaces (for example, an existing column named `<columnName>   `). Please rename the column with a different name.

### CONNECTION\_CREDENTIALS\_NOT\_SUPPORTED\_FOR\_ONLINE\_TABLE\_CONNECTION

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invalid request to get connection-level credentials for connection of type `<connectionType>`. Such credentials are only available for managed PostgreSQL connections.

### CONNECTION\_TYPE\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Connection type '`<connectionType>`' is not enabled. Please enable the connection to use it.

### DELTA\_SHARING\_PROVISIONING\_STATE\_NOT\_ACTIVE

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The shared entity '`<securableFullName>`' is currently not usable, because it has not been fully synchronized with the corresponding source entity yet. Caused by: `<reason>`.

### DELTA\_SHARING\_READ\_ONLY\_RECIPIENT\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

There is already a Recipient object '`<existingRecipientName>`' with the same sharing identifier '`<existingMetastoreId>`'.

### DELTA\_SHARING\_READ\_ONLY\_SECURABLE\_KIND

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Data of an OpenSharing Securable Kind `<securableKindName>` are read-only and can not be created, modified or deleted.

### DELTA\_SHARING\_SYSTEM\_TABLE\_PROVIDER\_MOUNT\_NOT\_ALLOWED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Mounting a OpenSharing share from the system tables provider is not allowed.

### DISASTER\_RECOVERY\_READ\_ONLY

[SQLSTATE: 25006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-25-invalid-transaction-state)

The requested operation cannot be completed because catalog `<catalogName>` is in the secondary region for Managed Disaster Recovery. Secondary catalogs are read-only. Perform write operations in the primary region.

### DISASTER\_RECOVERY\_RENAME\_NOT\_ALLOWED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Catalog `<catalogName>` cannot be renamed because it is part of a Disaster Recovery failover group. Remove the catalog from Disaster Recovery before attempting to rename it.

### EXTERNAL\_ACCESS\_DISABLED\_ON\_METASTORE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

External Data Access from non Databricks Compute environment is disabled for metastore `<metastoreName>`. Please contact your metastore admin to enable 'External Data Access' configuration on the metastore.

### EXTERNAL\_ACCESS\_NOT\_ALLOWED\_FOR\_TABLE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table with id `<tableId>` cannot be accessed from outside of Databricks Compute Environment due to its kind being `<securableKind>`. Only '`TABLE_EXTERNAL`', '`TABLE_DELTA_EXTERNAL`' and '`TABLE_DELTA`' table kinds can be accessed externally.

### EXTERNAL\_USE\_SCHEMA\_ASSIGNED\_TO\_INCORRECT\_SECURABLE\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Privilege `EXTERNAL` USE `SCHEMA` is not applicable to this entity `<assignedSecurableType>` and can only be assigned to a schema or catalog. Please remove the privilege from the `<assignedSecurableType>` object and assign it to a schema or catalog instead.

### EXTERNAL\_WRITE\_NOT\_ALLOWED\_FOR\_TABLE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table with id `<tableId>` cannot be written from outside of Databricks Compute Environment due to its kind being `<securableKind>`. Only '`TABLE_EXTERNAL`' and '`TABLE_DELTA_EXTERNAL`' table kinds can be written externally.

### FOREIGN\_CATALOG\_STORAGE\_ROOT\_MUST\_SUPPORT\_WRITES

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The storage location for a foreign catalog of type `<catalogType>` will be used for unloading data and can not be read-only.

### HMS\_SECURABLE\_OVERLAP\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The number of `<resourceType>`s for input path `<url>` exceeds the allowed limit (`<overlapLimit>`) for overlapping HMS `<resourceType>`s.

### INVALID\_DATASOURCE\_FORMAT

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data source format '`<datasourceFormat>`' is not supported`<tableTypeSuffix> <catalogKindSuffix>`.

### INVALID\_NAME\_FORMAT

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<fieldDescription>` is not a valid name. Valid names cannot contain spaces, periods, forward slashes, or control characters.

### INVALID\_RESOURCE\_NAME\_DELTA\_SHARING

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

OpenSharing requests are not supported using resource names

### INVALID\_RESOURCE\_NAME\_ENTITY\_TYPE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided resource name references entity type `<provided>` but expected `<expected>`

### INVALID\_RESOURCE\_NAME\_METASTORE\_ID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided resource name references a metastore that is not in scope for the current request

### INVALID\_SECURABLE\_NAME

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<rpcName>` invalid `<securableType>` name: '`<securableFullName>`'

### LOCATION\_OVERLAP

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Input path url '`<path>`' overlaps with `<overlappingLocation>` within '`<caller>`' call. `<conflictingSummary>`. `<permissionErrorSuggestion>`

### LOCATION\_OVERLAP\_STORAGE\_CONFLICT\_WITH\_WORKSPACE\_STORAGE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Customer-defined storage location conflicts with the workspace default storage '`<path>`' during '`<caller>`' operation. This prevents features that rely on workspace storage from operating. Conflict summary: `<conflictingSummary>`. See [https://docs.databricks.com/aws/en/data-governance/unity-catalog/storage-conflicts](https://docs.databricks.com/aws/en/data-governance/unity-catalog/storage-conflicts) for remediation steps.

### LOCATION\_OVERLAP\_WITH\_ACCOUNT\_STORAGE\_CONFIGURATION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The external location path '`<path>`' conflicts with a storage configuration in your account during '`<caller>`' operation. External locations must not overlap with storage used by workspaces in your account, as this can prevent internal features from operating correctly. To resolve, use a more specific subpath (for example, 's3://bucket/my-data/' instead of 's3://bucket/'). See [https://docs.databricks.com/aws/en/data-governance/unity-catalog/storage-conflicts](https://docs.databricks.com/aws/en/data-governance/unity-catalog/storage-conflicts) for details.

### MANAGED\_TABLE\_FORMAT

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Only Delta is supported for managed tables. Provided datasource format is `<datasourceFormat>`.

### METASTORE\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No metastore assigned for the current workspace.

### METASTORE\_UPDATE\_NOT\_ALLOWED\_FOR\_NON\_SAP\_PRINCIPAL

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Metastore update is not permitted in SAP Databricks accounts.

### MONGO\_DB\_SRV\_CONNECTION\_STRING\_DOES\_NOT\_ALLOW\_PORT

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Creating or updating a MongoDB connection is not allowed because MongoDB SRV connection string does not require port.

Please remove port, since SRV connection string does not require port.

### NESTED\_SCHEMA\_INVALID\_CATALOG\_ID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

schema is nested; use parent\_type and parent\_id from the schema detail change event to identify the schema parent instead of resolving catalog\_id.

### PRINCIPAL\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find principal with name `<principalName>`.

### PRIVILEGES\_SUPPORT\_NOT\_ENABLED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Privileges support is not enabled for type \[`<typeString>`]

### PRIVILEGE\_NOT\_APPLICABLE\_TO\_ENTITY

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Privilege `<privilege>` is not applicable to this entity \[`<classifier>`]. If this seems unexpected, please check the privilege version of the metastore in use \[`<privilegeVersion>`].

### READ\_ONLY\_CATALOG

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Data inside an OpenSharing Catalog are read-only and can not be created, modified or deleted. Catalog '`<catalogName>`' is an OpenSharing Catalog.

### REDSHIFT\_FOREIGN\_CATALOG\_STORAGE\_ROOT\_MUST\_BE\_S3

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The storage root for Redshift foreign catalog has to be AWS S3.

### SCHEMA\_NOT\_EMPTY

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema '`<fullName>`' is not empty. `<extraInfo>`

### SECURABLE\_KIND\_DOES\_NOT\_SUPPORT\_LAKEHOUSE\_FEDERATION

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Securable with kind `<securableKind>` does not support Lakehouse Federation.

### SECURABLE\_KIND\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Securable kind '`<securableKind>`' is not enabled. If this is a securable kind associated with a preview feature, please enable it in workspace settings.

### SECURABLE\_TYPE\_DOES\_NOT\_SUPPORT\_LAKEHOUSE\_FEDERATION

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Securable with type `<securableType>` does not support Lakehouse Federation.

### SOURCE\_TABLE\_COLUMN\_COUNT\_EXCEEDS\_LIMIT

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The source table has more than `<columnCount>` columns. Please reduce the number of columns to `<columnLimitation>` or fewer.

### SYSTEM\_SERVICE\_PRINCIPAL\_IS\_NOT\_REGISTERED

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not find the registered system service principal with resource name `<servicePrincipalResource>`.

### TABLE\_TYPE\_DOES\_NOT\_SUPPORT\_COLUMN\_METADATA

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table type `<tableType>` does not support column metadata.

### UC\_AAD\_CLIENT\_SECRET\_EXPIRED\_FOR\_SERVICE\_PRINCIPAL

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The client secret keys for service principal with application id `<applicationId>` are expired. Visit the Azure portal to create new keys for your service principal.

### UC\_AAD\_CLIENT\_SECRET\_EXPIRED\_FOR\_STORAGE\_CREDENTIAL

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The client secret keys for storage credential `<storageCredentialName>` are expired. Contact the owner or your account admin to update the storage credential.

### UC\_AAD\_CLIENT\_SECRET\_INVALID\_FOR\_SERVICE\_PRINCIPAL

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The client secret key for the service principal with application id `<applicationId>` is not valid.

### UC\_AAD\_SERVICE\_PRINCIPAL\_CONFIG\_INVALID

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Service principal configuration is not valid. Verify the Directory ID, Application ID, and Client Secret.

### UC\_AAD\_TOKEN\_EXCHANGE\_GENERIC\_FAILURE

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to get credentials: Storage Credential `<storageCredentialName>` is not configured correctly. Contact the owner or your account admin to update the configuration.

### UC\_AAD\_TOKEN\_LIFETIME\_TOO\_SHORT

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Exchanged AAD token lifetime is `<lifetime>` which is configured too short. Please check your Azure AD setting to make sure temporary access token has at least an hour lifetime. [https://learn.microsoft.com/azure/active-directory/develop/active-directory-configurable-token-lifetimes](https://learn.microsoft.com/azure/active-directory/develop/active-directory-configurable-token-lifetimes)

### UC\_ABAC\_AMBIGUOUS\_COLUMN\_MATCH

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' failed with message: Using alias '`<alias>`' had `<size>` matches, exactly 1 match is allowed.

### UC\_ABAC\_AND\_NATIVE\_ROW\_FILTERS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Evaluation of ABAC policies on '`<resource>`' resulted in multiple row filters. The native row filter '`<nativeRowFilterFunction>`' and the following ABAC policies each apply a row filter: `<policyNames>`. At most one row filter is allowed.

### UC\_ABAC\_BUILTIN\_FUNCTION\_DISABLED

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' uses builtin function '`<functionName>`' which is not currently enabled.

### UC\_ABAC\_BUILTIN\_FUNCTION\_NOT\_ALLOWED

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' uses builtin function '`<functionName>`' which is not allowed for this policy type.

### UC\_ABAC\_CONTEXT\_ATTRIBUTE\_FUNCTIONS\_DISABLED

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' uses context attribute functions which are not currently enabled.

### UC\_ABAC\_DEPENDENCY\_COMPLEXITY\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

`<resourceType>` '`<ref>`' has too many `<resolverType>` abac dependencies.

### UC\_ABAC\_DEPENDENCY\_DIFFERING\_RF\_CM

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Dependency '`<dependency>`' is referenced multiple times and resulted in differing ABAC row filters or column masks.

### UC\_ABAC\_EVALUATION\_USER\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' failed with message: `<message>`.

### UC\_ABAC\_IDENTITY\_ATTRIBUTES\_UNAVAILABLE

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Please retry; if the issue persists, contact Databricks support and reference this error class.

### UC\_ABAC\_INVALID\_TAG\_POLICY\_VALUE

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' references invalid tag value `<tagValue>` for key `<tagKey>`. Ensure the governed tag value is valid.

### UC\_ABAC\_MULTIPLE\_ROW\_FILTERS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Evaluation of ABAC policies on '`<resource>`' resulted in multiple row filters. The following policies each apply a row filter: `<policyNames>`. At most one row filter is allowed.

### UC\_ABAC\_SESSION\_IDENTITY\_REQUIRED

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

This query requires session identity behavior, which is not enabled for this account. Session identity behavior became the default on April 28, 2026. To run this query, ask an account admin to enable session identity behavior. Please follow the guidance at [https://databricks.helpjuice.com/en\_US/upcoming-change-to-abac-policy-evaluation-for-tables-accessed-through-views-and-functions](https://databricks.helpjuice.com/en_US/upcoming-change-to-abac-policy-evaluation-for-tables-accessed-through-views-and-functions)

### UC\_ABAC\_TAG\_INTROSPECTION\_DISABLED

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' uses tag introspection which is not currently enabled.

### UC\_ABAC\_UNKNOWN\_CONTEXT\_ATTRIBUTE\_KEY

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' references unknown context attribute key: `<key>`. Use a supported request.\* context attribute.

### UC\_ABAC\_UNKNOWN\_TAG\_POLICY

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' references unknown tag: `<tagKey>`. Ensure the governed tag exists.

### UC\_ABAC\_UNMATCHED\_ALIAS\_IN\_USING\_COLUMNS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Failed with message: Alias '`<alias>`' used in `USING COLUMNS` did not match any column.

### UC\_ABAC\_UNMATCHED\_ON\_COLUMN\_ALIAS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' failed with message: Alias '`<alias>`' used in `ON COLUMN` did not match any column.

### UC\_ABAC\_UNMATCHED\_USING\_ALIAS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Policy '`<policyName>`' failed with message: Using alias '`<alias>`' does not have matched column.

### UC\_ABAC\_USING\_REF\_OF\_NATIVE\_MASKED\_COLUMNS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Failed with message: Column '`<usingCol>`' has been masked by native RLS/CM policy '`<nativeFunction>`' and cannot be used as an input to the ABAC policy '`<policyName>`'.

### UC\_ACCESS\_REQUIRES\_WORKSPACE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to access workspace-bound securable because the user is not assigned to the associated workspace.

### UC\_ALTER\_DLT\_VIEW\_OUTSIDE\_DEFINING\_PIPELINE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Altering the view '`<viewFullName>`' outside of the pipeline that defined it is not allowed. Instead, update the view definition from the pipeline that defined it (Pipeline ID: `<owningPipelineId>`).

### UC\_ATLAS\_NOT\_ENABLED\_FOR\_CALLING\_SERVICE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Atlas is not enabled for the calling service `<serviceName>`.

### UC\_AUTHZ\_ACTION\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Authorizing `<actionName>` is not supported; please check that the RPC invoked is implemented for this resource type

### UC\_AWS\_ASSUME\_ROLE\_FAILED

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to get credentials: the AWS IAM role in the Unity Catalog credential is not configured correctly. Please contact your metastore admin or the credential owner to update the configuration in AWS.

### UC\_AWS\_EMPTY\_STORAGE\_LOCATION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Empty storage location.

### UC\_AWS\_INVALID\_S3\_POLICY\_PREFIX

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid s3 path for storage location: S3 path `<providedPath>` does not start with the expected prefix: `<expectedPrefix>`.

### UC\_AWS\_UNSUPPORTED\_S3\_SCHEME

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid s3 path for storage location: Unsupported scheme found: `<providedScheme>`. Supported Schemes are: `<supportedS3Schemes>`.

### UC\_AZURE\_BLOB\_SERVICE\_UNAVAILABLE

[SQLSTATE: 57P03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Azure Blob service is temporarily unavailable. Try again later.

### UC\_AZURE\_CREDENTIAL\_NOT\_FOUND

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Azure storage credential was not found. The access connector may have been deleted or recreated. Contact your account admin to reconfigure the storage credential. Details: `<details>`

### UC\_AZURE\_GOVCLOUD\_LEGACY\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unity Catalog is not supported in the legacy Azure Government Cloud (`AZURE_US_GOVERNMENT`).

### UC\_AZURE\_MANAGED\_IDENTITY\_CREDENTIAL\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Azure Managed Identity Credential with Access Connector Id `<accessConnectorId>` and Managed Identity ID: `<managedIdentityId>` for Account Id: `<accountId>` could not be found.

### UC\_AZURE\_UDK\_UNAUTHORIZED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request for user delegation key is not authorized. Details: `<details>`

### UC\_BUILTIN\_HMS\_CONNECTION\_CREATION\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a connection for a builtin hive metastore because user: `<userId>` is not the admin of the workspace: `<workspaceId>`

### UC\_BUILTIN\_HMS\_CONNECTION\_MODIFY\_RESTRICTED\_FIELD

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Attempt to modify a restricted field in built-in HMS connection '`<connectionName>`'. Only 'warehouse\_directory' can be updated.

### UC\_CANNOT\_DELETE\_TABLE\_WITH\_ACTIVE\_SHALLOW\_CLONES

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot delete table '`<tableFullName>`' because it is referenced by `<cloneCount>` active shallow clone(s). Drop all shallow clones before deleting the base table.

### UC\_CANNOT\_REMOVE\_CATALOG\_MANAGED\_OUTSIDE\_DELTA\_COMMIT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The update to table '`<tableFullName>`' would remove the catalogManaged feature or the io.unitycatalog.tableId property, which is not allowed. They can only be removed through the catalog-managed downgrade path.

### UC\_CANNOT\_RENAME\_PARTITION\_FILTERING\_COLUMN

[SQLSTATE: 428FR](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to rename table column `<originalLogicalColumn>` because it's used for partition filtering in `<sharedTableName>`. In order to proceed, you can remove the table from the share, rename the column, and share it with the desired partition filtering columns again. Though, this may break the streaming query for your recipient.

### UC\_CHILD\_COLUMNS\_ALREADY\_EXIST\_IN\_PRIMARY\_KEY\_OR\_UNIQUE\_CONSTRAINT

[SQLSTATE: 42891](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create `<newConstraintType>` constraint `<newConstraintName>`: table `<tableName>` already has a `<existingConstraintType>` constraint: `<existingConstraintName>`, that has the same set of child columns.

### UC\_CHILD\_CREATION\_FORBIDDEN\_FOR\_NON\_UC\_CLUSTER

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot create `<securableType>` '`<securable>`' under `<parentSecurableType>` '`<parentSecurable>`' because the request is not from a UC cluster.

### UC\_CLOUD\_STORAGE\_ACCESS\_FAILURE

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to access cloud storage: `<errMsg>` exceptionTraceId=`<exceptionTraceId>`

### UC\_COMMIT\_TRANSACTION\_OPERATION\_USING\_MST\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<operationType>` are only allowed as single-table commits, and cannot be done within a multi-table transaction.

### UC\_CONFLICTING\_CONNECTION\_ALLOW\_LIST\_OPTIONS

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a connection with an allow list that overlaps with a connection option. Value: `<conflictingOptions>`

### UC\_CONFLICTING\_CONNECTION\_OPTIONS

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a connection with both username/password and oauth authentication options. Please choose one.

### UC\_CONNECTION\_ACCESS\_TOKEN\_REQUEST\_FAILED

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to obtain a fresh access token from the identity provider (HTTP status code `<httpStatus>`). Make sure the connection's credentials are correct and the identity provider is reachable.

### UC\_CONNECTION\_CREDENTIALS\_MAXIMUM\_REACHED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

The maximum number of credentials for connection name '`<connectionName>`' has been reached. Please delete existing credentials before creating a new one.

### UC\_CONNECTION\_CREDENTIALS\_NOT\_EXIST\_FOR\_USER\_WITH\_LOGIN

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Credential for user identity('`<userIdentity>`') is not found for the connection '`<connectionName>`'. Please login first to the connection by visiting `<connectionPage>`

### UC\_CONNECTION\_CREDENTIALS\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Creating credentials for securable type '`<securableType>`' is not supported. Supported securable types: `<allowedSecurableType>`.

### UC\_CONNECTION\_DEPENDENCY\_PATH\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid dependency path: `<reason>`

### UC\_CONNECTION\_ENVIRONMENT\_VERSION\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid environment version: `<reason>`

### UC\_CONNECTION\_ENVIRONMENT\_VERSION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Environment version is not currently supported. Provided: `<environmentVersion>`

### UC\_CONNECTION\_EXISTS\_FOR\_CREDENTIAL

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Credential '`<credentialName>`' has one or more dependent connections. You may use force option to continue to update or delete the credential, but the connections using this credential may not work anymore.

### UC\_CONNECTION\_EXPIRED\_REFRESH\_TOKEN

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The refresh token associated with the connection is expired. Please update the connection to restart the OAuth flow to retrieve a fresh token.

### UC\_CONNECTION\_INVALID\_CREDENTIAL\_TYPE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The selected credential type for `<connectionType>` UC connection is not allowed. Allowed credential types: `<allowedCredentialTypes>`.

### UC\_CONNECTION\_IN\_FAILED\_STATE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The connection is in the `FAILED` state. Please update the connection with valid credentials to reactivate it.

### UC\_CONNECTION\_MISSING\_OPTION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Connections of securable type '`<securableType>`' must include the following option(s): `<requiredOptions>`.

### UC\_CONNECTION\_MISSING\_REFRESH\_TOKEN

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

There is no refresh token associated with the connection. Please update the OAuth client integration in your identity provider to return refresh tokens, and update or recreate the connection to restart the OAuth flow and retrieve the necessary tokens.

### UC\_CONNECTION\_OAUTH\_EXCHANGE\_FAILED

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The OAuth token exchange failed with HTTP status code `<httpStatus>`. The returned server response or exception message is: `<response>`

### UC\_CONNECTION\_OPTION\_NOT\_SUPPORTED

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Connections of securable type '`<securableType>`' do not support the following option(s): `<optionsNotSupported>`. Supported options: `<allowedOptions>`.

### UC\_CONNECTION\_OPTION\_SANITIZER\_REJECTED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid value for connection option '`<option>`': `<reason>`

### UC\_COORDINATED\_COMMITS\_BACKFILL\_ONLY\_NO\_EXISTING\_COMMITS

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Backfill-only commit is invalid: table `<tableFullName>` has no existing commits.

### UC\_COORDINATED\_COMMITS\_NOT\_ENABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Supports for coordinated commits is not enabled. Please contact Databricks support.

### UC\_CREATE\_FORBIDDEN\_UNDER\_INACTIVE\_SECURABLE

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot create `<securableType>` '`<securableName>`' because it is under a `<parentSecurableType>` '`<parentSecurableName>`' that is not active. Please delete the parent securable and recreate the parent.

### UC\_CREDENTIAL\_ACCESS\_CONNECTOR\_PARSING\_FAILED

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to parse the provided access connector ID: `<accessConnectorId>`. Please verify its formatting and try again.

### UC\_CREDENTIAL\_FAILED\_TO\_OBTAIN\_VALIDATION\_TOKEN

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to obtain an AAD token to perform cloud permission validation on an access connector. Please retry the action.

### UC\_CREDENTIAL\_INVALID\_CLOUD\_PERMISSIONS

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Registering a credential requires the contributor role over the corresponding access connector with ID `<accessConnectorId>`. Please contact your account admin.

### UC\_CREDENTIAL\_INVALID\_CREDENTIAL\_TYPE\_FOR\_FILE\_EVENT\_OPERATION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Storage credential type '`<credentialType>`' cannot be used for file event operation '`<operation>`'. The credential's cloud provider must match the file event queue type — use an Azure managed identity or service principal credential for Azure file event queues, an AWS IAM role for AWS, and a service account credential for GCP.

### UC\_CREDENTIAL\_INVALID\_CREDENTIAL\_TYPE\_FOR\_PURPOSE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Credential type '`<credentialType>`' is not supported for purpose '`<credentialPurpose>`'

### UC\_CREDENTIAL\_MI\_IS\_MISSING\_READER\_ROLE

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Registering a credential requires managed identity (MI) to have a Reader role scoped to MI itself for `<accessConnectorId>`. Please contact your account admin.

### UC\_CREDENTIAL\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Only the account admin can create or update a credential with type `<storageCredentialType>`.

### UC\_CREDENTIAL\_TRUST\_POLICY\_IS\_OPEN

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The trust policy of the IAM role to allow Databricks Account to assume the role should require an external id. Please contact your account admin to add the external id condition. This behavior is to guard against the Confused Deputy problem ([https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html](https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html)).

### UC\_CREDENTIAL\_TYPE\_NOT\_SUPPORTED\_FOR\_EXTERNAL\_CALLERS

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Storage credential '`<credentialName>`' cannot be used from outside of Databricks Unity Catalog enabled compute environment. Please contact Databricks support for integrations with Unity Catalog.

### UC\_CREDENTIAL\_WORKSPACE\_API\_PROHIBITED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating or updating a credential as a non-account admin is not supported in the account-level API. Please use the workspace-level API instead.

### UC\_CROSS\_REGION\_CACHE\_REGION\_MISMATCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The cache location region `<cacheRegion>` does not match the workspace region `<workspaceRegion>`.

### UC\_DBFS\_KIND\_OUT\_OF\_AUTHORIZED\_PATHS\_SCOPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Authorized Path Error. The `<securableType>` location `<location>` is not defined within the authorized paths for catalog: `<catalogName>`. Please ask the catalog owner to add the path to the list of authorized paths defined on the catalog. Then, run `REFRESH FOREIGN SCHEMA schema_name RESOLVE DBFS LOCATION` (for a schema and its dependents) or `REFRESH FOREIGN TABLE table_name RESOLVE DBFS LOCATION` (for a single table) to resolve the DBFS location and bring the entity to the `ACTIVE` state.

### UC\_DBR\_TRUST\_VERSION\_TOO\_OLD

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The Databricks Runtime being used no longer supports this operation. Please use the latest version (you may just need to restart your cluster).

### UC\_DELETED\_USER\_IN\_POLICY\_EVALUATION

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot evaluate ABAC policies: `<principalType>` principal `<userId>` is deleted.

### UC\_DELTA\_ILLEGAL\_BACKFILLED\_VERSION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unexpected latestBackfilledVersion `<latestBackfilledVersion>` on the commit (`<version>, <commitType>`).

### UC\_DELTA\_UNIVERSAL\_FORMAT\_CANNOT\_PARSE\_ICEBERG\_VERSION

[SQLSTATE: 22P02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unable to parse Apache Iceberg table version from metadata location `<metadataLocation>`.

### UC\_DELTA\_UNIVERSAL\_FORMAT\_COMMIT\_VERSION\_MISMATCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The commit version `<convertedDeltaVersion>` in the Apache Iceberg metadata does not match catalog known version `<commitVersion>`.

### UC\_DELTA\_UNIVERSAL\_FORMAT\_CONCURRENT\_WRITE

[SQLSTATE: 40001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

A concurrent update to the same Apache Iceberg metadata version was detected.

### UC\_DELTA\_UNIVERSAL\_FORMAT\_INVALID\_METADATA\_LOCATION

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The committed metadata location `<metadataLocation>` is invalid. It is not a subdirectory of the table's root directory `<tableRoot>`.

### UC\_DELTA\_UNIVERSAL\_FORMAT\_MISSING\_FIELD\_CONSTRAINT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided delta Apache Iceberg format conversion information is missing required fields.

### UC\_DELTA\_UNIVERSAL\_FORMAT\_NON\_CREATE\_CONSTRAINT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Setting delta Apache Iceberg format information on create is unsupported.

### UC\_DELTA\_UNIVERSAL\_FORMAT\_TOO\_LARGE\_CONSTRAINT

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The provided delta Apache Iceberg format conversion information is too large.

### UC\_DELTA\_UNIVERSAL\_FORMAT\_UPDATE\_INVALID

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Uniform metadata can only be updated on Delta tables with uniform enabled.

### UC\_DENY\_POLICY\_MULTIPLE\_PRIVILEGES\_NOT\_SUPPORTED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Only one privilege is supported for DENY policies. Found `<privilegeCount>` privileges: `<privileges>`.

### UC\_DENY\_POLICY\_UNSUPPORTED\_PRIVILEGE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unsupported privileges for DENY policies: `<unsupportedPrivileges>`. Supported privileges: `<supportedPrivileges>`.

### UC\_DEPENDENCY\_DEPTH\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

`<resourceType>` '`<ref>`' depth exceeds limit (or has a circular reference).

### UC\_DEPENDENCY\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<resourceType>` '`<ref>`' is invalid because one of the underlying resources does not exist. `<cause>`

### UC\_DEPENDENCY\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<resourceType>` '`<ref>`' does not have sufficient privilege to execute because the owner of one of the underlying resources failed an authorization check. `<cause>`

### UC\_DUPLICATE\_CONNECTION

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A connection called '`<connectionName>`' with the same URL already exists. Please ask the owner for permission to use that connection instead of creating a duplicate.

### UC\_DUPLICATE\_ONELAKE\_CATALOG\_CREATION

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Attempted to create a OneLake catalog with url '`<storageLocation>`' that matches an existing catalog '`<existingCatalogName>`', which is not allowed.

### UC\_DUPLICATE\_TAG\_ASSIGNMENT\_CREATION

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Tag assignment with tag key `<tagKey>` already exists

### UC\_ENTITY\_DOES\_NOT\_HAVE\_CORRESPONDING\_ONLINE\_CLUSTER

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Entity `<securableType> <entityId>` does not have a corresponding online cluster.

### UC\_ETAG\_MISMATCH

[SQLSTATE: 40001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

Resource has been modified. Please fetch the latest etag and retry. Expected etag value: `<expectedTokenValue>` with protocol version `<expectedTokenVersion>`, received etag value: `<providedTokenValue>` with protocol version `<providedTokenVersion>`

### UC\_EXCEEDS\_MAX\_FILE\_LIMIT

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

There are more than `<maxFileResults>` files. Please specify \[max\_results] to limit the number of files returned.

### UC\_EXTERNAL\_HMS\_SCHEMA\_LOCATION\_NOT\_FEDERATED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Schema `<schemaName>` is in `DEGRADED` provisioning state which is expected since eHMS / Glue schema location is not being federated.

### UC\_EXTERNAL\_LOCATION\_OP\_NOT\_ALLOWED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot `<opName> <extLoc> <reason>`. `<suggestion>`.

### UC\_EXTERNAL\_SECRETS\_CANNOT\_BE\_UPDATED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Updating external secrets is not supported.

### UC\_FEATURE\_DISABLED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

`<featureName>` is currently disabled in UC.

### UC\_FOREIGN\_CATALOG\_FOR\_CONNECTION\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Creation of a foreign catalog for connection type '`<connectionType>`' is not supported. This connection type can only be used to create managed ingestion pipelines. Please reference Databricks documentation for more information.

### UC\_FOREIGN\_CREDENTIAL\_CHECK\_ONLY\_FOR\_READ\_OPERATIONS

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Only READ credentials can be retrieved for foreign tables.

### UC\_FOREIGN\_ENTITY\_CREATION\_FORBIDDEN\_DURING\_CONVERSION

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Creating `FOREIGN <securableType>` '`<entityName>`' under catalog '`<catalogName>`' is forbidden while catalog is being converted from `FOREIGN` to `STANDARD`.

### UC\_FOREIGN\_HMS\_SHALLOW\_CLONE\_MISMATCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The base table and clone table must be in the same catalog for shallow clones created in foreign Hive Metastore catalogs. Base table '`<baseTableName>`' is in catalog '`<baseCatalogName>`' and clone table '`<cloneTableName>`' is in catalog '`<cloneCatalogName>`'.

### UC\_FOREIGN\_KEY\_CHILD\_COLUMN\_LENGTH\_MISMATCH

[SQLSTATE: 42830](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Foreign key `<constraintName>` child columns and parent columns are of different sizes.

### UC\_FOREIGN\_KEY\_COLUMN\_MISMATCH

[SQLSTATE: 42830](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The foreign key parent columns do not match the referenced primary key child columns or any unique constraint columns. Foreign key parent columns are (`<parentColumns>`).

### UC\_FOREIGN\_KEY\_COLUMN\_TYPE\_MISMATCH

[SQLSTATE: 42830](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The foreign key child column type does not match the parent column type. Foreign key child column `<childColumnName>` has type `<childColumnType>` and parent column `<parentColumnName>` has type `<parentColumnType>`.

### UC\_GCP\_INVALID\_PRIVATE\_KEY

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Access denied. Cause: service account private key is invalid.

### UC\_GCP\_INVALID\_PRIVATE\_KEY\_JSON\_FORMAT

[SQLSTATE: 22032](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Google Server Account OAuth Private Key has to be a valid `JSON` object with required fields, please make sure to provide the full `JSON` file generated from 'KEYS' section of service account details page.

### UC\_GCP\_INVALID\_PRIVATE\_KEY\_JSON\_FORMAT\_MISSING\_FIELDS

[SQLSTATE: 22032](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Google Server Account OAuth Private Key has to be a valid `JSON` object with required fields, please make sure to provide the full `JSON` file generated from 'KEYS' section of service account details page. Missing fields are `<missingFields>`

### UC\_GRANT\_POLICY\_UNSUPPORTED\_PRIVILEGE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unsupported privileges for `GRANT` policies: `<unsupportedPrivileges>`. Supported privileges: `<supportedPrivileges>`.

### UC\_IAM\_ROLE\_NON\_SELF\_ASSUMING

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The IAM role for this storage credential was found to be non self-assuming. Please check your role's trust and IAM policies to ensure that your IAM role can assume itself according to the Unity Catalog storage credential documentation.

### UC\_ICEBERG\_COMMIT\_CONFLICT

[SQLSTATE: 40001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

Cannot commit `<tableName>`: metadata location `<baseMetadataLocation>` has changed from `<catalogMetadataLocation>`.

### UC\_ICEBERG\_COMMIT\_INVALID\_TABLE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot perform Managed Apache Iceberg commit to a non Managed Apache Iceberg table: `<tableName>`.

### UC\_ICEBERG\_COMMIT\_MISSING\_FIELD\_CONSTRAINT

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided Managed Apache Iceberg commit information is missing required fields.

### UC\_ICEBERG\_METADATA\_FILE\_TOO\_LARGE

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Apache Iceberg metadata file for table `<tableName>` is too large (`<fileSizeMB>` MB, exceeds limit of `<maxSizeMB>` MB). This is likely caused by a large number of Apache Iceberg snapshots that have not been expired. Please consider expiring snapshots to reduce the metadata file size.

### UC\_ID\_MISMATCH

[SQLSTATE: 40001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

The `<type> <name>` does not have ID `<wrongId>`. Please retry the operation.

### UC\_INFORMATION\_SCHEMA\_PER\_METASTORE\_DB\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: 53300](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Too many information schema requests for the metastore. Please wait a moment and try again. If the issue persists, please consider adjusting the selectivity of your queries or reaching out to support for assistance.

### UC\_INTERNAL\_STORAGE\_UNSUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unity Catalog internal storage is not supported for the current configuration. Reason: `<msg>`

### UC\_INTERNAL\_UPDATE\_METADATA\_MODE\_HEADER\_NOT\_ALLOWED

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The X-Databricks-UC-Internal-Update-Metadata-Mode header can only be used by unity-catalog-ops service. Caller service: `<callerService>`.

### UC\_INVALID\_ACCESS\_BRICKSTORE\_ONLINE\_TABLE\_DEPRECATION

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Online table is deprecated. Acquiring access to online table `<securableName>` is no longer supported.

### UC\_INVALID\_ACCESS\_BRICKSTORE\_PG\_CONNECTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invalid access to database instance. `<reason>`

### UC\_INVALID\_ACCESS\_DBFS\_ENTITY

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid access of `<securableType> <securableName>` in the federated catalog `<catalogName>`. `<reason>`

### UC\_INVALID\_AZURE\_BLOB\_ENDPOINT

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The provided Azure storage URL uses a blob endpoint (`<uri>`), but external locations require an ADLS Gen2 (DFS) endpoint. Use the format: abfss\://`CONTAINER`@`ACCOUNT`.dfs.core.windows.net/PATH

### UC\_INVALID\_AZURE\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid Azure path: `<path>`

### UC\_INVALID\_CLOUDFLARE\_ACCOUNT\_ID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid Cloudflare account ID.

### UC\_INVALID\_CREDENTIAL\_CLOUD

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid credential cloud provider '`<cloud>`'. Allowed cloud provider '`<allowedCloud>`'.

### UC\_INVALID\_CREDENTIAL\_PURPOSE\_VALUE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value '`<value>`' for credential's 'purpose'. Allowed values '`<allowedValues>`'.

### UC\_INVALID\_CREDENTIAL\_TRANSITION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update a connection from `<startingCredentialType>` to `<endingCredentialType>`. The only valid transition is from a username/password based connection to an OAuth token based or PEM private key based connection.

### UC\_INVALID\_CRON\_STRING\_FABRIC

[SQLSTATE: 22P02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid cron string. Found: '`<cronString>`' with parse exception: '`<message>`'

### UC\_INVALID\_DIRECT\_ACCESS\_MANAGED\_TABLE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid direct access managed table `<tableName>`. Make sure source table & pipeline definition are not defined.

### UC\_INVALID\_EMPTY\_STORAGE\_LOCATION

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Unexpected empty storage location for `<securableType>` '`<securableName>`' in catalog '`<catalogName>`'. In order to fix this error, please run `DESCRIBE SCHEMA <catalogName>`.`<securableName>` and refresh this page.

### UC\_INVALID\_OPTIONS\_UPDATE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid options provided for update. Invalid options: `<invalidOptions>`. Allowed options: `<allowedOptions>`.

### UC\_INVALID\_OPTION\_VALUE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value '`<value>`' for '`<option>`'. Allowed values '`<allowedValues>`'.

### UC\_INVALID\_OPTION\_VALUE\_EMPTY

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<option>`' cannot be empty. Please enter a non-empty value.

### UC\_INVALID\_POLICY\_CONDITION

[SQLSTATE: 42611](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid condition in policy '`<policyName>`'. Compilation error with message '`<message>`'.

### UC\_INVALID\_R2\_ACCESS\_KEY\_ID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid R2 access key ID.

### UC\_INVALID\_R2\_SECRET\_ACCESS\_KEY

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid R2 secret access key.

### UC\_INVALID\_UPDATE\_ON\_SYSTEM\_WORKSPACE\_ADMIN\_GROUP\_OWNED\_SECURABLE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update `<securableType>` '`<securableName>`' as it's owned by an internal group. Please contact Databricks support for additional details.

### UC\_INVALID\_UPDATE\_TABLE\_DISASSOCIATE\_FROM\_PIPELINE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The table '`<tableName>`' belongs to an existing pipeline '`<pipelineId>`' and its pipeline\_id field cannot be cleared.

### UC\_INVALID\_WASBS\_EXTERNAL\_LOCATION\_STORAGE\_CREDENTIAL

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Provided Storage Credential `<storageCredentialName>` is not associated with DBFS Root, creation of wasbs External Location is prohibited.

### UC\_LAKEBASE\_CATALOG\_ACCESS\_DENIED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Accessing resource `<resourceName>` requires serverless compute. A Lakebase database registered in Unity Catalog can only be queried from a serverless SQL warehouse or serverless general compute; Pro and Classic SQL warehouses are not supported. Please switch the compute being used to execute the query or to view the database catalog in the UI to serverless. For details, please see `<docLink>`

### UC\_LOCATION\_INVALID\_SCHEME

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Storage location has invalid URI scheme: `<scheme>`.

### UC\_MALFORMED\_OAUTH\_SERVER\_RESPONSE

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The response from the token server was missing the field `<missingField>`. The returned server response is: `<response>`

### UC\_MANAGED\_ICEBERG\_UNSUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot support managed Apache Iceberg table on the current endpoint.

### UC\_MAPS\_CONTINUATION\_TOKEN\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The pagination token is invalid or has expired.

### UC\_MAPS\_PAGINATION\_FALLBACK\_REQUIRED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The paginated request cannot continue. Discard partial results and retry without pagination.

### UC\_MAPS\_SNAPSHOT\_VERSION\_CHANGED

[SQLSTATE: 40001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

The snapshot changed while the paginated request was in progress. Discard partial results and restart pagination.

### UC\_MATERIALIZED\_METRIC\_VIEW\_DIRECT\_OWNER\_CHANGE\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing the owner of a materialized metric view '`<tableName>`' directly is not supported. Issue an `ALTER VIEW` `...` `OWNER` TO command from a SQL warehouse instead.

### UC\_MATERIALIZED\_METRIC\_VIEW\_OWNERSHIP\_TRANSFER\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Change owner on a materialized metric view '`<tableName>`' is not supported.

### UC\_METASTORE\_ASSIGNMENT\_STATUS\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

'`<metastoreAssignmentStatus>`' cannot be assigned. Only `MANUALLY_ASSIGNABLE` and `AUTO_ASSIGNMENT_ENABLED` are supported.

### UC\_METASTORE\_CERTIFICATION\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Metastore certification is not enabled.

### UC\_METASTORE\_HAS\_ACTIVE\_MANAGED\_ONLINE\_CATALOGS

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The metastore `<metastoreId>` has `<numberManagedOnlineCatalogs>` managed online catalog(s). Please explicitly delete them, then retry the metastore deletion.

### UC\_METASTORE\_QUOTA\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

This account with id `<accountId>` has reached the limit for metastores in region `<region>`.

### UC\_METASTORE\_REGION\_NOT\_AVAILABLE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unity Catalog is not available in region '`<region>`'.

### UC\_METASTORE\_STORAGE\_ROOT\_CREDENTIAL\_UPDATE\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Metastore root credential cannot be defined when updating the metastore root location. The credential will be fetched from the metastore parent external location.

### UC\_METASTORE\_STORAGE\_ROOT\_DELETION\_INVALID

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Deletion of metastore storage root location failed. `<reason>`

### UC\_METASTORE\_STORAGE\_ROOT\_READ\_ONLY\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The root `<securableType>` for a metastore cannot be read-only.

### UC\_METASTORE\_STORAGE\_ROOT\_UPDATE\_INVALID

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Metastore storage root cannot be updated once it is set.

### UC\_MISSING\_SECURABLE\_KIND\_OPTION

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<securableType>`/`<securableKind>` must include the following option(s): `<options>`.

### UC\_MLFLOW\_MODEL\_CREDENTIAL\_CLIENT\_UPGRADE\_REQUIRED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot generate temporary '`<opName>`' credentials for model version `<modelVersion>`.

Please upgrade the mlflow package to version 2.18 or later and set the environment variable

`MLFLOW_USE_DATABRICKS_SDK_MODEL_ARTIFACTS_REPO_FOR_UC`=true on your compute.

### UC\_MODEL\_INVALID\_STATE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot generate temporary '`<opName>`' credentials for model version `<modelVersion>` with status `<modelVersionStatus>`. '`<opName>`' credentials can only be generated for model versions with status `<validStatus>`

### UC\_NATIVE\_USING\_REF\_OF\_ABAC\_MASKED\_COLUMNS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Failed with message: Column '`<usingCol>`' has been masked by ABAC policy '`<policyName>`' and cannot be used as an input to native RLS/CM policies: `<nativeFunctions>`.

### UC\_NO\_ORG\_ID\_IN\_CONTEXT

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Attempted to access org ID (or workspace ID), but context has none.

### UC\_ONELAKE\_DATA\_ITEM\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Fabric data item not found at Azure OneLake path '`<path>`'. Verify the workspace and item UUIDs and that the storage credential has access to them. Fabric error code: `<fabricErrorCode>`.

### UC\_ONELAKE\_DATA\_ITEM\_NOT\_UUID

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Azure OneLake path '`<path>`': the data item component '`<dataItem>`' must be a valid UUID.

### UC\_ONELAKE\_DISALLOWED\_ITEM\_TYPE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Azure OneLake path '`<path>`' references a data item of type '`<actualType>`'. External locations may only be created for items of type '`<allowedType>`'.

### UC\_ONELAKE\_FABRIC\_AUTH\_FAILED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Storage credential does not have access to the Fabric workspace or data item at Azure OneLake path '`<path>`'. Fabric error code: `<fabricErrorCode>`.

### UC\_ONELAKE\_INVALID\_MANAGED\_EL\_URL

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Azure OneLake path '`<path>`': the path must be inside the '/Files' folder of a Lakehouse data item.

### UC\_ONELAKE\_PATH\_BAD\_DOMAIN

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Azure OneLake path '`<path>`' must have the domain name '`<expectedHost>`'.

### UC\_ONELAKE\_PATH\_BAD\_FORMAT

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Azure OneLake path '`<path>`' must be of the format 'abfss\://\_WORKSPACE*UUID*@`<host>`/\_DATA*ITEM\_UUID*/...'.

### UC\_ONELAKE\_PATH\_MISSING\_AT

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Azure OneLake path '`<path>`' does not contain '@'.

### UC\_ONELAKE\_PATH\_MISSING\_WORKSPACE

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Azure OneLake path '`<path>`' must contain a workspace name.

### UC\_ONELAKE\_VOLUME\_REQUIRES\_LAKEHOUSE\_ITEM

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a volume in a OneLake catalog because the specified OneLake item is not a Lakehouse.

### UC\_ONELAKE\_WORKSPACE\_NOT\_UUID

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Azure OneLake path '`<path>`': the workspace component '`<workspace>`' must be a valid UUID.

### UC\_ONLINE\_CATALOG\_NOT\_MUTABLE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<rpcName>` request updates `<fieldName>`. Use the online store compute tab to modify anything other than comment, owner and isolationMode of an online catalog.

### UC\_ONLINE\_CATALOG\_QUOTA\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Cannot create more than `<quota>` online stores in the metastore and there is already `<currentCount>`. You may not have access to any existing online stores. Contact your metastore admin to be granted access or for further instructions.

### UC\_ONLINE\_INDEX\_CATALOG\_INVALID\_CRUD

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

online index catalogs must be `<action>` via the /vector-search API.

### UC\_ONLINE\_INDEX\_CATALOG\_NOT\_MUTABLE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `<rpcName>` request updates `<fieldName>`. Use the /vector-search API to modify anything other than comment, owner and isolationMode of an online index catalog.

### UC\_ONLINE\_INDEX\_CATALOG\_QUOTA\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Cannot create more than `<quota>` online index catalogs in the metastore and there is already `<currentCount>`. You may not have access to any existing online index catalogs. Contact your metastore admin to be granted access or for further instructions.

### UC\_ONLINE\_INDEX\_INVALID\_CRUD

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

online indexes must be `<action>` via the /vector-search API.

### UC\_ONLINE\_STORE\_INVALID\_CRUD

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

online stores must be `<action>` via the online store compute tab.

### UC\_ONLINE\_TABLE\_COLUMN\_NAME\_TOO\_LONG

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The source table column name `<columnName>` is too long. The maximum length is `<maxLength>` characters.

### UC\_ONLINE\_TABLE\_PRIMARY\_KEY\_COLUMN\_NOT\_IN\_SOURCE\_TABLE\_PRIMARY\_KEY\_CONSTRAINT

[SQLSTATE: 42P16](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` cannot be used as a primary key column of the online table because it is not part of the existing `PRIMARY KEY` constraint of the source table. For details, please see `<docLink>`

### UC\_ONLINE\_TABLE\_TIMESERIES\_KEY\_NOT\_IN\_SOURCE\_TABLE\_PRIMARY\_KEY\_CONSTRAINT

[SQLSTATE: 42P16](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` cannot be used as a timeseries key of the online table because it is not a timeseries column of the existing `PRIMARY KEY` constraint of the source table. For details, please see `<docLink>`

### UC\_ONLINE\_VIEWS\_PER\_SOURCE\_TABLE\_QUOTA\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Cannot create more than `<quota>` online table(s) per source table.

### UC\_ONLINE\_VIEW\_ACCESS\_DENIED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Accessing resource `<resourceName>` requires use of a Serverless SQL warehouse. Please ensure the warehouse being used to execute a query or view a database catalog in the UI is serverless. For details, please see `<docLink>`

### UC\_ONLINE\_VIEW\_CONTINUOUS\_QUOTA\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Cannot create more than `<quota>` continuous online views in the online store, and there is already `<currentCount>`. You may not have access to any existing online views. Contact your online store admin to be granted access or for further instructions.

### UC\_ONLINE\_VIEW\_DOES\_NOT\_SUPPORT\_DMK

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<tableKind>` can not be created under storage location with Databricks Managed Keys. Please choose a different schema/catalog in a storage location without Databricks Managed Keys encryption.

### UC\_ONLINE\_VIEW\_INVALID\_CATALOG

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid catalog `<catalogName>` with kind `<catalogKind>` to create `<tableKind>` within. `<tableKind>` can only be created under catalogs of kinds: `<validCatalogKinds>`.

### UC\_ONLINE\_VIEW\_INVALID\_SCHEMA

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid schema `<schemaName>` with kind `<schemaKind>` to create `<tableKind>` within. `<tableKind>` can only be created under schemas of kinds: `<validSchemaKinds>`.

### UC\_ONLINE\_VIEW\_INVALID\_TTL\_TIME\_COLUMN\_TYPE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<columnName>` of type `<columnType>` cannot be used as a TTL time column. Allowed types are `<supportedTypes>`.

### UC\_OPERATION\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Operation not supported by Unity Catalog. `<detailedMessage>`

### UC\_OUT\_OF\_AUTHORIZED\_PATHS\_SCOPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Authorized Path Error. The `<securableType>` location `<location>` is not defined within the authorized paths for catalog: `<catalogName>`. Please ask the catalog owner to add the path to the list of authorized paths defined on the catalog.

### UC\_OVERLAPPED\_AUTHORIZED\_PATHS

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The 'authorized\_paths' option contains overlapping paths: `<overlappingPaths>`. Ensure each path is unique and does not intersect with others in the list.

### UC\_PAGINATION\_AND\_QUERY\_ARGS\_MISMATCH

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The query argument '`<arg>`' is set to '`<received>`' which is different to the value used in the first pagination call ('`<expected>`')

### UC\_PAGINATION\_REQUIRED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The `<rpcName>` result set is too large to return in a single response. Please adopt the paginated version of this API by setting max\_results and paging through results with page\_token. Error code #UC-`<errorCodeArbitraryFiveLettersUpperCase>`

### UC\_PATH\_FILTER\_ALLOWLIST\_VIOLATION

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The credential '`<credentialName>`' is a workspace default credential that is only allowed to access data in the following paths: '`<allowlist>`'. Please ensure that any path accessed using this credential is under one of these paths.

### UC\_PATH\_FILTER\_DENYLIST\_VIOLATION

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The credential '`<credentialName>`' is a workspace default credential that cannot access data in the following restricted path: '`<targetPath>`'.

### UC\_PATH\_TOO\_LONG

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The input path is too long. Allowed length: `<maxLength>`. Input length: `<inputLength>`. Input: `<path>`...

### UC\_PER\_METASTORE\_DATABASE\_CONCURRENCY\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Concurrency limit exceeded for metastore `<metastoreId>`. Please try again later. If the problem persists, please reach out to support. Error code #UC-`<errorCodeArbitraryFiveLettersUpperCase>`

### UC\_POLICY\_TYPE\_OPTIONS\_MISMATCH

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Policy options do not match the specified policy\_type '`<policyType>`'. Expected '`<expectedOptions>`' options (required fields: `<expectedRequiredFields>`) but found '`<actualOptions>`' options.

### UC\_POSTGRESQL\_ONLINE\_VIEWS\_PER\_SOURCE\_TABLE\_QUOTA\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Cannot create more than `<quota>` synced database table(s) per source table.

### UC\_PRIMARY\_KEY\_ON\_NULLABLE\_COLUMN

[SQLSTATE: 42831](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the primary key `<constraintName>` because its child column(s) `<childColumnNames>` is nullable. Please change the column nullability and retry.

### UC\_REFERENTIAL\_CONSTRAINT\_DOES\_NOT\_EXIST

[SQLSTATE: 42830](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<tableName>` does not have either a primary key constraint or a `UNIQUE` constraint.

### UC\_REQUEST\_LIMIT\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Your request was rejected since your organization has exceeded the rate limit. Please retry your request later.

### UC\_REQUEST\_URL\_NOT\_RELATED\_TO\_TABLE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Request URL is not related to this `<tableType>` table. The request url = `<requestUrl>`. The table storage path is `<tableStorageUrl>`.`<additionalLocationInfo>`

### UC\_REQUEST\_URL\_REQUIRED\_FOR\_TABLE\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Request URL is required for table type `<tableType>`.

### UC\_RESOURCE\_QUOTA\_EXCEEDED

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Cannot create `<amount> <resourceType>`(s) in `<parentResourceType> <parentResourceId>` (estimated count: `<currentCount>`, limit: `<quotaLimit>`).

### UC\_ROOT\_STORAGE\_S3\_BUCKET\_NAME\_CONTAINS\_DOT

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Root storage S3 bucket name containing dots is not supported by Unity Catalog: `<uri>`

### UC\_SCHEMA\_EMPTY\_STORAGE\_LOCATION

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Unexpected empty storage location for schema '`<schemaName>`' in catalog '`<catalogName>`'. Please make sure the schema uses a path scheme of `<validPathSchemesListStr>`.

### UC\_SCHEMA\_FILTER\_TYPE\_UPDATE\_NOT\_ALLOWED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Catalog's schema filter type cannot be changed from `<fromType>` to `<toType>`. A schema filter can only be changed to `SCHEMA_FILTER_TYPE_INCLUDE_ALL`.

### UC\_SCHEMA\_FILTER\_UNSUPPORTED\_CATALOG\_TYPE

[SQLSTATE: 42809](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema filters are only supported on foreign catalogs. Catalog '`<catalogName>`' has type `<catalogType>`.

### UC\_SECRET\_USED\_BY\_CONNECTIONS

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Secret '`<secretFullName>`' cannot be deleted because it is used by `<connectionCount>` connection(s): `<connectionNames>`. Use the force option to delete anyway.

### UC\_SERVERLESS\_UNTRUSTED\_DOMAIN\_STORAGE\_TOKEN\_MINTING

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Serverless python and scala notebooks are prohibited from retrieving temporary storage credentials from Unity Catalog in network restricted workspaces.

### UC\_SHALLOW\_CLONE\_BASE\_TABLE\_DELETED

[SQLSTATE: 42S02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot access shallow clone '`<tableFullName>`' because its base table '`<baseTableName>`' has been deleted.

### UC\_STORAGE\_CREDENTIALS\_WITH\_EXTERNAL\_LOCATION\_DELETION\_DENIED

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Storage credential '`<credentialName>`' has `<extTablesCount>` directly dependent external table(s) and `<extLocationsCount>` dependent storage location(s). You may use force option to delete it but the managed storage data using this storage credential cannot be purged by Unity Catalog anymore.

### UC\_STORAGE\_CREDENTIALS\_WITH\_EXTERNAL\_LOCATION\_UPDATE\_DENIED

[SQLSTATE: 42893](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Storage credential '`<credentialName>`' has `<extTablesCount>` directly dependent external table(s) and `<extLocationsCount>` dependent storage location(s); use force option to update anyway.

### UC\_STORAGE\_CREDENTIAL\_ACCESS\_CONNECTOR\_PARSING\_FAILED

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to parse the provided access connector ID: `<accessConnectorId>`. Please verify its formatting and try again.

### UC\_STORAGE\_CREDENTIAL\_DBFS\_ROOT\_CREATION\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a storage credential for DBFS root because user: `<userId>` is not the admin of the workspace: `<workspaceId>`

### UC\_STORAGE\_CREDENTIAL\_DBFS\_ROOT\_PRIVATE\_DBFS\_ENABLED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

DBFS root storage credential is not yet supported for workspaces with Firewall-enabled DBFS

### UC\_STORAGE\_CREDENTIAL\_DBFS\_ROOT\_PRIVATE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

DBFS root storage credential for current workspace is not yet supported

### UC\_STORAGE\_CREDENTIAL\_DBFS\_ROOT\_WORKSPACE\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

DBFS root is not enabled for workspace `<workspaceId>`

### UC\_STORAGE\_CREDENTIAL\_FAILED\_TO\_OBTAIN\_VALIDATION\_TOKEN

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to obtain an AAD token to perform cloud permission validation on an access connector. Please retry the action.

### UC\_STORAGE\_CREDENTIAL\_GCP\_DOMAIN\_RESTRICTED\_SHARING

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to grant the Databricks service account access to the workspace storage bucket because your Google Cloud organization's Domain Restricted Sharing policy (iam.allowedPolicyMemberDomains) does not permit it. Please ask your account admin to allow the Databricks service account's domain in the organization policy.

### UC\_STORAGE\_CREDENTIAL\_INVALID\_CLOUD\_PERMISSIONS

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Registering a storage credential requires the contributor role over the corresponding access connector with ID `<accessConnectorId>`. Please contact your account admin.

### UC\_STORAGE\_CREDENTIAL\_METASTORE\_ROOT\_DELETION\_DENIED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Storage credential '`<credentialName>`' cannot be deleted because it is configured as this metastore's root credential. Please update the metastore's root credential before attempting deletion.

### UC\_STORAGE\_CREDENTIAL\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Only the account admin can create or update a storage credential with type `<storageCredentialType>`.

### UC\_STORAGE\_CREDENTIAL\_PRINCIPAL\_MISSING\_AZURE\_OBJECT\_ID

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The identity (id `<userId>`) used to validate this Azure credential is not associated with an Azure (Microsoft Entra ID) object ID, so its permissions on the Azure access connector cannot be verified. If this is a service principal, make sure it is an Azure (Microsoft Entra ID) service principal and run an identity provider (IdP) sync so its Azure object ID is populated, then retry.

### UC\_STORAGE\_CREDENTIAL\_SERVICE\_PRINCIPAL\_MISSING\_VALIDATION\_TOKEN

[SQLSTATE: 42KDI](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Missing validation token for service principal. Please provide a valid ARM-scoped Entra ID token in the 'X-Databricks-Azure-SP-Management-Token' request header and retry. For details, check [https://docs.databricks.com/api/workspace/storagecredentials](https://docs.databricks.com/api/workspace/storagecredentials)

### UC\_STORAGE\_CREDENTIAL\_TRUST\_POLICY\_IS\_OPEN

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The trust policy of the IAM role to allow Databricks Account to assume the role should require an external id. Please contact your account admin to add the external id condition. This behavior is to guard against the Confused Deputy problem ([https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html](https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html)).

### UC\_STORAGE\_CREDENTIAL\_WASBS\_NOT\_DBFS\_ROOT

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Location `<location>` is not inside the DBFS root, because of that we can't create an storage credential `<storageCredentialName>`

### UC\_STORAGE\_CREDENTIAL\_WORKSPACE\_API\_PROHIBITED

[SQLSTATE: 0AKD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating or updating a storage credential as a non-account admin is not supported in the account-level API. Please use the workspace-level API instead.

### UC\_STORAGE\_CREDENTIAL\_WS\_BUCKET\_INVALID\_LOCATION

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Location `<requestedLocation>` is not inside the allowed context `<allowedLocation>`

### UC\_STORAGE\_CREDENTIAL\_WS\_INTERNAL\_CATALOG\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Workspace internal catalog storage credential for current workspace is not yet supported

### UC\_SYSTEM\_SCHEMA\_NOT\_AVAILABLE\_FOR\_ENABLEMENT

[SQLSTATE: 57P03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

System schema `<systemSchema>` is not currently available for enablement. Please try again later.

### UC\_SYSTEM\_WORKSPACE\_GROUP\_PERMISSION\_UNSUPPORTED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot grant privileges on `<securableType>` to system generated group `<principal>`.

### UC\_TABLE\_COMMIT\_STORE\_MIGRATING

[SQLSTATE: 57P03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

The table '`<tableId>`' is temporarily unavailable due to an internal error. Please retry your request shortly.

### UC\_TABLE\_IS\_NOT\_CATALOG\_OWNED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Request to perform commit/getCommits for table '`<tableId>`' requires enabling Catalog owned feature on the table.

### UC\_TABLE\_TYPE\_NO\_STORAGE\_LOCATION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The table type `<tableType>` does not have a storage location.

### UC\_TAG\_ASSIGNMENT\_WITH\_KEY\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Tag assignment with tag key `<tagKey>` does not exist

### UC\_TAG\_POLICY\_VALUE\_NOT\_ALLOWED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Tag value `<tagValue>` is not an allowed value for tag policy key `<tagKey>`. Allowed values: \[`<allowedValues>`].

### UC\_TEMPORARY\_CREDENTIAL\_OPERATION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Temporary credential operation is not supported.

### UC\_TEMP\_CRED\_MINTING\_CALLER\_NOT\_ALLOWED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Caller is not allowed to mint Unity Catalog temporary credentials.

### UC\_TOO\_MANY\_CONCURRENT\_REQUESTS\_ON\_RESOURCE

[SQLSTATE: 53300](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Too many concurrent requests are targeting the same resource. Please reduce the concurrency and retry in a few moments. Error code #UC-`<errorCodeArbitraryFiveLettersUpperCase>`.

### UC\_UNDROP\_RESOURCE\_ID\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop '`<resourceType>`' because a '`<resourceType>`' with id '`<resourceId>`' already exists.

### UC\_UNDROP\_RESOURCE\_NAME\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop '`<resourceType>`' because a '`<resourceType>`' with name '`<resourceName>`' already exists.

### UC\_UNDROP\_RESOURCE\_NAME\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop '`<resourceType>`' because no '`<resourceType>`' with name '`<resourceName>`' qualifies for undrop. It might already be undropped, deleted beyond the maximum restoration period, or never existed.

### UC\_UNDROP\_RESOURCE\_NOT\_READY

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot undrop '`<resourceType>`' because the '`<resourceType>`' with id '`<resourceId>`' is not ready to be restored, please retry later.

### UC\_UNDROP\_RESOURCE\_PAST\_CUSTOM\_RETENTION\_PERIOD

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot undrop '`<resourceType>`' because the '`<resourceType>`' with id '`<resourceId>`' is beyond its custom restoration period.

### UC\_UNDROP\_RESOURCE\_PAST\_RECOVERABLE\_WINDOW

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot undrop '`<resourceType>`' because the '`<resourceType>`' with id '`<resourceId>`' is beyond the supported restoration period of '`<maxRestorationPeriodDay>`' days.

### UC\_UNDROP\_TOO\_MANY\_DELETED\_RESOURCES\_WITH\_DUPLICATED\_NAME

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot undrop '`<resourceType>`' by name because more than '`<limit>`' soft-deleted '`<resourceType>`' entities share the name '`<resourceName>`'. Use undrop by id to target a specific entity.

### UC\_UNIQUE\_CONSTRAINT\_NOT\_SUPPORTED

[SQLSTATE: 56038](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Failed to operate with `UNIQUE` constraint `<constraintName>`: `UNIQUE` constraint is not enabled.

### UC\_UNSUPPORTED\_HTTP\_CONNECTION\_BASE\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid base path provided, base path should be something like /api/resources/v1. Unsupported path: `<path>`

### UC\_UNSUPPORTED\_HTTP\_CONNECTION\_HOST

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid host name provided, host name should be something like [https://www.databricks.com](https://www.databricks.com) without path suffix. Unsupported host: `<host>`

### UC\_UNSUPPORTED\_LATIN\_CHARACTER\_IN\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Only basic Latin/Latin-1 `ASCII` chars are supported in external location/volume/table paths. Unsupported path: `<path>`

### UC\_UPDATE\_FORBIDDEN\_FOR\_PROVISIONING\_SECURABLE

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot update `<securableType>` '`<securableName>`' because it is being provisioned.

### UC\_USER\_CANNOT\_MODIFY\_EXTERNAL\_SECRETS

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

External secret modification is not supported. Please use your cloud provider's console to make changes.

### UC\_USING\_REF\_OF\_MASKED\_COLUMNS

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error evaluating ABAC policies on '`<resource>`'. Failed with message: Column '`<usingCol>`' has been masked by the ABAC policy '`<existingMaskingPolicy>`' and cannot be used in policy '`<policyName>`'.

### UC\_WRITE\_CONFLICT

[SQLSTATE: 40001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-40-transaction-rollback)

The `<type> <name>` has been modified by another request. Please retry the operation.

### UNDROP\_TABLE\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot undrop table because no table with name `<tableFullName>` qualifies for undrop. This table might be already undropped, deleted beyond the maximum restoration period, or had never existed.

### UNITY\_CATALOG\_EXTERNAL\_COORDINATED\_COMMITS\_REQUEST\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to perform commit/getCommits for table '`<tableId>`' from outside of Databricks Unity Catalog enabled compute environment is denied for security. Please contact Databricks support for integrations with Unity Catalog.

### UNITY\_CATALOG\_EXTERNAL\_CREATE\_MANAGED\_TABLE\_REQUIRES\_CATALOG\_MANAGED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to create managed table '`<tableFullName>`' from outside of Databricks Unity Catalog enabled compute environment requires catalogManaged feature to be enabled by setting table property 'delta.feature.catalogManaged'='supported'.

### UNITY\_CATALOG\_EXTERNAL\_CREATE\_STAGING\_TABLE\_REQUEST\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to create staging table '`<tableFullName>`' from outside of Databricks Unity Catalog enabled compute environment is denied for security. Please contact Databricks support for integrations with Unity Catalog.

### UNITY\_CATALOG\_EXTERNAL\_CREATE\_TABLE\_FAILED\_VALIDATION\_COLUMN\_MASKS\_DEFINED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to create table '`<tableFullName>`' from outside of Databricks Unity Catalog enabled compute environment is denied. Column masks are not supported when creating tables externally.

### UNITY\_CATALOG\_EXTERNAL\_CREATE\_TABLE\_FAILED\_VALIDATION\_DATA\_SOURCE\_FORMAT\_NOT\_DELTA

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to create table '`<tableFullName>`' from outside of Databricks Unity Catalog enabled compute environment is denied. Data source format must be `DELTA` to create table externally, instead it is '`<dataSourceFormat>`'.

### UNITY\_CATALOG\_EXTERNAL\_CREATE\_TABLE\_FAILED\_VALIDATION\_TABLE\_TYPE\_NOT\_EXTERNAL

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to create table '`<tableFullName>`' from outside of Databricks Unity Catalog enabled compute environment is denied. Table type must be `EXTERNAL` to create table externally, instead it is '`<tableType>`'.

### UNITY\_CATALOG\_EXTERNAL\_CREATE\_TABLE\_INFO\_CONTAINS\_INVALID\_FIELDS

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

External table creation only allows these fields: \[name, catalog\_name, schema\_name, table\_type, data\_source\_format, columns, storage\_location, and properties].

### UNITY\_CATALOG\_EXTERNAL\_CREATE\_TABLE\_REQUEST\_FOR\_NON\_EXTERNAL\_TABLE\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to create non-external table '`<tableFullName>`' from outside of Databricks Unity Catalog enabled compute environment is denied for security. Please contact Databricks support for integrations with Unity Catalog.

### UNITY\_CATALOG\_EXTERNAL\_DELETE\_TABLE\_REQUEST\_FOR\_NON\_EXTERNAL\_TABLE\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to delete non-external table '`<tableFullName>`' from outside of Databricks Unity Catalog enabled compute environment is not supported.

### UNITY\_CATALOG\_EXTERNAL\_GENERATE\_PATH\_CREDENTIALS\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to generate access credential for path '`<path>`' from outside of Databricks Unity Catalog enabled compute environment is denied for security. Please contact Databricks support for integrations with Unity Catalog.

### UNITY\_CATALOG\_EXTERNAL\_GENERATE\_TABLE\_CREDENTIALS\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to generate access credential for table '`<tableId>`' from outside of Databricks Unity Catalog enabled compute environment is denied for security. Please contact Databricks support for integrations with Unity Catalog.

### UNITY\_CATALOG\_EXTERNAL\_GENERATE\_TEMP\_PATH\_CRED\_FAILED\_VALIDATION\_CREDENTIAL\_ID\_DEFINED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to generate temporary path credential from outside of Databricks Unity Catalog enabled compute environment is denied. Credential ID must not be defined when generating temporary path credentials externally.

### UNITY\_CATALOG\_EXTERNAL\_GENERATE\_TEMP\_PATH\_CRED\_FAILED\_VALIDATION\_MAKE\_PATH\_ONLY\_PARENT\_DEFINED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to generate temporary path credential from outside of Databricks Unity Catalog enabled compute environment is denied. make\_path\_only\_parent must not be defined when generating temporary path credentials externally.

### UNITY\_CATALOG\_EXTERNAL\_GENERATE\_VOLUME\_CREDENTIALS\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to generate access credential for volume '`<volumeId>`' from outside of Databricks Unity Catalog enabled compute environment is denied for security. Please contact Databricks support for integrations with Unity Catalog.

### UNITY\_CATALOG\_EXTERNAL\_GENERATE\_VOLUME\_CREDENTIALS\_FOR\_SECURABLE\_KIND\_NOT\_SUPPORTED

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Request to generate access credential for '`<volumeSecurableKind>`' from outside of Databricks Unity Catalog enabled compute environment is denied for security. Please contact Databricks support for integrations with Unity Catalog.

### UNITY\_CATALOG\_EXTERNAL\_GET\_FOREIGN\_CREDENTIALS\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to get foreign credentials for securables from outside of Databricks Unity Catalog enabled compute environment is denied for security.

### UNITY\_CATALOG\_EXTERNAL\_UPDATA\_METADATA\_SNAPSHOT\_DENIED

[SQLSTATE: 42517](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request to update metadata snapshots from outside of Databricks Unity Catalog enabled compute environment is denied for security.

### UNSUPPORTED\_CREATE\_PIPELINE\_MANAGED\_TABLE\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot set 'pipeline\_id' when creating the `<tableType>` table '`<tableFullName>`'.

### UNSUPPORTED\_LOCATION\_SCHEME

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<fieldName>` has invalid URI scheme `<scheme>`. Valid URI schemes include `<validSchemes>`. Invalid path: `<path>`.

### UPDATE\_SYSTEM\_TABLE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

System owned table can't be modified. Table '`<tableName>`' is a system owned table.

### WRITE\_CREDENTIALS\_NOT\_SUPPORTED\_FOR\_LEGACY\_MANAGED\_ONLINE\_TABLE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invalid request to get write credentials for managed online table in an online catalog.

## Files API

### FILES\_API\_API\_IS\_NOT\_ENABLED

SQLSTATE: none assigned

`<api_name>` API is not enabled

### FILES\_API\_API\_IS\_NOT\_ENABLED\_FOR\_CLOUD\_PATHS

SQLSTATE: none assigned

Requested method of Files API is not supported for cloud paths

### FILES\_API\_API\_NOT\_IMPLEMENTED

SQLSTATE: none assigned

`<api_name>` API is not implemented yet

### FILES\_API\_AUTH\_SIGNING\_FAILED

SQLSTATE: none assigned

Failed to sign the Databricks URL.

### FILES\_API\_AWS\_ACCESS\_DENIED

SQLSTATE: none assigned

Access to the storage bucket is denied by AWS.

### FILES\_API\_AWS\_ALL\_ACCESS\_DISABLED

SQLSTATE: none assigned

All access to the storage bucket has been disabled in AWS.

### FILES\_API\_AWS\_BUCKET\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

The storage bucket does not exist in AWS.

### FILES\_API\_AWS\_FORBIDDEN

SQLSTATE: none assigned

Access to the storage bucket is forbidden by AWS.

### FILES\_API\_AWS\_INVALID\_AUTHORIZATION\_HEADER

SQLSTATE: none assigned

The workspace is misconfigured: it must be in the same region as the AWS workspace root storage bucket.

### FILES\_API\_AWS\_INVALID\_BUCKET\_NAME

SQLSTATE: none assigned

The storage bucket name is invalid.

### FILES\_API\_AWS\_KMS\_KEY\_DISABLED

SQLSTATE: none assigned

The configured KMS keys to access the storage bucket are disabled in AWS.

### FILES\_API\_AWS\_KMS\_KEY\_INVALID\_STATE

SQLSTATE: none assigned

The configured KMS key is in an invalid state.

### FILES\_API\_AWS\_PERMANENT\_REDIRECT

SQLSTATE: none assigned

The storage bucket address has permanently moved.

### FILES\_API\_AWS\_UNAUTHORIZED

SQLSTATE: none assigned

Access to AWS resource is unauthorized.

### FILES\_API\_AZURE\_ACCOUNT\_IS\_DISABLED

SQLSTATE: none assigned

The storage account is disabled in Azure.

### FILES\_API\_AZURE\_AUTHORIZATION\_PERMISSION\_MISMATCH

SQLSTATE: none assigned

The authorization permission mismatch.

### FILES\_API\_AZURE\_CMK\_NOT\_FOUND

SQLSTATE: none assigned

The managed encryption key can not be found.

### FILES\_API\_AZURE\_CMK\_SOFT\_DELETED

SQLSTATE: none assigned

The managed encryption key has been soft-deleted.

### FILES\_API\_AZURE\_CONTAINER\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

The Azure container does not exist.

### FILES\_API\_AZURE\_CREDENTIAL\_NOT\_FOUND

SQLSTATE: none assigned

Azure credential not found. The Azure credential may be missing or inaccessible.

### FILES\_API\_AZURE\_FORBIDDEN

SQLSTATE: none assigned

Access to the storage container is forbidden by Azure.

### FILES\_API\_AZURE\_HAS\_A\_LEASE

SQLSTATE: none assigned

Azure responded that there is currently a lease on the resource. Try again later.

### FILES\_API\_AZURE\_INSUFFICIENT\_ACCOUNT\_PERMISSION

SQLSTATE: none assigned

The account being accessed does not have sufficient permissions to execute this operation.

### FILES\_API\_AZURE\_INVALID\_STORAGE\_ACCOUNT\_CONFIGURATION

SQLSTATE: none assigned

The configuration of the account being accessed is not supported.

### FILES\_API\_AZURE\_INVALID\_STORAGE\_ACCOUNT\_NAME

SQLSTATE: none assigned

Cannot access storage account in Azure: invalid storage account name.

### FILES\_API\_AZURE\_KEY\_BASED\_AUTHENTICATION\_NOT\_PERMITTED

SQLSTATE: none assigned

Access to Azure Storage using account keys is not permitted because storage account access key authentication is disabled.

### FILES\_API\_AZURE\_KEY\_VAULT\_KEY\_NOT\_FOUND

SQLSTATE: none assigned

The Azure key vault key is not found in Azure. Check your customer-managed keys settings.

### FILES\_API\_AZURE\_KEY\_VAULT\_VAULT\_NOT\_FOUND

SQLSTATE: none assigned

The key vault vault is not found in Azure. Check your customer-managed keys settings.

### FILES\_API\_AZURE\_MI\_ACCESS\_CONNECTOR\_NOT\_FOUND

SQLSTATE: none assigned

Azure Managed Identity Credential with Access Connector not found. This could be because IP access controls rejected your request.

### FILES\_API\_AZURE\_OPERATION\_TIMEOUT

SQLSTATE: none assigned

The operation could not be completed within the permitted time.

### FILES\_API\_AZURE\_PATH\_INVALID

SQLSTATE: none assigned

The requested path is not valid for Azure.

### FILES\_API\_AZURE\_PATH\_IS\_IMMUTABLE

SQLSTATE: none assigned

The requested path is immutable.

### FILES\_API\_AZURE\_UNSUPPORTED\_HEADER

SQLSTATE: none assigned

One of the headers specified in operation is not supported.

### FILES\_API\_CANNOT\_PARSE\_URL\_PARAMETER

SQLSTATE: none assigned

The URL parameter cannot be parsed.

### FILES\_API\_CATALOG\_NOT\_FOUND

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_CLOUDFLARE\_BUCKET\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

The storage bucket does not exist.

### FILES\_API\_CLOUDFLARE\_FORBIDDEN

SQLSTATE: none assigned

Access to the storage bucket is forbidden.

### FILES\_API\_CLOUDFLARE\_UNAUTHORIZED

SQLSTATE: none assigned

Access to the storage resource is unauthorized.

### FILES\_API\_CLOUD\_PROVIDER\_UNAVAILABLE

SQLSTATE: none assigned

`<cloud_storage_provider>` is temporarily unavailable; try again later.

### FILES\_API\_CLOUD\_RESOURCE\_EXHAUSTED

SQLSTATE: none assigned

`<message>`

### FILES\_API\_CLOUD\_STORAGE\_PROVIDER\_CONNECTION\_ISSUE

SQLSTATE: none assigned

There's a connection issue reaching `<cloud_storage_provider>`. Please try again later.

### FILES\_API\_CMK\_NOT\_FOUND

SQLSTATE: none assigned

The managed encryption key can not be found.

### FILES\_API\_COLON\_IS\_NOT\_SUPPORTED\_IN\_PATH

SQLSTATE: none assigned

the ':' character is not supported in paths

### FILES\_API\_CONSUMER\_NETWORK\_ZONE\_NOT\_ALLOWED

SQLSTATE: none assigned

Consumer network zone "`<consumer_network_zone>`" is not allowed from requester network zone "`<requester_network_zone>`".

### FILES\_API\_CONSUMER\_NETWORK\_ZONE\_NOT\_SUPPORTED

SQLSTATE: none assigned

Consumer network zone "`<consumer_network_zone>`" is not supported.

### FILES\_API\_CONTROL\_PLANE\_NETWORK\_ZONE\_NOT\_ALLOWED

SQLSTATE: none assigned

Databricks Control plane network zone not allowed.

### FILES\_API\_CREDENTIAL\_NOT\_FOUND

SQLSTATE: none assigned

The credential was not found.

### FILES\_API\_DBFS\_PATH\_NOT\_IMPLEMENTED

SQLSTATE: none assigned

DBFS paths are not yet implemented

### FILES\_API\_DESTINATION\_ALREADY\_EXISTS

SQLSTATE: none assigned

A file already exists at the destination path.

### FILES\_API\_DIRECTORIES\_CANNOT\_HAVE\_BODIES

SQLSTATE: none assigned

A body was provided but directories cannot have a file body

### FILES\_API\_DIRECTORY\_IS\_NOT\_EMPTY

SQLSTATE: none assigned

The directory is not empty. This operation is not supported on non-empty directories.

### FILES\_API\_DIRECTORY\_IS\_NOT\_FOUND

SQLSTATE: none assigned

The directory being accessed is not found.

### FILES\_API\_DIRECTORY\_ZIP\_DOWNLOAD\_FILE\_LIMIT\_EXCEEDED

SQLSTATE: none assigned

Directory contains too many files for ZIP download. Maximum `<max_file_count>` files allowed.

### FILES\_API\_DMK\_ENCRYPTION\_ROOT\_KEY\_DISABLED

SQLSTATE: none assigned

The root key for the customer-managed encryption is disabled.

### FILES\_API\_DUPLICATED\_HEADER

SQLSTATE: none assigned

The request contained multiple copies of a header that is only allowed once.

### FILES\_API\_DUPLICATE\_QUERY\_PARAMETER

SQLSTATE: none assigned

Query parameter '`<parameter_name>`' must be present exactly once but was provided multiple times.

### FILES\_API\_EMPTY\_BUCKET\_NAME

SQLSTATE: none assigned

The DBFS bucket name is empty.

### FILES\_API\_ENCRYPTION\_KEY\_PERMISSION\_DENIED

SQLSTATE: none assigned

User does not have access to the encryption key.

### FILES\_API\_ENCRYPTION\_KEY\_RETRIEVAL\_OPERATION\_TIMEOUT

SQLSTATE: none assigned

The operation to retrieve encryption key could not be completed within the permitted time.

### FILES\_API\_ENTITY\_TOO\_LARGE

SQLSTATE: none assigned

Your object exceeds the maximum allowed object size.

### FILES\_API\_ERROR\_EXPIRED\_TTL

SQLSTATE: none assigned

The TTL has expired.

### FILES\_API\_ERROR\_INVALID\_TTL

SQLSTATE: none assigned

The TTL is invalid.

### FILES\_API\_ERROR\_KEY\_FOR\_WORKSPACE\_IS\_NOT\_FOUND

SQLSTATE: none assigned

The key for the workspace is not found.

### FILES\_API\_ERROR\_MISSING\_REQUIRED\_PARAM

SQLSTATE: none assigned

The URL is missing a required parameter.

### FILES\_API\_ERROR\_TTL\_IN\_THE\_FUTURE

SQLSTATE: none assigned

The TTL is in the future.

### FILES\_API\_ERROR\_URL\_INVALID\_ISSUER\_SHARD\_NAME

SQLSTATE: none assigned

The issuer shard name is invalid.

### FILES\_API\_EXPIRATION\_TIME\_MUST\_BE\_PRESENT

SQLSTATE: none assigned

expiration time must be present

### FILES\_API\_EXPIRED\_TOKEN

SQLSTATE: none assigned

The provided token has expired.

### FILES\_API\_EXPIRE\_TIME\_MUST\_BE\_IN\_THE\_FUTURE

SQLSTATE: none assigned

ExpireTime must be in the future

### FILES\_API\_EXPIRE\_TIME\_TOO\_FAR\_IN\_FUTURE

SQLSTATE: none assigned

Requested TTL is longer than supported (1 hour)

### FILES\_API\_EXTERNAL\_LOCATION\_PATH\_OVERLAP\_OTHER\_UC\_STORAGE\_ENTITY

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_FILE\_ALREADY\_EXISTS

SQLSTATE: none assigned

The file being created already exists.

### FILES\_API\_FILE\_NOT\_FOUND

SQLSTATE: none assigned

The file being accessed is not found.

### FILES\_API\_FILE\_OR\_DIRECTORY\_ENDS\_IN\_DOT

SQLSTATE: none assigned

Files or directories ending in the '.' character are not supported.

### FILES\_API\_FILE\_SIZE\_EXCEEDED

SQLSTATE: none assigned

File size shouldn't exceed `<max_download_size_in_bytes>` bytes, but `<size_in_bytes>` bytes were found.

### FILES\_API\_FILE\_TOO\_LARGE\_FOR\_COPY

SQLSTATE: none assigned

The file cannot be copied because its size (`<size_in_bytes>` bytes) exceeds the maximum supported size of `<max_size_in_bytes>` bytes.

### FILES\_API\_FILE\_TOO\_LARGE\_FOR\_MOVE

SQLSTATE: none assigned

The file cannot be moved because its size (`<size_in_bytes>` bytes) exceeds the maximum supported size of `<max_size_in_bytes>` bytes.

### FILES\_API\_GCP\_ACCOUNT\_IS\_DISABLED

SQLSTATE: none assigned

Access to the storage bucket has been disabled in GCP.

### FILES\_API\_GCP\_BUCKET\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

The storage bucket does not exist in GCP.

### FILES\_API\_GCP\_FORBIDDEN

SQLSTATE: none assigned

Access to the bucket is forbidden by GCP.

### FILES\_API\_GCP\_IAM\_AUTHENTICATION\_FAILURE

SQLSTATE: none assigned

Authentication failed for GCP IAM operation.

### FILES\_API\_GCP\_IAM\_CREDENTIALS\_NOT\_FOUND

SQLSTATE: none assigned

The specified GCP credentials do not exist or cannot be accessed.

### FILES\_API\_GCP\_IAM\_PERMISSION\_DENIED

SQLSTATE: none assigned

Permission denied for GCP IAM operation.

### FILES\_API\_GCP\_INVALID\_RESUMABLE\_UPLOAD\_CHUNK\_SIZE

SQLSTATE: none assigned

Invalid resumable upload chunk size. GCS requires non-final chunks to be at least 262144 bytes (256KB). Details: `<details>`

### FILES\_API\_GCP\_KEY\_DELETED

SQLSTATE: none assigned

The encryption key has been deleted or is no longer accessible.

### FILES\_API\_GCP\_KEY\_DISABLED\_OR\_DESTROYED

SQLSTATE: none assigned

The customer-managed encryption key configured for that location is either disabled or destroyed.

### FILES\_API\_GCP\_REQUEST\_IS\_PROHIBITED\_BY\_POLICY

SQLSTATE: none assigned

The GCP requests to the bucket are prohibited by policy, check the VPC service controls.

### FILES\_API\_GCP\_USER\_PROJECT\_ACCOUNT\_PROBLEM

SQLSTATE: none assigned

There is a problem with the GCP project used in the request that prevents the operation from completing successfully.

### FILES\_API\_HEADER\_COMBINATION\_NOT\_IMPLEMENTED

SQLSTATE: none assigned

The combination of headers `<header_names>` is not supported for this operation.

### FILES\_API\_HEADER\_NOT\_IMPLEMENTED

SQLSTATE: none assigned

The header `<header_name>` is not supported for this operation.

### FILES\_API\_HOST\_TEMPORARILY\_NOT\_AVAILABLE

SQLSTATE: none assigned

Cloud provider host is temporarily not available; please try again later.

### FILES\_API\_INVALID\_CONTENT\_LENGTH

SQLSTATE: none assigned

The value of the content-length header must be an integer greater than or equal to 0.

### FILES\_API\_INVALID\_CONTINUATION\_TOKEN

SQLSTATE: none assigned

The provided page token is not valid.

### FILES\_API\_INVALID\_ENDPOINT

SQLSTATE: none assigned

The API endpoint is invalid.

### FILES\_API\_INVALID\_HEADER\_VALUE

SQLSTATE: none assigned

The value of the header '`<header_name>`' is invalid.

### FILES\_API\_INVALID\_HOSTNAME

SQLSTATE: none assigned

The hostname is invalid.

### FILES\_API\_INVALID\_HTTP\_METHOD

SQLSTATE: none assigned

Invalid http method. Expected '`<expected>`' but got '`<actual>`'.

### FILES\_API\_INVALID\_METASTORE\_ID\_HEADER

SQLSTATE: none assigned

The metastore ID header is invalid.

### FILES\_API\_INVALID\_PAGE\_TOKEN

SQLSTATE: none assigned

invalid page token

### FILES\_API\_INVALID\_PATH

SQLSTATE: none assigned

Invalid path: `<validation_error>`

### FILES\_API\_INVALID\_RANGE

SQLSTATE: none assigned

The range header is invalid.

### FILES\_API\_INVALID\_RESOURCE\_FULL\_NAME

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_INVALID\_SESSION\_TOKEN

SQLSTATE: none assigned

Invalid session token

### FILES\_API\_INVALID\_SESSION\_TOKEN\_TYPE

SQLSTATE: none assigned

Invalid session token type. Expected '`<expected>`' but got '`<actual>`'.

### FILES\_API\_INVALID\_TIMESTAMP

SQLSTATE: none assigned

The timestamp is invalid.

### FILES\_API\_INVALID\_UPLOAD\_TYPE

SQLSTATE: none assigned

Invalid upload type. Expected '`<expected>`' but got '`<actual>`'.

### FILES\_API\_INVALID\_URL

SQLSTATE: none assigned

Invalid URL

### FILES\_API\_INVALID\_URL\_PARAMETER

SQLSTATE: none assigned

The URL passed as parameter is invalid

### FILES\_API\_INVALID\_VALUE\_FOR\_OVERWRITE\_QUERY\_PARAMETER

SQLSTATE: none assigned

Query parameter 'overwrite' must be one of: true,false but was: `<got_values>`

### FILES\_API\_INVALID\_VALUE\_FOR\_QUERY\_PARAMETER

SQLSTATE: none assigned

Query parameter '`<parameter_name>`' must be one of: `<expected>` but was: `<actual>`

### FILES\_API\_IP\_ACL\_PERMISSION\_DENIED

SQLSTATE: none assigned

Permission denied due to IP address (`<real_ip_address>`) not in IP Access List.

### FILES\_API\_MALFORMED\_REQUEST\_BODY

SQLSTATE: none assigned

Malformed request body

### FILES\_API\_MANAGED\_CATALOG\_FEATURE\_DISABLED

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_METASTORE\_NOT\_FOUND

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_METHOD\_IS\_NOT\_ENABLED\_FOR\_JOBS\_BACKGROUND\_COMPUTE\_ARTIFACT\_STORAGE

SQLSTATE: none assigned

Requested method of Files API is not supported for Jobs Background Compute Artifact Storage.

### FILES\_API\_METHOD\_IS\_NOT\_ENABLED\_FOR\_LAKEWATCH\_CONTENT

SQLSTATE: none assigned

Requested method of Files API is not supported for Lakewatch Content storage.

### FILES\_API\_MISSING\_CONTENT\_LENGTH

SQLSTATE: none assigned

The content-length header is required in the request.

### FILES\_API\_MISSING\_QUERY\_PARAMETER

SQLSTATE: none assigned

Query parameter '`<parameter_name>`' is required but is missing from the request.

### FILES\_API\_MISSING\_REAL\_IP\_ADDRESS

SQLSTATE: none assigned

Cannot determine the IP address when IP ACLs are being enforced.

### FILES\_API\_MISSING\_REQUIRED\_PARAMETER\_IN\_REQUEST

SQLSTATE: none assigned

The request is missing a required parameter.

### FILES\_API\_MLFLOW\_PERMISSION\_DENIED

SQLSTATE: none assigned

`<mlflow_error_message>`

### FILES\_API\_MLFLOW\_RESOURCE\_EXHAUSTED

SQLSTATE: none assigned

Request limit exceeded talking to mlflow service.

### FILES\_API\_MODEL\_VERSION\_IS\_NOT\_READY

SQLSTATE: none assigned

Model version is not ready yet

### FILES\_API\_MULTIPART\_UPLOAD\_ABORT\_PRESIGNED\_URL\_NOT\_SUPPORTED

SQLSTATE: none assigned

Presigned URLs for aborting multipart uploads are not supported for files stored on `<cloud_storage_provider>`.

### FILES\_API\_MULTIPART\_UPLOAD\_ABORT\_UPLOAD\_NOT\_SUPPORTED

SQLSTATE: none assigned

Aborting multipart uploads is not supported for files stored on `<cloud_storage_provider>`.

### FILES\_API\_MULTIPART\_UPLOAD\_CONFLICT

SQLSTATE: none assigned

The upload could not be completed because of a conflict. Please abort the upload and retry.

### FILES\_API\_MULTIPART\_UPLOAD\_EMPTY\_PART\_LIST

SQLSTATE: none assigned

The list of parts must have at least one element but was empty.

### FILES\_API\_MULTIPART\_UPLOAD\_INVALID\_PART

SQLSTATE: none assigned

One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.

### FILES\_API\_MULTIPART\_UPLOAD\_INVALID\_PART\_NUMBER

SQLSTATE: none assigned

Part numbers must be greater than or equal to `<min>` and smaller than or equal to `<max>`.

### FILES\_API\_MULTIPART\_UPLOAD\_MISSING\_ETAG

SQLSTATE: none assigned

ETags must be provided for files stored on `<cloud_storage_provider>`. At least one ETag was not provided or empty.

### FILES\_API\_MULTIPART\_UPLOAD\_MODIFIED\_STORAGE\_ENTITY\_STATE

SQLSTATE: none assigned

The internal state of the storage entity has been modified since the upload was initiated, for example, because the file path does not point to the same underlying cloud storage location. Proceed by initiating a new upload session.

### FILES\_API\_MULTIPART\_UPLOAD\_NON\_TRAILING\_PARTS\_WITH\_DIFFERENT\_SIZES

SQLSTATE: none assigned

The parts uploaded as part of a multipart upload session must be of the same size for files stored on `<cloud_storage_provider>`, except for the last part which can be smaller.

### FILES\_API\_MULTIPART\_UPLOAD\_PART\_SIZE\_OUT\_OF\_RANGE

SQLSTATE: none assigned

The size of the parts uploaded as part of a multipart upload session must be greater than or equal to `<min>` and smaller than or equal to `<max>`.

### FILES\_API\_MULTIPART\_UPLOAD\_SESSION\_NOT\_FOUND

SQLSTATE: none assigned

The upload session is not found. It may have been aborted or completed.

### FILES\_API\_MULTIPART\_UPLOAD\_UNORDERED\_PART\_LIST

SQLSTATE: none assigned

The list of part must be ordered by the part number but was unordered.

### FILES\_API\_NON\_ZERO\_CONTENT\_LENGTH

SQLSTATE: none assigned

The content-length header must be zero for this request.

### FILES\_API\_NOT\_ENABLED\_FOR\_PLACE

SQLSTATE: none assigned

Files API for `<place>` is not enabled for this workspace/account

### FILES\_API\_NOT\_MODIFIED

SQLSTATE: none assigned

The resource has not been modified.

### FILES\_API\_NOT\_SUPPORTED\_FOR\_INTERNAL\_WORKSPACE\_STORAGE

SQLSTATE: none assigned

Requested method of Files API is not supported for Internal Workspace Storage

### FILES\_API\_OPERATION\_MUST\_BE\_PRESENT

SQLSTATE: none assigned

operation must be present

### FILES\_API\_OPERATION\_NOT\_SUPPORTED\_FOR\_STORAGE

SQLSTATE: none assigned

The `<operation>` operation is not supported for this `<storage_type>`'s storage location.

### FILES\_API\_OPERATION\_TIMEOUT

SQLSTATE: none assigned

The operation timed out.

### FILES\_API\_PAGE\_SIZE\_MUST\_BE\_GREATER\_OR\_EQUAL\_TO\_ZERO

SQLSTATE: none assigned

page\_size must be greater than or equal to 0

### FILES\_API\_PATH\_BASED\_ACCESS\_TO\_TABLE\_WITH\_FILTER\_NOT\_ALLOWED

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_PATH\_END\_WITH\_A\_SLASH

SQLSTATE: none assigned

Paths ending in the '/' character represent directories. This API does not support operations on directories.

### FILES\_API\_PATH\_IS\_A\_DIRECTORY

SQLSTATE: none assigned

The given path points to an existing directory. This API does not support operations on directories.

### FILES\_API\_PATH\_IS\_A\_FILE

SQLSTATE: none assigned

The given path points to an existing file. This API does not support operations on files.

### FILES\_API\_PATH\_IS\_NOT\_A\_VALID\_UTF8\_ENCODED\_URL

SQLSTATE: none assigned

the given path was not a valid UTF-8 encoded URL

### FILES\_API\_PATH\_IS\_NOT\_ENABLED\_FOR\_DATAPLANE\_PROXY

SQLSTATE: none assigned

Given path is not enabled for data plane proxy

### FILES\_API\_PATH\_MUST\_BE\_PRESENT

SQLSTATE: none assigned

path must be present

### FILES\_API\_PATH\_NOT\_SUPPORTED

SQLSTATE: none assigned

`<rejection_message>`

### FILES\_API\_PATH\_TOO\_LONG

SQLSTATE: none assigned

Provided file path is too long.

### FILES\_API\_PRECONDITION\_FAILED

SQLSTATE: none assigned

The request failed due to a precondition.

### FILES\_API\_PRESIGNED\_URLS\_FOR\_MODELS\_NOT\_SUPPORTED

SQLSTATE: none assigned

Files API for presigned URLs for models are not supported at the moment

### FILES\_API\_PROBE\_WORKSPACE\_ID\_MISMATCH

SQLSTATE: none assigned

The workspace ID in the probe path does not match the request origin workspace.

### FILES\_API\_R2\_CREDENTIALS\_DISABLED

SQLSTATE: none assigned

R2 is unsupported at the moment.

### FILES\_API\_RANGE\_NOT\_SATISFIABLE

SQLSTATE: none assigned

The range requested is not satisfiable.

### FILES\_API\_RECURSIVE\_LIST\_IS\_NOT\_SUPPORTED

SQLSTATE: none assigned

Recursively listing files is not supported.

### FILES\_API\_REQUESTER\_NETWORK\_ZONE\_UNKNOWN

SQLSTATE: none assigned

Can't infer requester network zone.

### FILES\_API\_REQUEST\_GOT\_ROUTED\_INCORRECTLY

SQLSTATE: none assigned

Request got routed incorrectly

### FILES\_API\_REQUEST\_INTENDED\_FOR\_DIFFERENT\_SERVER

SQLSTATE: none assigned

The request could not be fulfilled by this server.

### FILES\_API\_REQUEST\_MUST\_INCLUDE\_ACCOUNT\_INFORMATION

SQLSTATE: none assigned

Request must include account information

### FILES\_API\_REQUEST\_MUST\_INCLUDE\_RECIPIENT\_INFORMATION

SQLSTATE: none assigned

Request must include recipient information.

### FILES\_API\_REQUEST\_MUST\_INCLUDE\_USER\_INFORMATION

SQLSTATE: none assigned

Request must include user information

### FILES\_API\_REQUEST\_MUST\_INCLUDE\_WORKSPACE\_INFORMATION

SQLSTATE: none assigned

Request must include workspace information

### FILES\_API\_RESOURCE\_IS\_READONLY

SQLSTATE: none assigned

Resource is read-only.

### FILES\_API\_RESOURCE\_NOT\_FOUND

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_SCHEMA\_NOT\_FOUND

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_SECURE\_URL\_CANT\_BE\_ACCESSED

SQLSTATE: none assigned

The URL can't be accessed.

### FILES\_API\_SIGNATURE\_VERIFICATION\_FAILED

SQLSTATE: none assigned

The signature verification failed.

### FILES\_API\_SOURCE\_CHANGED\_DURING\_MOVE

SQLSTATE: none assigned

The source file was modified during the move and the operation was aborted to avoid data loss.

### FILES\_API\_SOURCE\_OR\_DESTINATION\_CHANGED\_DURING\_MOVE

SQLSTATE: none assigned

The source or destination changed during the move and the operation was aborted to avoid data loss.

### FILES\_API\_STORAGE\_ACCESS\_CONTEXT\_INVALID

SQLSTATE: none assigned

Storage access context is invalid.

### FILES\_API\_STORAGE\_CONTEXT\_IS\_NOT\_SET

SQLSTATE: none assigned

Storage configuration for this workspace is not accessible.

### FILES\_API\_STORAGE\_CREDENTIAL\_NOT\_FOUND

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_STORAGE\_SETTINGS\_EXPIRED

SQLSTATE: none assigned

The provided storage settings have expired.

### FILES\_API\_STORAGE\_SETTINGS\_INVALID

SQLSTATE: none assigned

The provided storage settings are invalid: `<reason>`.

### FILES\_API\_STORAGE\_SETTINGS\_KEY\_MANAGER\_UNAVAILABLE

SQLSTATE: none assigned

Key Manager is temporarily unavailable to decrypt storage settings. Please retry the request.

### FILES\_API\_STORAGE\_SETTINGS\_NOT\_PROVIDED

SQLSTATE: none assigned

Storage settings are required for this request but were not provided.

### FILES\_API\_TABLE\_TYPE\_NOT\_SUPPORTED

SQLSTATE: none assigned

Files API is not supported for `<table_type>`

### FILES\_API\_UC\_AUTHENTICATION\_FAILURE

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_UC\_IAM\_ROLE\_NON\_SELF\_ASSUMING

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_UC\_MODEL\_INVALID\_STATE

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_UC\_PERMISSION\_DENIED

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_UC\_RESOURCE\_EXHAUSTED

SQLSTATE: none assigned

`<message>`

### FILES\_API\_UC\_TEMPORARILY\_UNAVAILABLE

SQLSTATE: none assigned

Unity Catalog is temporarily unavailable; please retry your request later.

### FILES\_API\_UC\_UNSUPPORTED\_LATIN\_CHARACTER\_IN\_PATH

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_UC\_VOLUME\_NAME\_CHANGED

SQLSTATE: none assigned

`<unity_catalog_error_message>`

### FILES\_API\_UNABLE\_TO\_RENEW\_AZURE\_MANAGED\_IDENTITIES

SQLSTATE: none assigned

Unable to renew Azure managed identity.

### FILES\_API\_UNEXPECTED\_ERROR\_WHILE\_PARSING\_URI

SQLSTATE: none assigned

Unexpected error when parsing the URI

### FILES\_API\_UNEXPECTED\_QUERY\_PARAMETERS

SQLSTATE: none assigned

Unexpected query parameters: `<unexpected_query_parameters>`

### FILES\_API\_UNKNOWN\_METHOD

SQLSTATE: none assigned

Unknown method `<method>`

### FILES\_API\_UNKNOWN\_SERVER\_ERROR

SQLSTATE: none assigned

Unknown server error.

### FILES\_API\_UNKNOWN\_URL\_HOST

SQLSTATE: none assigned

The URL host is unknown.

### FILES\_API\_UNSUPPORTED\_AUTHENTICATION\_METHOD

SQLSTATE: none assigned

The request was not authenticated correctly.

### FILES\_API\_UNSUPPORTED\_HTTP\_METHOD

SQLSTATE: none assigned

The httpMethod is not supported.

### FILES\_API\_UNSUPPORTED\_PARAMETERS\_COMBINATION

SQLSTATE: none assigned

The combination of parameters is not supported.

### FILES\_API\_UNSUPPORTED\_PATH

SQLSTATE: none assigned

The provided path is not supported by the Files API. Make sure the provided path does not contain instances of '../' or './' sequences. Make sure the provided path does not use multiple consecutive slashes (for example, '///').

### FILES\_API\_UNSUPPORTED\_URL

SQLSTATE: none assigned

The request URL is not supported (api\_version=`<api_version>`, auth\_method=`<auth_method>`).

### FILES\_API\_UPLOAD\_PART\_URLS\_COUNT\_MUST\_BE\_GREATER\_THAN\_ZERO

SQLSTATE: none assigned

Input parameter 'count' must be greater than 0.

### FILES\_API\_URL\_GENERATION\_DISABLED

SQLSTATE: none assigned

Presigned URL generation is not enabled for `<cloud>`.

### FILES\_API\_VOLUME\_TYPE\_NOT\_SUPPORTED

SQLSTATE: none assigned

Files API is not supported for `<volume_type>`.

### FILES\_API\_WORKSPACE\_IS\_CANCELED

SQLSTATE: none assigned

The workspace has been canceled.

### FILES\_API\_WORKSPACE\_IS\_NOT\_FOUND

SQLSTATE: none assigned

Storage configuration for this workspace is not accessible.

## Spark Declarative Pipelines on Lakeflow

### ABAC\_POLICY\_REQUIRES\_USER\_ACTION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

This pipeline update could not apply an attribute-based access control (ABAC) policy on one or more tables.

To proceed, exclude the pipeline's run-as principal from any affected ABAC policies, then re-run the update.

### ABNORMAL\_DRIVER\_TERMINATION

[SQLSTATE: 57P02](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Driver on cluster `<clusterId>` terminated abnormally due to `<terminationCause>`. Please check the driver logs for more details.

### ACTIVE\_UPDATE\_EXISTS\_FOR\_LINKED\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An active update '`<updateId>`' already exists for linked pipeline '`<linkedPipelineId>`'.

### ACTIVE\_UPDATE\_EXISTS\_FOR\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An active update '`<updateId>`' already exists for pipeline '`<pipelineId>`'.

### ADOBE\_CAMPAIGNS\_INVALID\_INSTANCE\_URL

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Adobe Campaigns connection option 'instance\_url' is missing or is not a valid URL: '`<instanceUrl>`'.

Set 'instance\_url' on the Unity Catalog connection to the Campaign instance base URL, for example 'https\://`<instance>`.campaign.adobe.com'.

### [ALTER\_NOT\_ALLOWED\_FOR\_PIPELINE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/alter-not-allowed-for-pipeline-table-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER` is not allowed on tables managed by a

For more details see [ALTER\_NOT\_ALLOWED\_FOR\_PIPELINE\_TABLE](https://docs.databricks.com/gcp/en/error-messages/alter-not-allowed-for-pipeline-table-error-class.md)

### ALTER\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User does not have permission `<action>` on `<tableName>`.

### ALTER\_SCHEDULE\_SCHEDULE\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot alter `<type>` on a table without an existing schedule or trigger. Please add a schedule or trigger to the table before attempting to alter it.

### AMBIGUOUS\_PIPELINE\_ENVIRONMENT\_VERSION\_PROVIDED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Mismatching client and environment version values provided. Please specify either client or environment version, but not both.

Specified client: `<clientVersion>`

Specified environment version: `<environmentVersion>`

### [API\_QUOTA\_EXCEEDED](https://docs.databricks.com/gcp/en/error-messages/api-quota-exceeded-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

You have exceeded the API quota for the data source `<sourceName>`.

For more details see [API\_QUOTA\_EXCEEDED](https://docs.databricks.com/gcp/en/error-messages/api-quota-exceeded-error-class.md)

### API\_SOURCE\_CONNECTOR\_OPTIONS\_NOT\_SUPPORTED\_FOR\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

api\_source\_connector\_options is not supported for source `<sourceType>`.

### APPLY\_CHANGES\_BITEMPORAL\_ACFS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

AUTO CDC `FROM SNAPSHOT` is not supported for TYPE `BITEMPORAL` tables.

### APPLY\_CHANGES\_BITEMPORAL\_AFTER\_IMAGE\_STATUS\_COLUMN\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`COLUMNS` TO `UPDATE` is not supported for TYPE `BITEMPORAL` tables.

### APPLY\_CHANGES\_BITEMPORAL\_IGNORE\_NULL\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`IGNORE NULL UPDATES` is not supported for TYPE `BITEMPORAL` tables.

### APPLY\_CHANGES\_BITEMPORAL\_MULTI\_FLOW\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Multi-flow is not supported for TYPE `BITEMPORAL` tables.

### APPLY\_CHANGES\_BITEMPORAL\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Feature TYPE `BITEMPORAL` is in preview and not enabled for your workspace. Please reach out to your Databricks representative to learn more about this feature and access the private preview.

### APPLY\_CHANGES\_BITEMPORAL\_REQUIRES\_DBR\_17\_3\_PLUS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

TYPE `BITEMPORAL` requires Databricks Runtime 17.3 or higher (current Spark version: `<currentSparkVersion>`).

### APPLY\_CHANGES\_BITEMPORAL\_SYSTEM\_SEQUENCING\_REQUIRED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`SYSTEM SEQUENCING` is required for TYPE `BITEMPORAL` tables.

### APPLY\_CHANGES\_BITEMPORAL\_TRACK\_HISTORY\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`TRACK HISTORY ON` is not supported for TYPE `BITEMPORAL` tables.

### APPLY\_CHANGES\_BITEMPORAL\_TRUNCATE\_CONDITION\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`APPLY AS TRUNCATE` is not supported for TYPE `BITEMPORAL` tables.

### [APPLY\_CHANGES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/apply-changes-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An error occurred during the `AUTO CDC` operation.

For more details see [APPLY\_CHANGES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/apply-changes-error-error-class.md)

### [APPLY\_CHANGES\_FROM\_SNAPSHOT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/apply-changes-from-snapshot-error-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

An error occurred during the `AUTO CDC FROM SNAPSHOT` operation.

For more details see [APPLY\_CHANGES\_FROM\_SNAPSHOT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/apply-changes-from-snapshot-error-error-class.md)

### APPLY\_CHANGES\_FROM\_SNAPSHOT\_EXPECTATIONS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Dataset `<datasetName>` has expectations defined, but expectations are not currently supported for datasets using `AUTO CDC FROM SNAPSHOT`.

Remove the expectations to resolve this error. As an alternative, consider using the following structure to apply expectations by combining `AUTO CDC` and `AUTO CDC FROM SNAPSHOT`:

1. Apply changes from snapshot using SCD type 1 to an intermediate table without expectations.

2. Read changes from the intermediate table using `spark.readStream.option("readChangeFeed", "true").table`.

3. Apply changes from the intermediate table to the final target table using `dlt.apply_changes` with the following parameters in addition to those currently used with `dlt.apply_changes_from_snapshot`:

* To handle changes: `apply_as_deletes = "_change_type == 'delete'"`

* To remove columns added by the CDF: `except_column_list = ["_change_type", "_commit_version", "_commit_timestamp"]`

4. Include the current set of expectations on the final target table used for `dlt.apply_changes`.

### APPLY\_CHANGES\_PARTIAL\_UPDATES\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Feature `COLUMNS` TO `UPDATE` is not enabled for your workspace.

### APPLY\_CHANGES\_SEQUENCE\_BY\_TYPE\_CHANGED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `SEQUENCE BY` column type for table `<tableName>` has changed from `<existingType>` to `<newType>`. Changing the `SEQUENCE BY` column type is not allowed without a full refresh. Please restart the pipeline with full refresh.

### APPLY\_CHANGES\_SYSTEM\_SEQUENCING\_REQUIRES\_BITEMPORAL

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`system_sequence_by` is only supported when `stored_as_scd_type` is "bitemporal".

Set `stored_as_scd_type="bitemporal"` to create a bitemporal table, or remove

`system_sequence_by`.

### APPLY\_ENVIRONMENT\_CLUSTER\_NOT\_AVAILABLE

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Pipeline compute for `<pipelineId>` is not available. The pipeline compute may have stopped or may still be starting up.

Please try again later when the compute is fully available. If the problem persists, please contact Databricks support.

### APPLY\_ENVIRONMENT\_CLUSTER\_NOT\_FOUND

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Pipeline compute for `<pipelineId>` is not found. This pipeline compute may have never started or has already stopped. Please start the pipeline

before applying environment.

### APPLY\_ENVIRONMENT\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

ApplyEnvironment endpoint is not supported.

### [ARCHITECTURE\_MIGRATION\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/architecture-migration-failure-error-class.md)

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

For more details see [ARCHITECTURE\_MIGRATION\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/architecture-migration-failure-error-class.md)

### ARCLIGHT\_REQUIRES\_SERVERLESS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipelines targeting catalogs using Default Storage must use serverless compute. If you don't have access to serverless compute, please contact Databricks to enable this feature for your workspace.

### ATLASSIAN\_INCLUDE\_SPACES\_CHANGED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `include_spaces` setting for the `<sourceType>` connector cannot be changed during an incremental update after destination table `<tableName>` has been created.

Restore the original `include_spaces` setting, perform a full refresh, or create a new destination table.

### AUTO\_CDC\_FROM\_SNAPSHOT\_NON\_EMPTY\_TARGET\_WITHOUT\_VERSION

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

AUTO CDC `FROM SNAPSHOT` on target `<target>` requires a `WITH VERSION` clause because the target already contains data or has processed a snapshot. Add a `WITH VERSION` clause or run a full refresh.

### AUTO\_CDC\_FROM\_SNAPSHOT\_VERSION\_SCHEMA\_CHANGED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The `VERSION` type for AUTO CDC `FROM SNAPSHOT` on target `<target>` changed from `<previousType>` to `<currentType>`. Change your query to use the previous type or run a full refresh to use the new one.

### AUTO\_FULL\_REFRESH\_DISABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Full Refresh is disabled for the table `<tableName>`.

### AUTO\_FULL\_REFRESH\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Full refresh failed for table `<tableName>` because `<reason>`.

### AUTO\_FULL\_REFRESH\_THROTTLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Full refresh failed. Table `<tableName>` was auto full refreshed at `<timestamp>` and minimum interval before the next auto full refresh is: `<minInterval>` minutes.

### [AUTO\_MIGRATION\_ENVIRONMENT\_VERSION\_ENABLEMENT\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/auto-migration-environment-version-enablement-blocked-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Spark Declarative Pipelines on Lakeflow is rolling out a platform improvement to modernize this pipeline to environment version and detected that enabling it for this pipeline might change its behavior. This update was aborted safely before any data was written and will automatically retry with the change reverted on the next run — no action is needed from you.

Cause:

For more details see [AUTO\_MIGRATION\_ENVIRONMENT\_VERSION\_ENABLEMENT\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/auto-migration-environment-version-enablement-blocked-error-class.md)

### AUTO\_ROUTER\_DOWNSTREAM\_SCHEMA\_MISMATCH

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The flow '`<flowName>`' reading from auto router '`<routerName>`' writes to '`<destination>`', whose declared schema does not match the flow's output schema.

Remove the explicit schema from the destination so it is inferred from the flow, or make the declared schema match the flow's output.

### AUTO\_ROUTER\_DUPLICATE\_SOURCE\_NAME

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Two streaming sources feeding auto router '`<routerName>`' have the name '`<sourceName>`'. Source names must be unique so source evolution can key each source's offsets by name.

Give each streaming source feeding an auto router that orders its inputs with depends\_on a distinct name via readStream.name(...).

### AUTO\_ROUTER\_INCONSISTENT\_INPUT\_SCHEMAS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The flow '`<flowName>`' writing into auto router '`<routerName>`' has a schema that does not match the router's other input flows.

All flows writing into an auto router must produce the same columns and types.

### AUTO\_ROUTER\_MULTIPLE\_STREAMING\_SOURCES

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The flow '`<flowName>`' reading from auto router '`<routerName>`' reads more than one streaming source, which is not supported by the `SYNCHRONIZED` auto router policy.

A flow reading from an auto router must read only that one router (do not union it with another stream or read multiple routers).

### AUTO\_ROUTER\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The create\_auto\_router() API is not enabled for this workspace. Contact your Databricks representative to enable this preview.

### AUTO\_ROUTER\_STATEFUL\_DOWNSTREAM

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The flow '`<flowName>`' reading from auto router '`<routerName>`' contains a cross-batch stateful streaming aggregate, which is not supported by the `SYNCHRONIZED` auto router policy.

Move the aggregate to a separate streaming table downstream of the router's destination, or remove it from the flow reading the router.

### AUTO\_ROUTER\_UNNAMED\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The flow '`<flowName>`' writing into auto router '`<routerName>`' has an unnamed streaming source. This router orders its inputs with depends\_on, so it runs them in phases that require every source to be named.

Name each streaming source feeding the router via readStream.name("...") (for example, spark.readStream.name("backfill")).

### AUTO\_ROUTER\_UNSUPPORTED\_DOWNSTREAM

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The flow '`<flowName>`' reading from auto router '`<routerName>`' writes to '`<destination>`' (`<destinationType>`), which is not a supported auto router destination.

Auto router downstreams must be streaming tables or Delta sinks.

### AUTO\_ROUTER\_UNSUPPORTED\_INPUT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The flow '`<flowName>`' writing into auto router '`<routerName>`' is not an append (streaming) flow, which is the only input type supported by the `SYNCHRONIZED` auto router policy.

Auto router inputs must be streaming append flows.

### AUTO\_TTL\_INVALID\_EXPIRE\_IN\_DAYS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value for `expireInDays`: `<expireInDays>`.

Must be a non-negative integer (>= 0).

### AUTO\_TTL\_INVALID\_TIMESTAMP\_COLUMN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value for `timestampColumn`: must be a non-empty string.

### AUTO\_TTL\_MISSING\_REQUIRED\_KEY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`auto_ttl` is missing required key '`<key>`'.

Expected format: `<expectedFormat>`

### AUTO\_TTL\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Auto-TTL is not enabled for your workspace.

Please reach out to your Databricks representative to learn more about this feature.

### AUTO\_TTL\_NOT\_SUPPORTED\_ON\_MATERIALIZED\_VIEW

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto-TTL is only supported on streaming tables, not materialized views.

Remove the auto\_ttl configuration from table '`<tableName>`' or use a streaming query.

### AUTO\_TTL\_RESERVED\_TABLE\_PROPERTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Setting Auto-TTL properties (`<keys>`) via `table_properties` is not allowed.

Use the `auto_ttl` parameter instead.

### AUTO\_TTL\_UNEXPECTED\_KEYS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`auto_ttl` contains unexpected keys: `<keys>`.

Expected keys: `<expectedKeys>`.

### AWS\_S3\_KMS\_KEY\_PENDING\_DELETION

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

An AWS KMS key used to encrypt S3 data for this pipeline is pending deletion.

Contact the key owner to cancel the deletion and restore access, then retry the pipeline.

### AWS\_S3\_NO\_SUCH\_BUCKET

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Requested AWS S3 bucket does not exist. Please contact your account admin to resolve the issue.

### AWS\_S3\_OBJECT\_LOCK\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The AWS S3 bucket '`<bucket>`' used by this pipeline has Object Lock enabled, which is not supported.

Please disable Object Lock on this bucket.

### AWS\_STORAGE\_ACCESS\_BLOCKED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An AWS storage request was not authorized.

Validate your AWS storage credentials or firewall exception settings.

### AZURE\_ACTIVE\_DIRECTORY\_APPLICATION\_DISABLED

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Unable to sign in to the application.

The service principal is disabled on the resource tenant.

Contact the tenant owners to determine why it was disabled and re-enable it if appropriate.

### AZURE\_ACTIVE\_DIRECTORY\_AUTHENTICATION\_FAILED

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Azure Active Directory authentication failed (AADSTS5000224).

Trace ID: `<traceId>`, Correlation ID: `<correlationId>`.

Verify that the Azure Active Directory is correctly configured and accessible. Contact Microsoft support if the issue persists.

### AZURE\_CLIENT\_SECRET\_KEY\_EXPIRED

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

The provided Azure client secret keys are expired. Visit the Azure portal to create new keys for your app: [https://aka.ms/NewClientSecret](https://aka.ms/NewClientSecret),

or consider using certificate credentials for added security: [https://aka.ms/certCreds](https://aka.ms/certCreds)

### AZURE\_CLIENT\_SECRET\_KEY\_INVALID

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

The provided Azure client secret keys are invalid.

Ensure the secret being sent in the request is the client secret value, not the client secret ID.

### AZURE\_MANAGED\_IDENTITY\_CREDENTIAL\_NOT\_FOUND

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Azure Managed Identity Credential with Access Connector Id `<accessConnectorId>` was not found for account `<accountId>`.

Verify that the credential exists and is correctly configured.

### AZURE\_MANAGED\_IDENTITY\_CREDENTIAL\_WITH\_IDENTITY\_NOT\_FOUND

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Azure Managed Identity Credential with Access Connector Id `<accessConnectorId>` and Managed Identity ID `<managedIdentityId>` was not found for account `<accountId>`.

Verify that the credential and managed identity exist and are correctly configured.

### AZURE\_STORAGE\_ACCESS\_BLOCKED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An Azure storage request was not authorized. The storage account's 'Firewalls and virtual networks' settings may be blocking access to storage services.

Validate your Azure storage credentials or firewall exception settings.

### AZURE\_STORAGE\_CREDENTIAL\_NOT\_CONFIGURED\_CORRECTLY

[SQLSTATE: 08001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Failed to get credentials: Storage Credential is not configured correctly. Please contact your account admin to update the configuration.

### AZURE\_STORAGE\_HOSTNAME\_RESOLUTION\_FAILED

[SQLSTATE: 08001](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Failed to resolve Azure storage hostname: `<hostname>`.

Check that DNS is properly configured and the storage account is accessible from your network.

### AZURE\_STORAGE\_INVALID\_CONFIGURATION

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

Failed to initialize configuration for storage account `<storageAccount>`.

Invalid configuration value detected for `<configKey>`.

Check that the storage account is configured correctly.

### AZURE\_STORAGE\_REQUEST\_NOT\_AUTHORIZED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The request to Azure storage was not authorized by network security perimeter.

Verify that the storage is correctly configured and accessible.

### BIGQUERY\_DATA\_CONNECTOR\_SOURCE\_CATALOG\_MISSING

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the BigQuery data connector.

The 'source catalog' (GCP Project ID) is missing in your ingestion specification.

Please specify the source catalog (project ID) in your ingestion specification to resolve this issue.

### BUDGET\_POLICY\_CHECK\_UNAVAILABLE

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

An internal error occurred while starting the pipeline update.

Please retry the update. If the problem persists, contact your Databricks administrator.

### BUDGET\_POLICY\_DENIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline's budget policy does not allow this operation. Please contact your billing administrator.

### BYOK\_WORKSPACE\_MISCONFIGURED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot start the update because the workspace's customer-managed key (BYOK) is misconfigured. Please contact your workspace administrator to fix the BYOK configuration.

### CANCEL\_NOT\_SUPPORTED\_FOR\_DP\_INITIATED\_UPDATE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot cancel update '`<updateId>`' on pipeline '`<pipelineId>`' from the control plane.

This update was initiated from some other parent workload (`<cause>`), and can only be canceled by interrupting the originating command.

### CANNOT\_ADD\_COLUMN\_TO\_INCLUDE\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

New columns (`<columnNames>`) are added to include\_columns field in pipeline definition for the table `<qualifiedTableName>`. Please full refresh the table to avoid potential data loss or remove these columns from include\_columns.

### CANNOT\_ADD\_PARTITION\_COLUMNS\_TO\_CLUSTERED\_TABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add partition columns to table `<tableName>` because the table uses `CLUSTER BY`.

Remove either `CLUSTER BY` or the partition columns from the table definition. If the table is already clustered and you want to switch to partitioning, remove `CLUSTER BY` and trigger a full refresh of this table.

### CANNOT\_ADD\_STORAGE\_LOCATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add storage location to an existing pipeline with defined catalog, if you want to set a storage location create a new pipeline.

Existing catalog: '`<catalog>`'.

Requested storage location: `<storageLocation>`.

### [CANNOT\_ADD\_TABLES\_AFTER\_SCHEMA\_LOCATION\_CHANGE](https://docs.databricks.com/gcp/en/error-messages/cannot-add-tables-after-schema-location-change-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add new tables to pipeline because the target schema's storage location has changed.

Schema '`<schemaName>`' now has storage location: `<newStorageLocation>`

New tables that cannot be created: `<newTableNames>`

Options to resolve:

1. Remove the new table definitions from your pipeline

For more details see [CANNOT\_ADD\_TABLES\_AFTER\_SCHEMA\_LOCATION\_CHANGE](https://docs.databricks.com/gcp/en/error-messages/cannot-add-tables-after-schema-location-change-error-class.md)

### CANNOT\_ADOPT\_MANAGED\_TABLE\_INCOMPATIBLE\_SCHEMA

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not adopt the existing table `<identifier>` into this pipeline because its schema is incompatible with the schema this pipeline produces for the table: `<reason>`

### CANNOT\_CHANGE\_COLUMN\_MAPPING\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot change column mapping mode from '`<existingColumnMappingMode>`' to '`<requestedColumnMappingMode>`' for table '`<tableName>`'.

### CANNOT\_CHANGE\_COLUMN\_SELECTION\_WITHOUT\_FULL\_REFRESH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column selection for table `<qualifiedTableName>` changed (include\_columns / exclude\_columns). A full refresh of the table is required on the Managed Ingestion pipeline.

### CANNOT\_CHANGE\_DATASET\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot change the dataset type of a pipeline table from `<existingType>` to `<newType>` for `<identifier>`.

To change the dataset type, please drop the existing dataset first.

### CANNOT\_CHANGE\_TABLE\_MODEL\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot redefine `<identifier>` because it would change the existing table's type.

A managed table (created via the create\_table() API or `CREATE TABLE name FLOW ...`) and a streaming table or materialized view cannot take over each other's name.

To reuse this name with a different table type, please drop the existing table first.

### CANNOT\_CLUSTER\_BY\_NON\_EXISTENT\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline definition clusters by columns (`<columnNames>`) that do not exist in the table `<qualifiedTableName>` of source `<sourceType>`. Remove these columns from the clustering\_columns field.

### CANNOT\_COMPOSE\_DECORATOR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `@<decoratorName>` decorator cannot be composed with `<otherDecorators>`.

### CANNOT\_DELETE\_DATASET\_FOR\_NON\_UC\_PIPELINE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot set the cascade parameter to true for HMS pipelines. Spark Declarative Pipelines on Lakeflow service cannot cascade delete HMS tables

on pipeline deletion. Please set the cascade parameter to false or omit to delete pipeline '`<pipelineId>`'.

### CANNOT\_DELETE\_PIPELINE\_CLEANUP\_FAILED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot delete pipeline '`<pipelineId>`': failed to cleanup resources on cluster '`<clusterId>`'.

Use the 'force' parameter to delete the pipeline without resource cleanup.

### CANNOT\_DELETE\_PIPELINE\_CLUSTER\_UNAVAILABLE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot delete pipeline '`<pipelineId>`': cluster '`<clusterId>`' is unavailable for resource cleanup.

Use the 'force' parameter to delete the pipeline without resource cleanup.

### CANNOT\_DELETE\_PIPELINE\_NO\_ACTIVE\_CLUSTER

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Cannot delete pipeline '`<pipelineId>`': no active cluster found to cleanup resources.

Use the 'force' parameter to delete the pipeline without resource cleanup.

### CANNOT\_EXCLUDE\_NON\_EXISTENT\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline definition excludes columns (`<columnNames>`) that do not exist in the table `<qualifiedTableName>` of source `<sourceType>`. Please remove these columns from the exclude\_columns field.

### CANNOT\_FILTER\_OUT\_REQUIRED\_COLUMN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline definition does not include required columns (`<columnNames>`) in the table `<qualifiedTableName>` of source `<sourceType>` for ingestion. Please add them to include\_columns or remove them from exclude\_columns.

### CANNOT\_INCLUDE\_NON\_EXISTENT\_COLUMN

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline definition includes columns (`<columnNames>`) that do not exist or are not accessible in the table `<qualifiedTableName>` of source `<sourceType>`. Please remove these columns from the include\_columns field.

### CANNOT\_INGEST\_TABLE\_WITHOUT\_PRIMARY\_KEY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table `<qualifiedTableName>` in the `<sourceType>` source doesn't have a primary key.

Please specify a primary key in connector configuration to ingest the table if it exists.

### CANNOT\_MODIFY\_PIPELINE\_OWNER\_FOR\_UC\_PIPELINES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Changing owner for non-UC pipelines is not supported yet.

### CANNOT\_MODIFY\_PIPELINE\_OWNER\_PERMISSION\_DENIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Only workspace admins can change pipeline owner.

### CANNOT\_MODIFY\_PIPELINE\_OWNER\_WHEN\_MISSING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

New owner does not exist.

### CANNOT\_MODIFY\_PIPELINE\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

pipeline\_type cannot be updated.

Current pipeline\_type: `<currentPipelineType>`.

Updated pipeline\_type: `<requestedPipelineType>`.

### CANNOT\_MODIFY\_STORAGE\_LOCATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot modify storage location of an existing pipeline.

Existing storage location: '`<existingStorageLocation>`'.

Requested storage location: `<requestedStorageLocation>`.

### CANNOT\_REMOVE\_COLUMN\_FROM\_EXCLUDE\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Columns (`<columnNames>`) are removed from exclude\_columns field in pipeline definition for the table `<qualifiedTableName>`. Please full refresh the table to avoid potential data loss or add these columns back to exclude\_columns.

### CANNOT\_REMOVE\_COLUMN\_MAPPING\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot remove column mapping mode '`<existingColumnMappingMode>`' for table '`<tableName>`'.

To remove column mapping, trigger a full refresh of the table along with the removal of the column mapping mode configuration.

Alternatively, restore the column mapping mode configuration in your table definition.

### CANNOT\_REMOVE\_PIPELINE\_ENVIRONMENT\_VERSION

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Environment version cannot be removed from a pipeline once set.

Current environment\_version: `<currentEnvironmentVersion>`.

To change it, specify a different environment version in the pipeline spec; to keep the existing behavior, leave the field as `<currentEnvironmentVersion>`.

### CANNOT\_SET\_CATALOG\_FOR\_HMS\_PIPELINE

[SQLSTATE: 42613](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add catalog to an existing pipeline with defined storage location, if you want to use UC create a new pipeline and set catalog.

Existing storage location: '`<storageLocation>`'

Requested catalog: '`<catalog>`'

### CANNOT\_SET\_LINKED\_PIPELINE\_ID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline ids are the same, setting the linked pipeline ids will cause deadlock.

### [CANNOT\_SET\_SCHEMA\_FOR\_EXISTING\_PIPELINE](https://docs.databricks.com/gcp/en/error-messages/cannot-set-schema-for-existing-pipeline-error-class.md)

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Specified 'schema' field in the pipeline settings for pipeline '`<pipelineName>`' is illegal. Reason:

For more details see [CANNOT\_SET\_SCHEMA\_FOR\_EXISTING\_PIPELINE](https://docs.databricks.com/gcp/en/error-messages/cannot-set-schema-for-existing-pipeline-error-class.md)

### CANNOT\_SET\_TOGETHER

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<argList>` are mutually exclusive and can't be set together.

### CANNOT\_SPECIFY\_BOTH\_INCLUDE\_EXCLUDE\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline definition specifies both include\_columns and exclude\_columns for `<identifier>`. Please remove one of them.

### CANNOT\_UPDATE\_CLUSTERING\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update clustering columns for table `<tableName>` since it is using partition columns. A table can either use partition columns or clustering columns, but not both.

To switch between liquid clustering and partitioning, trigger a full refresh of this table.

### CANNOT\_UPDATE\_PARTITION\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot update partition columns for streaming table `<tableName>`.

Current: `<existingPartitionColumns>`,

Requested: `<requestedPartitionColumns>`

To apply this partition change, trigger a full refresh of this table and any other streaming tables that have updated partition columns.

Alternatively revert this change to continue using the existing partition columns.

### CANNOT\_UPDATE\_TABLE\_SCHEMA

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to merge the current and new schemas for table `<tableName>`.

To proceed with this schema change, you can trigger a full refresh of this table.

Depending on your use case and the schema changes, you may be able to obviate the schema change -- you can update your queries so the output schema is compatible with the existing schema (e.g, by explicitly casting columns to the correct data type).

### CANNOT\_WRITE\_TO\_INACTIVE\_COLUMNS

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

`<details>`

However, the destination table(s) already has inactive column(s) with this name; the columns are inactive because they were previously deleted from the source tables.

To proceed with the update, run a `FULL REFRESH` on the tables.

### CANNOT\_WRITE\_TO\_INACTIVE\_TABLES

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The following tables in the destination are inactive and conflict with the current source tables: `<tables>`.

These tables remain inactive because they were previously deleted from the source or unselected from the connector.

To proceed with the update, please change the destination table name or perform a `FULL REFRESH` on these tables or drop these inactive tables from the destination in Catalog Explorer or via `DROP TABLE` command, and retry the update.

### CANNOT\_WRITE\_TO\_TABLES\_PENDING\_RESET

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The following tables in the destination are not reset correctly in the previous full refresh: `<tables>`.

Please trigger a full refresh on them to recover.

### CATALOG\_MAPPING\_NOT\_AVAILABLE\_IN\_UC

[SQLSTATE: 3D000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3d-invalid-catalog-name)

UC catalog doesn't have the mapping for the catalog '`<sourceCatalog>`'.

Please check if catalog is registered in the UC catalog.

### CATALOG\_SCHEMA\_MISMATCH\_WITH\_DESTINATION\_PIPELINE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The catalog `<destPipelineCatalog>` and schema `<destPipelineSchema>` of the destination pipeline with ID '`<destPipelineId>`' do not match the catalog and schema of the table `<tableName>`. The destination pipeline should have the same catalog and schema as the table or the destination pipeline must be using the Direct Publishing Mode.

### CATALOG\_SPEC\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

CatalogSpecs are not supported by the database connectors currently. Please remove the catalog spec.

### CATALOG\_TABLE\_ID\_CANNOT\_BE\_MODIFIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table property '`<key>`' is managed by the system and cannot be set or modified by users.

### CDC\_APPLIER\_AUTO\_FULL\_REFRESH\_POLICY\_MUST\_BE\_SAME\_FOR\_ALL\_DESTINATION\_TABLES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Full Refresh Policy of all destination tables connected to the same source table must be same.

Change the policy for following destination tables `<destinationTables>` connected to source `<sourceTable>`.

### CDC\_APPLIER\_COLUMN\_UOID\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Columns with UOID `<columnNames>` for table `<tableName>` are not supported in CDC managed ingestion pipelines.

Please check if the ingestion pipeline supports column UOID, or request a full refresh on the table.

### CDC\_APPLIER\_FATAL\_FAILURE\_FROM\_GATEWAY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Gateway Pipeline encountered a fatal error:

`<errorMessage>`

Review the pipeline update failure here: `<link>`.

### CDC\_APPLIER\_INGESTION\_GATEWAY\_REMOVED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The ingestion gateway pipeline `<pipelineId>` linked to the Managed Ingestion Pipeline has been removed.

Please remove the Managed Ingestion pipeline, and create both Ingestion Gateway and Managed Ingestion pipelines.

### CDC\_APPLIER\_INVALID\_REFRESH\_SELECTION

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `<refreshMode>` parameters specified for this update are invalid. The following tables `<tablesNotFound>` are not part of this pipeline.

### CDC\_APPLIER\_REPLICATED\_TABLE\_METADATA\_NOT\_READY

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Replicated table metadata for table `<tableName>` is not ready.

The existing job request timestamp is `<existingRequestTs>`, but we expect `<expectedRequestTs>` or later.

### CDC\_APPLIER\_REQUIRES\_ALL\_DESTINATION\_TABLES\_FULL\_REFRESH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Full refresh of one destination table and normal update of another destination table from the same source is not supported.

Please full refresh both tables to continue if possible.

Full refresh tables: `<fullRefreshTables>`

Destination tables for source `<sourceTable>`: `<destinationTables>`

### CDC\_APPLIER\_RESETTING\_INTERNAL\_TABLE\_NOT\_ALLOWED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Selective full refresh of the internal table(s) `<tables>` is not supported. A full pipeline refresh is required to refresh them.

### CDC\_APPLIER\_SCHEMA\_CHANGED\_DURING\_STREAMING

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema version `<dataSchemaVersion>` is different from read schema version `<readSchemaVersion>`.

The pipeline will retry the update.

### CDC\_APPLIER\_SEQUENCE\_BY\_COLUMN\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column `<columnName>` for table `<tableName>` specified in sequenceBy does not exist in `<columns>`.

### CDC\_APPLIER\_SEQUENCE\_BY\_INVALID\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The column `<columnName>` for table `<tableName>` specified in sequenceBy is of type `<typeName>` that is not supported.

Supported types for sequenceBy columns are `<allowedTypes>`.

### CDC\_APPLIER\_SEQUENCE\_BY\_MULTIPLE\_COLUMNS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

At most one column can be specified in sequenceBy of CDC managed ingestion pipeline.

Specified columns: `<columns>` for table `<tableName>`.

### CDC\_APPLIER\_SOURCE\_TABLE\_ALREADY\_REGISTERED\_IN\_GATEWAY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source table `<sourceTable>` is already being ingested by another Managed Ingestion pipeline `<otherPipelineId>` through the same Ingestion Gateway.

Each source table can only be ingested by one Managed Ingestion pipeline per Ingestion Gateway.

Remove the conflicting table from one of the pipelines to resolve this conflict.

### CDC\_APPLIER\_UNSUPPORTED\_CHARACTERS\_IN\_DESTINATION\_TABLE\_NAME

[SQLSTATE: 42602](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The destination `<objectType>` name `<name>` is not valid: `<validationErrors>`.

Provide a different destination name in the Ingestion config object.

### CDC\_APPLIER\_UNSUPPORTED\_SOURCE\_OPTION\_FOR\_CDC\_CONNECTOR

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unsupported source\_type : `<sourceType>` and connector\_type : `<connectorType>` in ingestion\_definition for Cdc Connector.

### [CDC\_INCOMPATIBLE\_SCHEMA\_CHANGES](https://docs.databricks.com/gcp/en/error-messages/cdc-incompatible-schema-changes-error-class.md)

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

We encountered an incompatible schema change from schema version `<previousSchemaVersion>` to `<currentSchemaVersion>`.

Therefore we cannot proceed on applying changes for `<tableName>`. Please request a full refresh of the table.

Previous schema: `<previousSchema>`

Current schema: `<currentSchema>`

For more details see [CDC\_INCOMPATIBLE\_SCHEMA\_CHANGES](https://docs.databricks.com/gcp/en/error-messages/cdc-incompatible-schema-changes-error-class.md)

### CDC\_MULTIPLE\_SOURCE\_TABLES\_MAPPED\_TO\_SAME\_DESTINATION\_TABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found multiple source tables: `<source_tables>` mapped to same destination table `<destination_table>`.

Please map them to different destination table name or to different destination schema.

### CDC\_POTENTIAL\_DATA\_GAPS

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Following tables \[`<needFullRefreshTableList>`] does not have a successful update for `<retention>` days.

Please do a full refresh on these tables or the whole pipeline.

### CDC\_QBC\_BASED\_SNAPSHOT\_VALIDATION\_FAILURE

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Snapshot validation failed for connection: `<connectionName>` and source: `<sourceType>` because: `<reason>`.

### CDC\_REALTIME\_APPLIER\_AUTO\_FULL\_REFRESH\_REQUIRED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto full refresh required due to failed flows: \[`<failedFlows>`].

Restarting the pipeline to perform full refresh.

### CDC\_REALTIME\_APPLIER\_DELETED\_TABLE\_DETECTED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Tables deleted in source which were part of the configuration: `<tableNames>`.

Restarting the pipeline to remove the corresponding flows.

### CDC\_REALTIME\_APPLIER\_DRIVER\_SCALE\_UP

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Realtime applier driver is under-provisioned for `<numCdcFlows>` CDC flows.

### CDC\_REALTIME\_APPLIER\_GRAPH\_REANALYSIS

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Graph re-analysis required. Flows to add: \[`<flowsToAdd>`]. Flows to delete: \[`<flowsToDelete>`].

### CDC\_REALTIME\_APPLIER\_NEW\_TABLE\_DETECTED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

New tables detected in source which are part of the configuration: `<tableNames>`.

Restarting the pipeline to replicate the new tables.

### CDC\_SAME\_TABLE\_FROM\_MULTIPLE\_SOURCES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found the same table name `<table>` from multiple sources: `<sources>`.

Please split them into different pipelines to avoid conflict.

### CDC\_SOURCE\_VALIDATION\_FAILURE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source database validation detected `<errorCount>` error(s). See the event log report(s) for detailed results and remediation steps.

### CDC\_TABLE\_NOT\_FOUND\_IN\_ALL\_TABLES

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<table>` is not found in the all tables snapshot of the source database.

Table spec details:

`<tableSpec>`

### CHANGES\_HMS\_PIPELINE\_TO\_UC\_NOT\_ALLOWED

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing a HMS pipeline to a UC pipeline is not allowed.

### CHANGES\_UC\_PIPELINE\_TO\_HMS\_NOT\_ALLOWED

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing a UC pipeline to a HMS pipeline is not allowed.

### CHANGE\_OWNER\_FROM\_INVALID\_WORKSPACE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Changing owner must be initiated from the workspace where `<tableName>` was created.

### CHANGE\_OWNER\_NOT\_ALLOWED\_FOR\_PIPELINE\_TABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing owner is not supported for a table managed by the pipeline with ID '`<pipelineId>`'. Modify the run-as identity of the pipeline instead.

### CHANGE\_OWNER\_NOT\_SUPPORTED\_FOR\_DETACHED\_TABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing owner is not supported for table `<tableName>` because it is not associated with a pipeline.

### CHANGING\_CATALOG\_NOT\_ALLOWED

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot modify catalog of an existing pipeline. Existing catalog: '`<existingCatalog>`'. Requested catalog: '`<requestedCatalog>`'.

### CHANGING\_TARGET\_SCHEMA\_NOT\_ALLOWED

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Changing target schema is not allowed. Reason: `<reason>`.

### CLUSTERING\_COLUMNS\_MUST\_BE\_TABLE\_LEVEL

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

clustering\_columns is set at the `<specScope>` level, but it is a table-level property because its columns are specific to one table. Set clustering\_columns in the table configuration of each object instead.

### CLUSTER\_BY\_WITH\_INHERITED\_PARTITION\_COLUMNS

[SQLSTATE: 42908](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot use `CLUSTER BY` or `CLUSTER BY` AUTO on table `<tableName>`: the table is currently partitioned by `<partitionColumns>`, and partition columns cannot be removed without a full refresh.

### CLUSTER\_CREATION\_BUDGET\_POLICY\_LIMIT\_EXCEEDED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Failed to create a cluster because the pipeline's budget policy has exceeded the limit. Please use a different policy or reach out to your billing admin.

### CLUSTER\_CREATION\_CLIENT\_ERROR

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to create a pipeline cluster: `<errorMessage>`

This error is likely due to a misconfiguration in the pipeline.

Check the pipeline cluster configuration and associated cluster policy.

### CLUSTER\_CREATION\_CLUSTER\_POLICY\_LIMIT\_EXCEEDED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Failed to create a cluster because the number of running clusters per user for policy "`<clusterPolicy>`" has exceeded the limit of `<clusterLimit>`. Please use a different policy or reach out to your admin.

### CLUSTER\_CREATION\_CREDITS\_EXHAUSTED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Failed to create a cluster because you've exhausted your available credits. Please add a payment method to upgrade your account.

### CLUSTER\_CREATION\_RESOURCE\_EXHAUSTED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Failed to create a cluster because you've exceeded resource limits: `<errorMessage>`

### CLUSTER\_CREATION\_SECRETS\_FETCH\_FAILED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot fetch secrets referred in the Spark configuration.

Please check that the secrets exists and the cluster's owner has read permissions.

### CLUSTER\_LAUNCH\_CLIENT\_ERROR

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to launch pipeline cluster `<clusterId>`: `<clusterStateMessage>`

This error is likely due to a misconfiguration in the pipeline.

Check the pipeline cluster configuration and associated cluster policy.

### CLUSTER\_LAUNCH\_CLOUD\_FAILURE

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to launch pipeline cluster `<clusterId>`: `<clusterStateMessage>`

This error could be transient - restart your pipeline and report if you still see the same issue.

### CLUSTER\_LAUNCH\_COST\_CONTROL\_ENTITLEMENT\_DENIED

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to launch pipeline cluster `<clusterId>`: `<clusterStateMessage>`

The pipeline's serverless compute or usage policy cannot be applied.

Verify the serverless\_compute\_id and usage\_policy\_id configured on the pipeline, and that the run-as identity is entitled to use them.

### CLUSTER\_LAUNCH\_RESOURCE\_EXHAUSTED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Failed to launch pipeline cluster `<clusterId>` due to exhausting resource limits: `<clusterStateMessage>`.

### CLUSTER\_LAUNCH\_RESOURCE\_STOCKOUT

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to launch pipeline cluster `<clusterId>`: `<clusterStateMessage>`

The instance type requested could not be supplied by the cloud provider.

Please check your cloud provider subscription or try again with a different instance type.

### [CLUSTER\_SETUP\_CLIENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/cluster-setup-client-error-error-class.md)

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Unable to successfully setup cluster `<clusterId>` for pipeline update execution. Reason:

For more details see [CLUSTER\_SETUP\_CLIENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/cluster-setup-client-error-error-class.md)

### CLUSTER\_UNREACHABLE

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Communication lost with driver. Cluster `<clusterId>` was not reachable for `<timeoutSeconds>` seconds.

### [COLUMN\_MAPPING\_MODE\_INCOMPATIBLE\_WITH\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/column-mapping-mode-incompatible-with-schema-error-class.md)

[SQLSTATE: 42K05](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

For more details see [COLUMN\_MAPPING\_MODE\_INCOMPATIBLE\_WITH\_SCHEMA](https://docs.databricks.com/gcp/en/error-messages/column-mapping-mode-incompatible-with-schema-error-class.md)

### COLUMN\_MASK\_WITH\_NO\_COLUMN

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column mask found for column '`<columnName>`' which doesn't exist in MV/ST schema. If this is because of a change to the base table's schema,

please drop the old mask with `ALTER TABLE` \[table\_name] `ALTER COLUMN` \[column where mask is applied] `DROP` MASK; or restore the column.

### COLUMN\_TO\_UPDATE\_NOT\_FOUND

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Column `<column>` specified in `COLUMNS` TO `UPDATE` not found in source Dataframe.

### CONCURRENT\_UPGRADE\_FAILED\_TO\_STOP\_PREVIOUS\_UPDATE

[SQLSTATE: 2D521](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-2d-invalid-transaction-termination)

Started update '`<upgradedUpdateId>`' for an upgrade but failed to stop the previous update '`<oldUpdateId>`'.

This error is likely transient. The pipeline will be automatically retried and the issue should resolve itself.

Report this error to Databricks if you continue to still see the same issue.

### CONFLUENCE\_AUDIT\_LOG\_GROUP\_ID\_UNPARSEABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unable to extract group id from Confluence audit log event (affectedObject.name = `<affectedObjectName>`).

### CONFLUENCE\_AUDIT\_LOG\_SPACE\_ID\_UNEXTRACTABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unable to extract Space ID from Confluence audit log event (summary=`<summary>`, reason=`<reason>`).

### CONFLUENCE\_CONTENT\_PERMISSIONS\_INCREMENTAL\_REFRESH\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to refresh restrictions for Confluence content `<contentId>` (operation: `<operation>`) during incremental ingestion after exhausting all automatic retries.

### CREATE\_APPEND\_ONCE\_FLOW\_FROM\_BATCH\_QUERY\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a streaming table append once flow from a batch query.

This prevents incremental ingestion from the source and may result in incorrect behavior.

Offending table: '`<table>`'.

To fix this, use the `STREAM`() or readStream operator to declare the source as a streaming input.

Example: `SELECT` `...` `FROM STREAM(<source table name>)` or spark.readStream.table('`<source table name>`')

### CREATE\_STREAMING\_TABLE\_WITH\_FLOW\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The `CREATE STREAMING TABLE` ... FLOW syntax is currently disabled for table '`<tableName>`'.

### DATABASE\_TABLE\_SYNC\_EDIT\_RESTRICTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

DatabaseSyncTable Pipeline `<pipelineId>`: only updates to sinks, name, tags, notifications, budgetPolicyId and dbrVersion are allowed.

### DATASET\_DECORATOR\_APPLIED\_TWICE

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Dataset `<datasetName>` already exists. Ensure that the query function has only been marked as a view or table once.

### DATASET\_DELETION\_CANNOT\_BE\_DISABLED\_UNSUPPORTED\_PIPELINE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot set the cascade parameter to false when deleting pipeline '`<pipelineId>`' of type '`<pipelineType>`'.

Please set the cascade parameter to true or omit it to delete the pipeline.

### DATASET\_DELETION\_REQUIRES\_DPM

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot set the cascade parameter to false when deleting legacy publishing mode pipeline '`<pipelineId>`'.

Please migrate the pipeline to default publishing mode if you wish to skip deletion of

pipeline tables.

### DATASET\_NOT\_DEFINED

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to read dataset '`<datasetName>`'. This dataset is not defined in the pipeline.

If this table is managed by another pipeline, then do not use `dlt.read` / `dlt.readStream` to read the table or prepend the name with the LIVE keyword.

### DATASET\_NOT\_FOUND\_FOR\_EXPECTATIONS

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Tried to define expectation(s) for a dataset '`<datasetName>`' that doesn't exist

### DATASET\_NOT\_REGISTERED\_FOR\_FLOW

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Attempted to register a flow for dataset '`<datasetName>`', but the dataset is not registered.

### DATA\_BRANCH\_SANDBOX\_INCOMPLETE\_CONFIG

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Both sandbox catalog and schema must be defined in sandbox mode.

### DATA\_BRANCH\_SANDBOX\_NOT\_ENABLED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Sandbox mode is not enabled. Contact Databricks for support.

### DBFS\_NOT\_ENABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DBFS is not enabled for this workspace; please publish to Unity Catalog or specify a different storage location for the pipeline.

### DBSQL\_INCONSISTENT\_SCHEDULE\_IN\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline `<pipelineId>` has multiple production tables with different schedule settings: \[`<tableScheduleInfo>`]. All production tables must have the same schedule.

### DBSQL\_INVALID\_CHANNEL\_VALUE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid channel specified with `pipelines.channel` property: `<channel>`. Valid values are: `<validChannels>`.

### DBSQL\_INVALID\_SCHEDULE\_TYPE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid schedule type specified with schedule property: `<scheduleValue>`.

### DBSQL\_MISSING\_SCHEDULE\_PROPERTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Missing required schedule property in table properties.

### DBSQL\_PIPELINE\_IS\_MISSING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A `DBSQL` pipeline is missing. Please refresh your materialized view or streaming table to create the `DBSQL` pipeline.

### DBSQL\_PIPELINE\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`DBSQL` pipeline is missing (UC pipeline does not exist). Please contact Databricks support if the problem persists.

### DBSQL\_PIPELINE\_SHOULD\_NOT\_HAVE\_MULTIPLE\_TABLES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A `DBSQL` pipeline must have exactly one materialized view or streaming table, but found `<tablesSize>` tables: `<tables>`

### DEDUP\_INSERT\_FLOW\_KEY\_COLUMNS\_REQUIRED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Dedup insert flow requires at least one key column.

### DEFINITION\_FILE\_NOT\_ASSOCIATED\_WITH\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Definition file '`<definitionPath>`' is not associated with any pipeline.

### DELETE\_PIPELINE\_DISABLED

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Pipeline cannot be deleted at this time.

Please contact Databricks support for assistance in deleting pipeline '`<pipelineId>`' .

### DELTA\_LOG\_ADD\_FILE\_MISSING

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot read `<sourceName>` table at '`<tablePath>`': version `<version>` references ADD paths that no longer exist on storage.

Missing paths: `<missingPaths>`.

This typically means the upstream export `VACUUM`'d or compacted files that this commit still references. Run full refresh on the pipeline after a new checkpoint is made.

### DELTA\_LOG\_NO\_VALID\_CHECKPOINT

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot bootstrap streaming for `<sourceName>` table at '`<tablePath>`': `<reason>`.

The source has not produced a usable checkpoint to seed the live state. Verify the upstream export is healthy and that a new checkpoint has been published, then run the pipeline

### DELTA\_LOG\_VERSION\_FILES\_COMPACTED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Cannot resume streaming for `<sourceName>` table at '`<tablePath>`': the streaming offset is at version `<fromVersion>`, but the earliest available .json commit is `<minAvailable>`.

The upstream export has compacted away the commit files between these versions, so resuming from the current offset would skip data.

Perform a full refresh on this pipeline to re-bootstrap from the latest checkpoint.

### DEPENDS\_ON\_CYCLE\_DETECTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `depends_on` flow-ordering edges form a cycle involving flow `<flowName>`. Flow ordering dependencies must be acyclic.

### DEPENDS\_ON\_DEPENDENCY\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Flow `<flowName>` declares a `depends_on` dependency on '`<dependsOnName>`', but no flow with that name exists in the pipeline.

### DEPENDS\_ON\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow ordering (the `depends_on` API) is not enabled.

### DEPENDS\_ON\_PREDECESSOR\_MUST\_BE\_ONCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow `<flowName>` declares a `depends_on` dependency on '`<dependsOnName>`', which is not supported as an ordering predecessor in a continuous pipeline. A continuous `depends_on` predecessor must be a ONCE flow that reads a batch source: a flow that runs continuously never reaches a terminal state, so a flow ordered after it would never start.

### DEPENDS\_ON\_QUALIFIED\_PREDECESSOR\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow `<flowName>` declares a `depends_on` dependency on '`<dependsOnName>`', but a flow-ordering predecessor must be referenced by its unqualified flow name.

### DEPENDS\_ON\_TARGET\_NOT\_MATERIALIZED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Flow `<flowName>` declares a `depends_on` dependency on '`<dependsOnName>`', which writes to a view. Flow ordering dependencies must target a flow that writes to a table or sink.

### DEPENDS\_ON\_UNSUPPORTED\_FLOW\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow `<flowName>` declares a `depends_on` dependency, but flow ordering is not supported for this flow type. `depends_on` is currently supported only on standard (`INSERT INTO`) flows.

### DEPRECATED\_CUSTOM\_SCHEMA\_SETTINGS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Pipeline cannot be started because it uses the deprecated Custom Schema private preview (the settings: `<settings>` are enabled).

Please create a new pipeline with default publishing mode, using the 'schema' field,

in the pipeline specification, and move the datasets from this pipeline to the new pipeline.

### DEPRECATED\_RELEASE\_CHANNEL\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The pipeline release channel cannot be set to '`<channel>`' because it is deprecated.

Expected one of \[`<allowedChannels>`].

### DESTINATION\_INVALID\_PIPELINE\_TYPE

[SQLSTATE: 0AKLT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The destination pipeline with ID '`<pipelineId>`' has a pipeline type that is not supported for this operation. Allowed pipeline types: `<allowedPipelineTypes>`.

### DESTINATION\_PIPELINE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The destination pipeline with ID '`<pipelineId>`' can not be found. Make sure you are in the same workspace as the pipeline, you are the owner of the pipeline, and the pipeline ran at least once.

### DESTINATION\_PIPELINE\_NOT\_IN\_DIRECT\_PUBLISHING\_MODE

[SQLSTATE: 0AKLT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The destination pipeline with ID '`<pipelineId>`' is not using the Direct Publishing Mode.

### DESTINATION\_PIPELINE\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are not allowed to perform this operation, you are not the owner of the destination pipeline with ID '`<pipelineId>`'. Only owners can change the pipeline of a table.

### DIRECTORY\_PATH\_REQUIRES\_GLOB

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The path `<path>` is a directory. To include all files within a directory, use the glob pattern with '\*\*' suffix , '`<path>`/\*\*', in your pipeline configuration.

### DISALLOWED\_REQUEST\_FOR\_RESTORING\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request `<request>` is not allowed for pipeline '`<pipelineId>`' in `RESTORING` state.

### DO\_CREATE\_OR\_EDIT\_INVALID\_USER\_ACTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error while handling '`<action>`' request.

### DROP\_SCHEDULE\_SCHEDULE\_DOES\_NOT\_EXIST

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot drop `SCHEDULE` on a table without an existing schedule or trigger.

### DR\_SECONDARY\_READ\_ONLY

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Operation '`<operation>`' is not allowed on this workspace because it is a Disaster Recovery secondary and is read-only.

Pipeline updates can only be performed from the primary workspace. To perform updates here, fail over to make this workspace the primary.

### DUPLICATED\_FROM\_JSON\_SCHEMA\_LOCATION

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicated from\_json schema location key: `<schemaLocationKey>`.

Please pick unique schema location keys for each from\_json query in the pipeline

### DUPLICATED\_INGESTION\_CONFIG\_TABLE\_SPECS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ingestion pipeline configuration contains duplicate tables. Please ensure that each table is unique.

### EDIT\_METRIC\_VIEW\_ON\_PATCH\_DISABLED

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Editing a metric view pipeline via patch is currently disabled.

Please contact Databricks support for assistance with pipeline '`<pipelineId>`'.

### EDIT\_PIPELINE\_OWNER\_UNSUPPORTED\_FOR\_METRIC\_VIEW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Editing the owner of a metric view pipeline via EditPipelineOwner is not supported.

Please use the patch pipeline endpoint for pipeline '`<pipelineId>`'.

### EMPTY\_INGESTION\_CONFIG\_OBJECTS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ingestion config objects are empty.

### ENHANCED\_AUTOSCALING\_REQUIRES\_ADVANCED\_EDITION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Enhanced Autoscaling 'spare\_capacity\_fraction' setting is only supported in the Advanced product edition of Spark Declarative Pipelines on Lakeflow.

Please edit your pipeline settings to set "edition": "advanced" in order to use 'spare\_capacity\_fraction'.

### ENVIRONMENT\_PIP\_INSTALL\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to install environment dependency: '`<pipDependency>`'. Please check the driver's stdout logs on the cluster for more details.

### EVENT\_LOG\_DELTA\_MISSING\_PART\_FILES

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The Event Log table '`<eventLogTableIdentifier>`' has missing data files.

This can occur if files were manually deleted or if storage encountered issues.

To resolve this issue, restore the event log table to an earlier version or drop the table.

### EVENT\_LOG\_INACCESSIBLE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline could not start because its run-as identity does not have the necessary permissions to access the pipeline's event log table.

Grant the run-as identity access to the event log table so the pipeline can read and update it. See the details below for the specific permission that was denied.

Details: `<ucErrorMessage>`

### EVENT\_LOG\_PICKER\_FEATURE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Publishing the event log to Unity Catalog is not supported in legacy publishing mode. To enable this feature, migrate your pipeline to default publishing mode by following the steps in the migration guide [https://docs.databricks.com/aws/en/dlt/migrate-to-dpm](https://docs.databricks.com/aws/en/dlt/migrate-to-dpm). If you prefer to continue using legacy publishing mode, remove the 'event\_log' configuration from your pipeline specification.

### EVENT\_LOG\_TABLE\_CROSS\_CATALOG\_MOVE\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline's event log table cannot be moved across Unity Catalog catalogs or schemas that use managed storage. Configure the pipeline's event log (target catalog and schema) so it does not require relocating the table across managed-storage catalogs.

### EVENT\_LOG\_TABLE\_DELTA\_TRUNCATED\_TRANSACTION\_LOG

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The Delta transaction log for the Event Log table is missing recent history.

This can occur if the table was manually modified or if old log files were removed due to retention settings.

To resolve this issue, restore the event log table to an earlier version or drop the table.

### EXPECTATIONS\_NOT\_SUPPORTED\_ON\_VIEW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Expectations are not supported on views. View '`<viewName>`' has expectations defined.

Use `CREATE TEMPORARY VIEW` instead, or remove the expectations.

### [EXPECTATION\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/expectation-violation-error-class.md)

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Flow '`<flowName>`' failed to meet the expectation.

For more details see [EXPECTATION\_VIOLATION](https://docs.databricks.com/gcp/en/error-messages/expectation-violation-error-class.md)

### EXPLORE\_ONLY\_CANNOT\_BE\_SET\_WITH\_VALIDATE\_ONLY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

explore\_only and validate\_only cannot be both set to true.

### EXPLORE\_ONLY\_IS\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

explore\_only update is not enabled. Please contact Databricks support.

### FAILED\_TO\_CREATE\_EVENT\_LOG

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to create pipeline (id=`<pipelineId>`) event log with identifier `<eventLogIdentifier>`. See exception below for more details.

### [FAILED\_TO\_CREATE\_EVENT\_LOG\_TABLE](https://docs.databricks.com/gcp/en/error-messages/failed-to-create-event-log-table-error-class.md)

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to create pipeline (id=`<pipelineId>`) event log with identifier `<eventLogIdentifier>` because

For more details see [FAILED\_TO\_CREATE\_EVENT\_LOG\_TABLE](https://docs.databricks.com/gcp/en/error-messages/failed-to-create-event-log-table-error-class.md)

### FAILED\_TO\_PUBLISH\_VIEW\_TO\_METASTORE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to publish view `<viewName>` to the metastore because `<reason>`.

### FAILED\_TO\_UPDATE\_EVENT\_LOG

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to update pipeline (id=`<pipelineId>`) event log identifier to `<newEventLogIdentifier>`. See exception below for more details.

### FLOW\_NAME\_CONFLICTS\_WITH\_AUTO\_ROUTER

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Named query `<flowName>` for `<target>` conflicts with auto router `<autoRouterName>`. A flow name must not collide with an auto router name in the same pipeline.

### FLOW\_NOT\_RESETTABLE

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Flow `<flowName>` is not resettable because 'pipelines.reset.allowed' is set to 'false'.

### FLOW\_PROPERTY\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Flow property '`<propertyName>`' is only supported on append\_flow targeting external sinks.

### FLOW\_SCHEMA\_CHANGED

[SQLSTATE: KD007](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Flow `<flowName>` has terminated since it encountered a schema change during execution.

The schema change is compatible with existing target schema and the next run of the flow can resume with the new schema.

### FOREACH\_BATCH\_SINK\_ONLY\_SUPPORTED\_IN\_PREVIEW\_CHANNEL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Pipeline ForeachBatch Sink is not currently supported.

The private preview for pipeline ForeachBatch sink requires the `PREVIEW` channel.

Pipeline sinks: `<sinkNames>`

### FOREACH\_SINK\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

foreach\_sink is not enabled for this pipeline. The foreach\_sink API is in private preview; set pipelines.foreachSinkEnabled = true or contact Databricks support to enable it.

### GATEWAY\_PIPELINE\_INIT\_SCRIPTS\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The Gateway pipeline does not allow cluster init scripts. Please remove it from `<from>`.

### GATEWAY\_PIPELINE\_SPARK\_CONF\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The Gateway pipeline does not allow spark config \[`<configs>`]. Please remove them from `<from>`.

### GCP\_STORAGE\_ACCESS\_BLOCKED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A Google Cloud Storage request was not authorized.

Validate your GCS storage credentials or IAM permission settings.

### GDRIVE\_CONNECTOR\_CONSUMER\_ACCOUNT\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The authenticated account belongs to a consumer domain (`<domain>`). `<sourceName>` requires a Google Workspace account

for listing user and group information.

### GDRIVE\_GROUP\_MEMBER\_CANONICAL\_SCHEMA\_FLAG\_REQUIRES\_FULL\_REFRESH

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Google Drive group-member output schema for `<tableName>` cannot change on an existing pipeline.

Perform a full refresh of the table to switch its schema.

### GET\_ORG\_UPDATE\_CAPACITY\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Number of requested org IDs exceeds the maximum allowed limit of `<limit>`

### GITHUB\_API\_BAD\_CREDENTIALS

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

GitHub rejected the access token (HTTP 401: Bad credentials) after exhausting all automatic retries.

The token is invalid, expired, or revoked. Update the connection with a valid GitHub access token that has the required scopes, then re-run the pipeline.

### GITHUB\_API\_CLIENT\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub API returned a client error (HTTP `<httpStatus>`) for table `<table>`.

This usually means the resource was not found, the token lacks the required scopes/permissions, or the request was invalid. Verify the table/repository exists and the connection token has access. If the error persists, file a ticket.

### GITHUB\_API\_CONNECTION\_FAILURE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub API connection failed (no or incomplete HTTP response) for table `<table>` after exhausting all automatic retries.

This usually indicates a transient network issue between the pipeline and GitHub. If the error persists, file a ticket.

### GITHUB\_API\_GRAPHQL\_OVERSIZED\_QUERY

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub GraphQL API could not serve the query because it requested too much data at once (operation: `<operationType>`): `<errors>`.

If the error persists, please file a ticket.

### GITHUB\_API\_GRAPHQL\_PERMISSION\_DENIED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub GraphQL API denied access to one or more requested fields (operation: `<operationType>`): `<errors>`.

The configured token lacks permission or the required OAuth scope for these fields. Verify that the token has the scopes and repository/organization permissions required to read them (for example, reading repository collaborators requires push or admin access).

If the error persists, please file a ticket.

### GITHUB\_API\_GRAPHQL\_RESOURCE\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub GraphQL API could not resolve one or more requested resources (operation: `<operationType>`): `<errors>`.

The resource does not exist, or the configured token does not have access to it. Verify that the organization, repository, or resource still exists and that the token has the required scopes and permissions.

If the error persists, please file a ticket.

### GITHUB\_API\_REQUEST\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub API request failed for table `<table>`.

If the error persists, file a ticket.

### GITHUB\_API\_SAML\_SSO\_REQUIRED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Access to GitHub organization `<organization>` is blocked by SAML single sign-on (SSO) enforcement (the GitHub API returned HTTP 403).

The organization requires this connection's token to be SSO-authorized. See [https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-single-sign-on/about-authentication-with-single-sign-on#about-oauth-apps-github-apps-and-sso](https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-single-sign-on/about-authentication-with-single-sign-on#about-oauth-apps-github-apps-and-sso), then re-run the pipeline.

If the error persists, file a ticket.

### GITHUB\_API\_SERVER\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub API returned a server error (HTTP `<httpStatus>`) for table `<table>` after retries and query-size reduction were exhausted.

This typically indicates a server-side problem at GitHub. If the error persists, file a ticket.

### GITHUB\_AUDIT\_LOG\_ACCESS\_DENIED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Access to the audit log for GitHub organization `<organization>` was denied (the GitHub API returned HTTP 404).

The audit log REST API is only available for organizations on GitHub Enterprise Cloud, and only to tokens that belong to an organization owner.

Verify that (1) the organization is on GitHub Enterprise Cloud, (2) the OAuth token or personal access token belongs to an organization owner, and (3) the token has the `read:audit_log` scope.

If the error persists, file a ticket.

### GITHUB\_NO\_ORGS\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

No GitHub organizations are accessible to the configured token. The GitHub connector ingests data from repositories that belong to organizations, so at least one organization must be accessible.

Verify that (1) the OAuth token or personal access token has the `read:org` scope, and (2) the authenticated user is a member of at least one GitHub organization that owns the repositories you want to ingest.

If the error persists, file a ticket.

### GITHUB\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub API call failed due to rate limits after exhausting all retries. Operation: `<operationType>`.

GitHub enforces 5,000 requests/hour per OAuth user (15,000/hour on GitHub Enterprise Cloud) for the REST API and a separate 5,000 points/hour budget for the GraphQL API.

To resolve this, you can: (1) split the tables into separate pipelines and schedule them to run at different times to spread the load, (2) reduce the number of repositories ingested by applying a row\_filter on repository\_id, or (3) upgrade to GitHub Enterprise Cloud for a higher rate limit budget.

If the error persists, file a ticket.

### GITHUB\_RESOURCE\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The GitHub API returned HTTP 404 Not Found for the request to `<url>`.

The requested resource does not exist, or the configured token does not have access to it. Verify that the organization, repository, or resource still exists and that the token has the scopes and permissions required to read it.

If the error persists, file a ticket.

### GOOGLE\_ADS\_ACTION\_NOT\_PERMITTED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The authenticated Google Ads user is not permitted to perform this action on the requested resource or to call this method (authorization\_error: `ACTION_NOT_PERMITTED`).

Verify the Google Ads account access level for the authenticated user. If you are using a self-managed developer token, also verify it has the required API access level for this operation. If the error persists, file a ticket.

### GOOGLE\_ADS\_INVALID\_CUSTOM\_REPORT\_CONFIGURATION

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Invalid custom\_report configuration. `<reason>`

Review the custom\_report resource, fields, segments, and metrics configured for this table and adjust them accordingly. If the error persists, file a ticket.

### GOOGLE\_ADS\_QUOTA\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Google Ads API quota has been exhausted (rate name: `<rateName>`, scope: `<rateScope>`). Google Ads' requested retry delay was `<retryDelaySeconds>` seconds; quota retry delays typically exceed the pipeline's retry window, so the failure is surfaced rather than retried.

Reduce the number of tables ingested in parallel or reduce the sync frequency. If you frequently hit quota limits and are using a self-managed developer token, apply for a higher access tier for it: [https://developers.google.com/google-ads/api/docs/best-practices/quotas](https://developers.google.com/google-ads/api/docs/best-practices/quotas)

### GOOGLE\_ADS\_USER\_PERMISSION\_DENIED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The authenticated Google Ads user does not have permission to access the requested customer account (authorization\_error: `USER_PERMISSION_DENIED`).

Verify the authenticated user is linked to the account with at least read access.

### GOOGLE\_ANALYTICS\_RAW\_DATA\_CONNECTOR\_SOURCE\_CATALOG\_MISSING

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Google Analytics raw data connector.

The 'source catalog' (GCP Project ID) is missing in your ingestion specification.

Please specify the source catalog (project ID) in your ingestion specification to resolve this issue.

### HMS\_NOT\_ENABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Hive Metastore is not enabled for this workspace; please publish to Unity Catalog.

### ILLEGAL\_COLUMN\_TO\_UPDATE\_DATA\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The data type of the column specified in `COLUMNS` TO `UPDATE` must be a string array but found `<illegalDataType>`.

### ILLEGAL\_ID\_PARAM\_IN\_PIPELINE\_SETTINGS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The settings must not contain '`<fieldName>`'.

### ILLEGAL\_SCHEMA\_FIELD\_IN\_PIPELINE\_SPEC

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Specified 'schema' field in the pipeline settings is illegal. Reason: `<reason>`.

### IMPORT\_CHECKPOINT\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`IMPORT CHECKPOINT` is not enabled for your workspace.

### IMPORT\_CHECKPOINT\_NOT\_SUPPORTED\_FOR\_DATASET\_DEFINITION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`IMPORT CHECKPOINT` is not supported for target dataset '`<targetName>`'.

### IMPORT\_CHECKPOINT\_NOT\_SUPPORTED\_FOR\_FLOW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`IMPORT CHECKPOINT` is not supported for flow '`<flowName>`'.

### INCOMPATIBLE\_PIPELINE\_ENVIRONMENT\_VERSION\_PINNED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Pipeline previously ran with environment version `<environmentVersion>`, which is no longer compatible with DBR `<dbrVersion>`.

To continue, set an explicit environment version (for example, `<suggestedMaximumEnvironmentVersion>` or older) in your pipeline spec.

### INCOMPATIBLE\_PIPELINE\_ENVIRONMENT\_VERSION\_PROVIDED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Incompatible environment version `<environmentVersion>` selected for pipeline running DBR `<dbrVersion>`.

Consider selecting environment version `<suggestedMaximumEnvironmentVersion>` or older.

### INCORRECT\_ROOT\_PATH\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Root path '`<rootPath>`' must be a directory but found `<objectType>`.

### INCREMENTAL\_DRY\_RUN\_REQUIRES\_SQL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

This validate-only update uses the incremental analysis engine, which currently supports only pipelines defined entirely in SQL.

Your pipeline includes Python or other non-SQL definitions. Define all datasets in SQL, or turn off the incremental dry-run setting (pipelines.useIncrementalDryRunEngineForSqlPipelines) for this pipeline.

### INCREMENTAL\_REFRESH\_UNAVAILABLE\_WITH\_STRICT\_REFRESH\_POLICY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

materialized view has a refresh policy of `INCREMENTAL_STRICT` but cannot be incrementalized.

### INFRASTRUCTURE\_MAINTENANCE

[SQLSTATE: 57P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Driver on cluster `<clusterId>` terminated due to infrastructure maintenance.

### INGESTION\_CONFIG\_DUPLICATED\_SCHEMA

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ingestion pipeline configuration contains duplicate schemas. Please ensure that each schema is unique.

### [INGESTION\_GATEWAY\_AUTHENTICATION\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-authentication-failure-error-class.md)

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Authentication failure

For more details see [INGESTION\_GATEWAY\_AUTHENTICATION\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-authentication-failure-error-class.md)

### INGESTION\_GATEWAY\_AUTOMATIC\_DDL\_HANDLING\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

CDC Connector encountered a DDL operation on table '`<entityName>`'. Automatic capturing of DDL/schema changes is not supported. Perform a full refresh on this table to capture the schema changes.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_BREAKING\_SCHEMA\_CHANGE\_FAILURE

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An incompatible schema change has been detected for table '`<entityName>`'. To resolve this issue, a full refresh of the table is required on the Managed Ingestion pipeline. Error message: '`<errorMessage>`'.

### INGESTION\_GATEWAY\_CAPTURE\_INSTANCE\_UNAVAILABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Capture instance for `<entityName>` is no longer available on the source.

Please trigger a full refresh after enabling CDC or CT on the table.

### INGESTION\_GATEWAY\_CDC\_LOG\_TRUNCATED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

CDC log has been truncated for table '`<entityName>`', reason: `<errorMessage>`.

This can be caused by CDC log retention policy truncating change tracking logs before they could be processed.

The table will be skipped from processing. To re-enable processing, please full refresh the table.

### INGESTION\_GATEWAY\_CDC\_NOT\_ENABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

CDC is not enabled on `<entityType>` '`<entityName>`'. Enable CDC and full refresh the table on the Ingestion Pipeline. Error message: '`<errorMessage>`'.

### INGESTION\_GATEWAY\_CHARSET\_SUPPORT\_DISABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Charset-aware parsing is disabled but table `<entityName>` has charset metadata from a previous run. The table will be skipped from replication.

### INGESTION\_GATEWAY\_COLUMN\_ORDER\_STATE\_INCONSISTENT

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The tracked column order for table `<entityName>` is inconsistent, so change data capture cannot compute correct column positions. To resolve this issue, run a full refresh of the table on the Managed Ingestion pipeline. Error message: `<errorMessage>`.

### INGESTION\_GATEWAY\_CONNECTION\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline's run-as identity does not have permission to use foreign connection `<connectionName>`.

### [INGESTION\_GATEWAY\_DATABASE\_UNAVAILABLE](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-database-unavailable-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The source database is unavailable.

For more details see [INGESTION\_GATEWAY\_DATABASE\_UNAVAILABLE](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-database-unavailable-error-class.md)

### [INGESTION\_GATEWAY\_DB\_VERSION\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-db-version-not-supported-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Database version is not supported.

For more details see [INGESTION\_GATEWAY\_DB\_VERSION\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-db-version-not-supported-error-class.md)

### [INGESTION\_GATEWAY\_DDL\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-ddl-not-supported-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

CDC Connector encountered a DDL operation on table `<entityName>` that is not supported for replication.

For more details see [INGESTION\_GATEWAY\_DDL\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-ddl-not-supported-error-class.md)

### INGESTION\_GATEWAY\_DDL\_OBJECTS\_MISSING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DDL objects missing on `<entityType>` '`<entityName>`'. Execute the DDL objects script and full refresh the table on the Ingestion Pipeline. Error message: '`<errorMessage>`'.

### INGESTION\_GATEWAY\_DML\_OPERATION\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<entityName>` has been skipped due to a DML operation that is not supported.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_DML\_PARSING\_FAILED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

CDC Connector failed to parse replicated row data (DML) for table `<entityName>`.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_FAILURE\_DUE\_TO\_PREVIOUS\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<entityName>`' failed because an upstream dependency encountered an error in a previous pipeline update. To resolve this: (1) Open the pipeline event log and look for earlier failures on the table. (2) Retry the pipeline. If no upstream failure is visible, contact Databricks support with your pipeline ID and this error code: `INGESTION_GATEWAY_FAILURE_DUE_TO_PREVIOUS_ERROR`. Error message: '`<errorMessage>`'

### INGESTION\_GATEWAY\_FAILURE\_DUE\_TO\_TIMEOUTS

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Connection failure to the source.

Error: `<errorMessage>`.

### INGESTION\_GATEWAY\_HEALTH\_CHECKER\_VALIDATION\_CYCLE\_FAILED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Internal Health Checker validation cycle failed. Will retry in the next cycle, if issue persists, please file a ticket.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_INVALID\_CONNECTION\_CONFIGURATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found invalid configuration in connection: `<connectionName>` for source: `<sourceType>`.

Reason: `<reason>`

### INGESTION\_GATEWAY\_KEY\_COLUMN\_NOT\_SELECTED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The column selection for table `<entityName>` excludes a merge-key column

(a primary-key column, or -- when the table has no primary key -- a unique-key column).

The merge key must be fully included. Update the include\_columns / exclude\_columns filter to

cover the key and run a full refresh of the table on the Managed Ingestion pipeline.

Error message: `<errorMessage>`.

### INGESTION\_GATEWAY\_METADATA\_CONNECTION\_FAILURE

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The Ingestion Gateway could not access its staging volume. This issue is typically transient. Retry the pipeline; if it persists, verify the staging volume is reachable and that the gateway's workload identity has the required privileges on it.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_METADATA\_INSUFFICIENT\_PERMISSION\_FAILURE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Ingestion Gateway lacks permission to access its staging volume. Verify the gateway's workload identity has `READ_VOLUME` and `WRITE_VOLUME` privileges on the staging volume.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_METADATA\_NOT\_AVAILABLE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The Ingestion Gateway's staging volume is not available. Verify the staging volume exists and has not been deleted or renamed; if it has been deleted, recreate the gateway pipeline.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_MISSING\_CONNECTION\_REFERENCE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ingestion gateway configuration is missing a connection.

Please add a reference to the Unity Catalog connection containing your credentials.

Ingestion gateway pipeline definition details:

`<definition>`

### INGESTION\_GATEWAY\_MISSING\_INTERNAL\_STORAGE\_CATALOG

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ingestion gateway configuration is missing the internal storage location catalog.

Please add the internal storage location catalog.

Ingestion gateway pipeline definition details:

`<definition>`

### INGESTION\_GATEWAY\_MISSING\_INTERNAL\_STORAGE\_NAME

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ingestion gateway configuration is missing the internal storage location name.

Please add the internal storage location name.

Ingestion gateway pipeline definition details:

`<definition>`

### INGESTION\_GATEWAY\_MISSING\_INTERNAL\_STORAGE\_SCHEMA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Ingestion gateway configuration is missing the internal storage location schema.

Please add the internal storage location schema.

Ingestion gateway pipeline definition details:

`<definition>`

### INGESTION\_GATEWAY\_MISSING\_TABLE\_IN\_SOURCE

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<entityName>`' does not exist in the source database or has been dropped. Resolve the issue and full refresh the table on the Managed Ingestion pipeline. Error message: '`<errorMessage>`'.

### [INGESTION\_GATEWAY\_MYSQL\_BINLOG\_CORRUPTION](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-mysql-binlog-corruption-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

MySQL binlog corruption detected for table `<entityName>`. CDC cannot make progress.

Error message: `<errorMessage>`

For more details see [INGESTION\_GATEWAY\_MYSQL\_BINLOG\_CORRUPTION](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-mysql-binlog-corruption-error-class.md)

### INGESTION\_GATEWAY\_MYSQL\_BINLOG\_POSITION\_UNREADABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The MySQL binlog position required to resume CDC is unreadable on the source database (MySQL error 1236). To mitigate, run a full refresh on all tables.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_MYSQL\_SERVER\_UUID\_CHANGED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The MySQL server that the ingestion gateway is connected to is not the server that produced the current CDC checkpoint. Its `@@server_uuid` differs from the one recorded when the checkpoint was taken. A checkpoint is a binlog file name and position, which are only meaningful on the server that wrote them, so replication cannot resume against a different server. To mitigate, reconnect the pipeline to the original MySQL server, or trigger a full refresh on all tables in the pipeline to bind it to the new server. A full refresh of only some tables does not resolve this error.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_NOT\_RUNNING

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Timed out waiting for `<metadataFile>` as the Ingestion Gateway pipeline `<gatewayId>` is not running.

`<statusDetail>`

Please start the pipeline and try again.

Pipeline: `<link>`.

### INGESTION\_GATEWAY\_ORACLE\_ARCHIVE\_LOG\_FILES\_UNAVAILABLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Oracle archive log files required for CDC replication are no longer available on the source database.

This can happen when archive logs exceed the retention period, are manually deleted, or moved to non-database managed location.

Please perform full refresh on all destination tables mapped to catalog '`<catalogName>`' or move the required archive log files back to the original database-managed location and restart the pipeline.

If this issue persists, consider increasing the archive log retention or archive log backup retention on the source database to ensure logs remain available while they are being processed.

Databricks recommends retaining archivelogs for at least 48 hours.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_ORACLE\_INSUFFICIENT\_TABLESPACE

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

The source Oracle database ran out of space in a tablespace it needed to extend, so it could not complete an operation required for change data capture.

This is a source-side capacity limit that your Oracle DBA has to resolve; Databricks cannot recover from it. Ask your DBA to give the tablespace named in the error below more headroom, then retry the pipeline. For the diagnostic queries and remediation steps, see [https://docs.databricks.com/ingestion/lakeflow-connect/oracle-troubleshoot#ora-01652-source-tablespace-out-of-space](https://docs.databricks.com/ingestion/lakeflow-connect/oracle-troubleshoot#ora-01652-source-tablespace-out-of-space)

Error message: `<errorMessage>`

### [INGESTION\_GATEWAY\_ORACLE\_MISSING\_CONFIGURATION](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-oracle-missing-configuration-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Oracle connection configuration is incomplete.

For more details see [INGESTION\_GATEWAY\_ORACLE\_MISSING\_CONFIGURATION](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-oracle-missing-configuration-error-class.md)

### INGESTION\_GATEWAY\_ORACLE\_PK\_UPDATE\_WITHOUT\_FULL\_SUPPLEMENTAL\_LOG

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Primary key update detected for Oracle table `<entityName>` without full supplemental logging.

Non-key column values are not available in the CDC log, so the updated record cannot be fully constructed.

Enable full supplemental logging on the source table, or trigger a full refresh on the failed table.

### INGESTION\_GATEWAY\_ORACLE\_TABLE\_SKIPPED\_DUE\_TO\_UNSUPPORTED\_NAME\_LENGTH

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<entityName>`' has been skipped because a table or column name exceeds the maximum length supported for change data capture. Rename the affected table or columns, or remove them from the ingestion pipeline. Error message: '`<errorMessage>`'.

### INGESTION\_GATEWAY\_PARTIAL\_ROW\_UPDATE\_MODE\_CHANGED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<entityName>` has been skipped because the partial-row-update mode changed for the pipeline. Full refresh the table to resolve the issue.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_PG\_MAX\_SLOT\_WAL\_KEEP\_SIZE\_UNLIMITED

[SQLSTATE: 01000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-01-warning)

PostgreSQL max\_slot\_wal\_keep\_size is set to unlimited (-1) on the source for catalog `<catalogName>`. Inactive or lagging replication slots may retain unbounded WAL data and exhaust disk space. Consider setting a finite limit.

Details: `<errorMessage>`

### INGESTION\_GATEWAY\_PG\_NOT\_PRIMARY

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

PostgreSQL source for `<entityType> <entityName>` is not a primary server. Logical replication requires a primary. Point the connection at a primary and trigger a full refresh on all destination tables mapped to catalog `<catalogName>`.

Error message: `<errorMessage>`

### [INGESTION\_GATEWAY\_PG\_PUBLICATION\_ALTER\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-publication-alter-failed-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to alter replication publication for `<entityType>` '`<entityName>`'

Error message: `<errorMessage>`

For more details see [INGESTION\_GATEWAY\_PG\_PUBLICATION\_ALTER\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-publication-alter-failed-error-class.md)

### [INGESTION\_GATEWAY\_PG\_PUBLICATION\_CREATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-publication-creation-failed-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create replication publication for `<entityType>` '`<entityName>`'

Error message: `<errorMessage>`

For more details see [INGESTION\_GATEWAY\_PG\_PUBLICATION\_CREATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-publication-creation-failed-error-class.md)

### [INGESTION\_GATEWAY\_PG\_PUBLICATION\_DROP\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-publication-drop-failed-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to drop replication publication for `<entityType>` '`<entityName>`'

Error message: `<errorMessage>`

For more details see [INGESTION\_GATEWAY\_PG\_PUBLICATION\_DROP\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-publication-drop-failed-error-class.md)

### INGESTION\_GATEWAY\_PG\_PUBLICATION\_HAS\_BEEN\_DELETED

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The PostgreSQL publication for `<entityType>` '`<entityName>`' has been deleted. The publication may have been dropped mid replication. Please verify the publication exists and recreate it if necessary, then trigger a full refresh on all the destination tables.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_PG\_SLOT\_CONFIG\_IS\_INVALIDATED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Replication slot config for `<entityType> <entityName>` is not in a healthy state. To resolve this issue, trigger a full refresh on all the destination tables mapped to catalog `<catalogName>`.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_PG\_SLOT\_CONSUMED\_BY\_OTHER\_PROCESS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to use replication slot for `<entityType>` '`<entityName>`' due to replication slot is being used by another PID.

Error message: `<errorMessage>`

### [INGESTION\_GATEWAY\_PG\_SLOT\_CREATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-slot-creation-failed-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create replication slot for `<entityType>` '`<entityName>`'

Error message: `<errorMessage>`

For more details see [INGESTION\_GATEWAY\_PG\_SLOT\_CREATION\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-slot-creation-failed-error-class.md)

### [INGESTION\_GATEWAY\_PG\_SLOT\_DROP\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-slot-drop-failed-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to drop replication slot for `<entityType>` '`<entityName>`'

Error message: `<errorMessage>`

For more details see [INGESTION\_GATEWAY\_PG\_SLOT\_DROP\_FAILED](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-slot-drop-failed-error-class.md)

### INGESTION\_GATEWAY\_PG\_SLOT\_HAS\_BEEN\_DELETED

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Replication slot for `<entityType>` '`<entityName>`' has been deleted. Please trigger a full refresh on all the destination tables mapped to catalog '`<catalogName>`'.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_PG\_SLOT\_IS\_INVALIDATED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Replication slot for `<entityType>` '`<entityName>`' is not in a healthy state. Please drop the slot and trigger a full refresh on all the destination tables mapped to catalog '`<catalogName>`'.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_PG\_WAL\_LEVEL\_NOT\_LOGICAL

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

PostgreSQL source for `<entityType> <entityName>` does not have wal\_level=logical. Logical replication requires wal\_level=logical. Update the server configuration and trigger a full refresh on all destination tables mapped to catalog `<catalogName>`.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_PG\_WAL\_SEGMENT\_REMOVED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The required PostgreSQL WAL segment has already been removed on the source database. This typically happens when the replication slot falls too far behind and PostgreSQL reclaims WAL segments. To mitigate, run a full refresh on all tables and ensure the replication slot does not fall behind.

Error message: `<errorMessage>`

### [INGESTION\_GATEWAY\_PIPELINE\_SPEC\_VALIDATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pipeline-spec-validation-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

For more details see [INGESTION\_GATEWAY\_PIPELINE\_SPEC\_VALIDATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pipeline-spec-validation-error-error-class.md)

### INGESTION\_GATEWAY\_SOURCE\_INSUFFICIENT\_PERMISSION\_FAILURE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The user does not have the required permissions to perform the requested operation on the source. Ensure that all necessary privileges are granted. `<errorMessage>`

### INGESTION\_GATEWAY\_SOURCE\_OBJECT\_NOT\_FOUND

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The Ingestion Gateway could not find an object it needs to read changes from the source, such as a source table or a redo/transaction log. Error message: '`<errorMessage>`'

### INGESTION\_GATEWAY\_SOURCE\_RESOURCE\_EXHAUSTED

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

The Ingestion Gateway exhausted a system resource, such as memory or open file handles. This issue may be transient; retry the pipeline and contact Databricks support if it persists. Error message: '`<errorMessage>`'

### INGESTION\_GATEWAY\_SOURCE\_SCHEMA\_MISSING\_ENTITY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No tables are available for replication from the source.

Verify that the tables are correctly selected and defined in the ingestion pipeline

and user has the necessary catalog and schema access.

### INGESTION\_GATEWAY\_SOURCE\_TOO\_MANY\_CONNECTIONS

[SQLSTATE: 53300](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

The source database rejected new connections because its maximum connection limit was reached. This pipeline alone needs approximately `<connectionsRequired>` connections on the source at peak (during the initial snapshot of all catalogs). If other pipelines or workloads share this source, the source's max\_connections must accommodate all of them concurrently. To check current usage, run these queries on the source as a superuser or `pg_read_all_stats` member (otherwise the count is incomplete): `SHOW max_connections;` and `SELECT count(*) FROM pg_stat_activity WHERE backend_type = 'client backend';`. Increase max\_connections on the source database or reduce pipeline parallelism.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_SQL\_SERVER\_AGENT\_NOT\_RUNNING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

SQL Server Agent is not running for table '`<entityName>`'. CDC replication cannot proceed until the agent is restarted.

Please restart the SQL Server Agent and replication will resume automatically.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_SQL\_SERVER\_CDC\_CAPTURE\_INSTANCE\_LSN\_AHEAD\_OF\_MAX\_LSN\_OF\_DATABASE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<entityName>` was skipped during reinitialization because its new CDC capture instance has not yet been processed by SQL Server's internal CDC jobs (its minimum LSN is still ahead of the database's maximum LSN).

This typically happens when SQL Server Agent is stopped, the 'sp\_cdc\_scan' job has not run for a long time, or CDC cleanup on the source is too aggressive.

Ensure SQL Server Agent and the CDC scan jobs are running, then trigger a full refresh of the table.

Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_SQL\_SERVER\_CT\_DISABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Change Tracking for table `<entityName>` has been disabled on the source.

Please trigger a full refresh after enabling CDC or CT on the table.

### INGESTION\_GATEWAY\_SQL\_SERVER\_CT\_NOT\_SUPPORTED\_ON\_REPLICA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Change Tracking is not supported on secondary availability replica for table `<entityName>`.

To enable replication, either:

1. Connect to the primary replica, or

2. Use CDC instead of Change Tracking if replicating from a replica is required.

Error message: `<errorMessage>`

### [INGESTION\_GATEWAY\_SQL\_SERVER\_UNSUPPORTED\_NON\_TRIGGER\_BASED\_DDL\_SETUP](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-sql-server-unsupported-non-trigger-based-ddl-setup-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to replicate table due to improper non-trigger based DDL setup

For more details see [INGESTION\_GATEWAY\_SQL\_SERVER\_UNSUPPORTED\_NON\_TRIGGER\_BASED\_DDL\_SETUP](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-sql-server-unsupported-non-trigger-based-ddl-setup-error-class.md)

### [INGESTION\_GATEWAY\_STATEMENTS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-statements-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A statement execution failure occurred against the source database.

For more details see [INGESTION\_GATEWAY\_STATEMENTS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-statements-error-error-class.md)

### INGESTION\_GATEWAY\_TABLE\_DROPPED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source table '`<entityName>`' has been dropped on source. Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_TABLE\_RENAMED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Source table '`<entityName>`' has been renamed on source. Error message: `<errorMessage>`

### INGESTION\_GATEWAY\_TABLE\_SKIPPED\_DUE\_TO\_UNSUPPORTED\_CHARSET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<entityName>`' has been skipped due to unsupported charsets in some columns. Resolve the issue and full refresh the table on the Managed Ingestion pipeline. Error message: '`<errorMessage>`'.

### INGESTION\_GATEWAY\_TABLE\_SKIPPED\_DUE\_TO\_UNSUPPORTED\_COLUMN\_DATA\_TYPE

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<entityName>`' has been skipped due to unsupported data type columns. Resolve the issue and full refresh the table on the Managed Ingestion pipeline. Error message: '`<errorMessage>`'.

### INGESTION\_GATEWAY\_TEST\_CONNECTION\_TIMEOUT

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The test connection operation did not complete within the allowed time. This usually indicates the source database is unavailable due to connection, network, or authentication issues. Verify the source database is reachable and your connection details are correct.

### INGESTION\_GATEWAY\_TLS\_CONNECTION\_FAILURE

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Connection failed due to a TLS/SSL error.

This typically means the server certificate could not be verified.

Provide a valid CA certificate or set trustServerCertificate to true.

### INGESTION\_GATEWAY\_TLS\_SETUP\_FAILURE

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Failed to set up TLS/SSL connection.

Error: `<errorMessage>`.

### INGESTION\_GATEWAY\_TLS\_VALIDATION\_FAILURE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

TLS configuration validation failed.

Error: `<errorMessage>`.

### INGESTION\_GATEWAY\_UNEXPECTED\_COLUMN\_UOID

[SQLSTATE: 0AXX1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table '`<entityName>`' has been skipped due to unexpected UOID assigned to columns. Please perform a full refresh on the table to resolve the issue. Error: `<errorMessage>`.

### INGESTION\_GATEWAY\_UNEXPECTED\_TABLE\_UOID

[SQLSTATE: 0AXX2](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table '`<entityName>`' has been skipped due to unexpected UOID assigned to table. Please perform a full refresh on the table to resolve the issue. Error: `<errorMessage>`.

### [INGESTION\_GATEWAY\_UNREACHABLE\_HOST\_OR\_PORT\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-unreachable-host-or-port-failure-error-class.md)

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Could not connect to the source database at `<host>`:`<port>`.

For more details see [INGESTION\_GATEWAY\_UNREACHABLE\_HOST\_OR\_PORT\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-unreachable-host-or-port-failure-error-class.md)

### INGESTION\_GATEWAY\_UNSUPPORTED\_CHARS\_IN\_OBJECT\_NAME

[SQLSTATE: 42XXX](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unsupported chars found in objects for table `<entityName>`, reason: `<errorMessage>`. The table will be skipped. Contact support to enable ingestion of special characters.

### INGESTION\_GATEWAY\_UNSUPPORTED\_FEATURE\_OR\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The Ingestion Gateway encountered a feature or data type it does not support. Error message: '`<errorMessage>`'

### INGESTION\_GATEWAY\_UNSUPPORTED\_OBJECT\_TYPE

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Object '`<entityName>`' is unsupported and has been skipped. To resolve, remove this object from ingestion pipeline. Error message: '`<errorMessage>`'.

### INGESTION\_GATEWAY\_UNSUPPORTED\_SCHEMA\_CHANGE

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

An unsupported schema change has been detected for table `<entityName>`. To resolve this issue, run a full refresh of the table on the Managed Ingestion pipeline. Error message: `<errorMessage>`.

### INGESTION\_GATEWAY\_UNTRACEABLE\_TABLE\_MODIFICATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Untraceable table modification detected for table `<entityName>`, reason: `<errorMessage>`.

This can be caused by a table truncate, cdc log rollover, or other untraceable operation.

The table will be skipped from processing. To re-enable processing, please full refresh the table.

### INGESTION\_GATEWAY\_XA\_TRANSACTION\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to replicate `<entityType>` '`<entityName>`' because it is part of an XA transaction.

Error message: `<errorMessage>`

### INTEGRATED\_CDC\_ALL\_SOURCE\_TABLES\_FATALLY\_FAILED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

All source tables have encountered fatal errors. The extractor cannot make further progress and has been stopped early.

### INTEGRATED\_CDC\_EXTRACTOR\_PARTIAL\_EXECUTION\_CLIENT\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Extraction failed for following source tables (`<tables>`) due to non-retryable errors.

`<flowErrors>`

Check the event log and fix the issues accordingly.

### INTEGRATED\_CDC\_INVALID\_CONNECTION\_CONFIGURATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found invalid configuration in connection: `<connectionName>` for source: `<sourceType>`.

Reason: `<reason>`.

### INTEGRATED\_CDC\_NOT\_IN\_DEFAULT\_PUBLISHING\_MODE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Integrated CDC managed ingestion pipeline is only supported with Default Publishing Mode, missing : `<fieldName>` in pipeline spec.

### INTERNAL\_ERROR\_BEHAVIOR\_CHANGED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Pipeline update paused because Databricks Platform found a potential regression. The change is automatically reverted, and the pipeline will resume operating on the next update.

Detection criteria: `<criteria>`.

### INVALID\_APPLY\_CHANGES\_COMMAND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`AUTO CDC` command is invalid. `<reason>`.

### INVALID\_ARGUMENT\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Value of invalid type passed to parameter '`<paramName>`'. Expected `<expectedType>`. `<additionalMsg>`.

### INVALID\_AUTO\_CDC\_FROM\_SNAPSHOT\_VERSION\_QUERY

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The `VERSION` query for AUTO CDC `FROM SNAPSHOT` on target `<target>` is invalid because `<reason>`. The query must return exactly one non-null column and at most one row.

### [INVALID\_COMPATIBILITY\_OPTIONS](https://docs.databricks.com/gcp/en/error-messages/invalid-compatibility-options-error-class.md)

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The table options specified for table `<table>` are invalid because

For more details see [INVALID\_COMPATIBILITY\_OPTIONS](https://docs.databricks.com/gcp/en/error-messages/invalid-compatibility-options-error-class.md)

### INVALID\_CONFIG\_FOR\_UC\_PIPELINE

[SQLSTATE: 42616](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

UC pipelines do not support setting '`<configKey>`' to '`<configValue>`'. Please remove this configuration from your pipeline settings.

### INVALID\_COPY\_OPTION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unknown copy option: `<kind>`.

### [INVALID\_DBFS\_MOUNT](https://docs.databricks.com/gcp/en/error-messages/invalid-dbfs-mount-error-class.md)

[SQLSTATE: 42KDL](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DBFS Mount can't be accessed.

For more details see [INVALID\_DBFS\_MOUNT](https://docs.databricks.com/gcp/en/error-messages/invalid-dbfs-mount-error-class.md)

### INVALID\_DECORATOR\_USAGE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The first positional argument passed to @`<decoratorName>` must be callable. Either add @`<decoratorName>` with no parameters to your function, or pass options to @`<decoratorName>` using keyword arguments (for example, `<exampleUsage>`).

### INVALID\_DESTINATION\_PIPELINE\_ID

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid destination pipeline ID: '`<pipelineId>`'. Pipeline IDs must be valid UUIDs.

Verify that you're using the correct pipeline ID, not the pipeline name.

### INVALID\_EVENT\_LOG\_CONFIGURATION

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

Invalid event log configuration found in pipeline spec: `<message>`

### INVALID\_FLOW\_PROPERTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid value '`<value>`' for flow property '`<propertyName>`'. Expected 'true' or 'false'.

### INVALID\_NAMED\_REFRESH\_SELECTION\_REQUEST\_FOR\_CONTINUOUS\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Named refresh selection is not supported for this continuous pipeline.

### INVALID\_NAME\_IN\_USE\_COMMAND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid name '`<name>`' in `<command>` command. Reason: `<reason>`

### INVALID\_PARAM\_FOR\_DBSQL\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You can only specify 'pipeline\_id' and 'pipeline\_type' when calling 'dry\_run' for a `DBSQL` pipeline.

### INVALID\_PIPELINE\_ENVIRONMENT\_VERSION\_PROVIDED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Invalid environment version '`<userSpecifiedEnvironmentVersion>`' provided for '`<field>`' field in pipeline spec.

Please provide a valid environment version, ex. '3' for environment version 3.

Spark Declarative Pipelines on Lakeflow only supports environment version '3' and above.

### INVALID\_PIPELINE\_TYPE

[SQLSTATE: 0AKLT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The pipeline with ID '`<pipelineId>`', managing the table `<tableName>`, has a pipeline type that is not supported for this operation. Allowed pipeline types: `<allowedPipelineTypes>`.

### [INVALID\_REFRESH\_SELECTION](https://docs.databricks.com/gcp/en/error-messages/invalid-refresh-selection-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

For more details see [INVALID\_REFRESH\_SELECTION](https://docs.databricks.com/gcp/en/error-messages/invalid-refresh-selection-error-class.md)

### INVALID\_REFRESH\_SELECTION\_REQUEST\_FOR\_CONTINUOUS\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Refresh selection is not supported for the continuous mode.

### INVALID\_REFRESH\_SELECTION\_REQUEST\_WITH\_FULL\_REFRESH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

full\_refresh should not be set to true for a refresh selection request.

### [INVALID\_REPLACE\_WHERE\_OVERRIDE](https://docs.databricks.com/gcp/en/error-messages/invalid-replace-where-override-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid usage of replace\_where\_overrides:

For more details see [INVALID\_REPLACE\_WHERE\_OVERRIDE](https://docs.databricks.com/gcp/en/error-messages/invalid-replace-where-override-error-class.md)

### [INVALID\_REWIND\_SPECIFICATION](https://docs.databricks.com/gcp/en/error-messages/invalid-rewind-specification-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The rewind specification is invalid

For more details see [INVALID\_REWIND\_SPECIFICATION](https://docs.databricks.com/gcp/en/error-messages/invalid-rewind-specification-error-class.md)

### INVALID\_ROOT\_PATH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid root\_path '`<rootPath>`': only absolute directory paths are currently supported. Directory paths must begin with '/' and not end with '/'.

### INVALID\_SCHEMA\_NAME

[SQLSTATE: 3F000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3f-invalid-schema-name)

Invalid schema '`<schemaName>`' specified in the pipeline setting. Reason: `<reason>`.

### INVALID\_SNAPSHOT\_AND\_VERSION\_TYPE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

snapshot\_and\_version for flow with target '`<target>`' returned unsupported type. `<additionalMsg>`.

### INVALID\_TRIGGER\_INTERVAL\_FORMAT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The trigger interval configuration specified in the `<configurationType>` is invalid

### JIRA\_ACCESS\_FORBIDDEN

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Jira connector. Source API type: `<saasSourceApiType>`.

The connecting user does not have access. Kindly re-check permissions of the user and try again.

### JIRA\_ADMIN\_PERMISSION\_MISSING

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Error encountered while calling Jira APIs. Source API type: `<saasSourceApiType>`.

Ensure the connecting user has Jira admin permissions for your Jira instance.

### JIRA\_ADMIN\_PERMISSION\_REQUIRED\_FOR\_TABLES

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The connecting Jira user lacks admin permissions required by some selected tables. Required permission -> tables that need it: `<tables>`.

Grant the connecting user the listed permission in Jira (Settings > System > Global permissions for 'Administer Jira'; the project's permission scheme for 'Administer Projects'), then retry. Alternatively, remove the listed tables from the pipeline.

### JIRA\_AUDIT\_LOG\_EVENT\_MALFORMED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Jira audit log event '`<summary>`' is malformed and cannot be classified for the user\_group table: `<reason>`. File a support ticket if the issue persists.

### JIRA\_AUDIT\_LOG\_REQUIRES\_PAID\_PLAN

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Audit Logs fetching is restricted to Premium and Enterprise plans only. Upgrade your Jira plan to continue.

### JIRA\_AUTHORIZATION\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Authorization failed while calling Jira APIs. Kindly re-authenticate the UC connection created and try again.

### JIRA\_CONNECTOR\_ENTITY\_MAPPING\_PARSING\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Jira connector.

An issue occurred while trying to parse the entity mapping for the entity type: `<entityType>`. Check if your entity is part of the supported types.

If the error persists, file a ticket.

### JIRA\_MISSING\_REQUIRED\_FIELD

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Required field '`<fieldName>`' is missing in the Jira API response.

`JSON` node: `<jsonNode>`

### JIRA\_OAUTH\_APP\_NOT\_INSTALLED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Jira connector. Source API type: `<saasSourceApiType>`.

The Jira OAuth app is not installed on the connected Jira instance with proper scopes.

Verify that the OAuth app is installed with proper scopes according to documentation and re-run the pipeline. If the error persists, file a ticket.

### JIRA\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Jira API call. Source API type: `<saasSourceApiType>`. The Jira API call failed due to rate limits after exhausting all retries.

Please split the tables into separate pipelines and schedule them to run at different times. If the error still persists, file a ticket.

### JIRA\_SITE\_MISSING

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The provided Jira domain `<domain>` does not match any Jira site accessible by the connecting user.

This commonly occurs when the wrong domain is selected from the dropdown while creating the Unity Catalog connection.

Verify the domain in your connection configuration and ensure it matches one of the accessible Jira sites.

### JIRA\_USER\_GROUP\_MV\_MISSING\_REQUIRED\_TABLES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The following tables are required for ingesting user\_group table: `<missingTables>`. Add them to your pipeline configuration and run the pipeline again. File a support ticket if the issue persists.

### JIRA\_USER\_GROUP\_MV\_UNSUPPORTED\_SCD\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The user\_group materialized view only supports SCD\_TYPE\_1. Configured SCD type: `<scdType>`. File a support ticket if the issue persists.

### JOB\_DETAILS\_DO\_NOT\_MATCH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

If both 'update\_cause\_details.job\_details' and 'job\_task' are given then they must match, but they are `<details>` and `<jobTask>`

### JOB\_TASK\_DETAILS\_MISSING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

If 'cause' is `JOB_TASK` then either 'job\_task' or 'update\_cause\_details.job\_details' must be given.

### LEGACY\_PIPELINE\_CREATION\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating pipelines in legacy publishing mode is disabled in workspaces by default. Please contact Databricks support if an exception is required.

### LIBRARY\_FILE\_FETCH\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to access the library file at '`<path>`'. Ensure that the user has the required permissions to read this file.

Reason: `<reason>`

### LIBRARY\_FILE\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

File '`<path>`' was not found or the run\_as user does not have permissions to access it.

### LIBRARY\_FILE\_TOO\_LARGE

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

File '`<path>`' is too large to load into pipelines.

### LINKEDIN\_ADS\_ENTITY\_MODIFIED\_DURING\_READ

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the LinkedIn Ads API call. Source API type: `<saasSourceApiType>`. The total row count changed during read (from `<cachedTotal>` to `<pageTotal>`); the snapshot would not correspond to a single point in time.

The pipeline will automatically retry; if the error persists, file a ticket.

### LINKEDIN\_ADS\_INVALID\_ACCESS\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The LinkedIn Ads API call '`<saasSourceApiType>`' failed because the access token is missing, invalid, expired, or revoked.

Please reconnect your LinkedIn Ads account in the connection settings.

### LINKEDIN\_ADS\_PERMISSION\_DENIED\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The LinkedIn Ads API call '`<saasSourceApiType>`' was denied. The access token is missing the required scopes (for example, r\_ads, r\_ads\_reporting), or the user does not have access to the requested ad account.

Please reconnect your LinkedIn Ads account granting the required scopes, and ensure the user has a role on the ad account.

### LINKEDIN\_ADS\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The LinkedIn Ads API rate limit has been exhausted for the API call '`<saasSourceApiType>`'. Please retry the pipeline update after some time.

To ingest fewer tables in parallel, lower the `pipelines.execution.maxConcurrentFlows` Spark configuration on your pipeline.

### LINKEDIN\_ADS\_SOURCE\_API\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the LinkedIn Ads API call. Source API type: `<saasSourceApiType>`. HTTP status: `<httpStatus>`. LinkedIn error code: `<serviceErrorCode>`.

If the error persists, file a ticket.

### LIVE\_REFERENCE\_OUTSIDE\_QUERY\_DEFINITION\_CLASSIC

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Referencing datasets using `LIVE` virtual schema outside the dataset query definition (i.e., @dlt.table annotation) is not supported.

### LIVE\_REFERENCE\_OUTSIDE\_QUERY\_DEFINITION\_DPM

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Referencing datasets using `LIVE` virtual schema `<identifier>` outside the dataset query definition (i.e., @dlt.table annotation) is not supported.

### LIVE\_REFERENCE\_OUTSIDE\_QUERY\_DEFINITION\_SPARK\_SQL

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Referencing datasets using `LIVE` virtual schema in spark.sql(...) API must not be called outside the dataset query definition (i.e., @dlt.table annotation). It can only be called within the dataset query definition.

### MANAGED\_INGESTION\_AUTO\_FULL\_REFRESH\_NOT\_SUPPORTED\_FOR\_SCD\_TYPE\_2

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Auto Full Refresh is not supported for SCD Type 2. Please disable auto full refresh or use a different SCD type.

### MANAGED\_INGESTION\_CANNOT\_CHANGE\_SOURCE\_FOR\_EXISTING\_DESTINATION\_TABLE

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Changing source from `<existingSourceIdentifier>` to `<newSourceIdentifier>` is not allowed for destination table `<destinationTable>`.

Please map the new source to a new destination table.

### MANAGED\_INGESTION\_GATEWAY\_PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The user is not allowed to ingest CDC data using this ingestion gateway.

### [MANAGED\_INGESTION\_INVALID\_CLUSTERING\_SPEC](https://docs.databricks.com/gcp/en/error-messages/managed-ingestion-invalid-clustering-spec-error-class.md)

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The clustering columns configured for table `<tableName>` are not valid for liquid clustering.

For more details see [MANAGED\_INGESTION\_INVALID\_CLUSTERING\_SPEC](https://docs.databricks.com/gcp/en/error-messages/managed-ingestion-invalid-clustering-spec-error-class.md)

### MANAGED\_INGESTION\_MV\_SYNC\_METADATA\_FAILED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`REPAIR TABLE SYNC METADATA` failed for materialized view `<tableName>`.

### MANAGED\_INGESTION\_PIPELINE\_DISABLED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Managed ingestion pipelines are disabled for this workspace.

### [MANAGED\_INGESTION\_PIPELINE\_SPEC\_VALIDATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/managed-ingestion-pipeline-spec-validation-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

For more details see [MANAGED\_INGESTION\_PIPELINE\_SPEC\_VALIDATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/managed-ingestion-pipeline-spec-validation-error-error-class.md)

### MANAGED\_INGESTION\_UNSUPPORTED\_FILE\_FORMAT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported file format `<fileFormat>` for file source connector. Only `BINARYFILE` format is supported.

### MANAGED\_TABLE\_DOES\_NOT\_SUPPORT\_CDC

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot apply `<apiName>` against managed table `<target>`.

Managed tables (registered via the create\_table() API or `CREATE TABLE name FLOW ...`) do not support CDC change flows.

Use create\_streaming\_table() for the target instead, or remove the `<apiName>` call.

### MANAGED\_TABLE\_NOT\_PRESERVE\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The 'not preserve' setting for `pipelines.alterableMetadataBehavior` is not supported for managed table `<tableName>`.

Managed tables always preserve externally-set row filters and column masks. Remove the 'not preserve' setting for this table to continue.

### MARKETO\_ACCESS\_DENIED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo denied access for the `<saasSourceApiType>` request (requestId `<requestId>`): `<errorMessage>`.

The Marketo API user backing this connection lacks permission for this operation. Grant the API-Only role the required read permissions in Marketo, then re-run the pipeline.

If the error still persists, file a ticket.

### MARKETO\_ACCESS\_TOKEN\_INVALID

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo rejected the access token for connection `<connectionName>`, even after an automatic token refresh.

The credentials on the connection are invalid, expired, or revoked. Edit the connection with a valid Marketo Custom Service client id and secret, then re-run the pipeline.

If the error still persists, file a ticket.

### MARKETO\_BULK\_JOB\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

A Marketo Bulk Extract job did not complete successfully: `<detail>`.

Re-run the pipeline. If the error still persists, file a ticket.

### MARKETO\_BULK\_JOB\_TIMEOUT

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo's Bulk Extract job did not finish within the specified time period (`<detail>`).

Please retry the pipeline. If the error still persists, file a ticket.

### MARKETO\_DAILY\_QUOTA\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo's daily Bulk Extract quota is exhausted (requestId `<requestId>`): `<errorMessage>`.

Marketo's daily Bulk Extract export budget is exhausted. It resets once per day; re-run the pipeline after it resets. See Marketo's error-code reference for the current daily limits: [https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/rest/error-codes](https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/rest/error-codes).

If the error still persists, file a ticket.

### MARKETO\_FEATURE\_NOT\_AVAILABLE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo reported that a feature required by the `<saasSourceApiType>` request is not enabled (requestId `<requestId>`): `<errorMessage>`.

This object or feature is not enabled on your Marketo subscription. Contact your Marketo administrator to enable it, then re-run the pipeline.

If the error still persists, file a ticket.

### MARKETO\_INTERNAL\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo ingestion reached an unexpected internal state: `<detail>`.

Please file a ticket.

### MARKETO\_INVALID\_REQUEST

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo rejected the `<saasSourceApiType>` request as invalid (code `<errorCode>`, requestId `<requestId>`): `<errorMessage>`.

If the error still persists, file a ticket.

### MARKETO\_JOB\_QUEUE\_FULL

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo's Bulk Extract job queue is full (requestId `<requestId>`): `<errorMessage>`.

Marketo's Bulk Extract job queue, shared across all integrations on the subscription, is full. Reduce the number of tables in this pipeline and re-run it. See Marketo's error-code reference for the current queue limits: [https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/rest/error-codes](https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/rest/error-codes).

If the error still persists, file a ticket.

### MARKETO\_MALFORMED\_RESPONSE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to parse the response returned by Marketo: `<detail>`.

This is usually a transient issue on Marketo's side. Re-run the pipeline.

If the error still persists, file a ticket.

### MARKETO\_RANGE\_NOT\_SATISFIABLE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo rejected a byte-range download of the Bulk Extract file as not satisfiable (`<context>`).

File a ticket.

### MARKETO\_SOURCE\_API\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo returned an error for the `<saasSourceApiType>` request (code `<errorCode>`, requestId `<requestId>`): `<errorMessage>`.

If the error still persists, file a ticket.

### MARKETO\_TABLE\_NOT\_SUPPORTED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo table `<tableName>` is not available for this connection.

Verify the table name, and that the corresponding object or activity type is enabled in your Marketo account, then re-run the pipeline.

If the error still persists, file a ticket.

### MARKETO\_TEMPORARILY\_UNAVAILABLE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Marketo temporarily rejected the `<saasSourceApiType>` request with code `<errorCode>` (requestId `<requestId>`): `<errorMessage>`.

This is usually a rate limit, daily API quota, or busy Bulk Extract queue and clears on its own. The pipeline will retry automatically.

If the error still persists, file a ticket.

### MATERIALIZED\_VIEW\_RETURNED\_STREAMING\_DATAFRAME

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Query function for materialized view '`<datasetName>`' returned a streaming DataFrame.

It must return a non-streaming DataFrame.

### MATERIALIZED\_VIEW\_USING\_ICEBERG\_CONFLICTING\_PROPERTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create the materialized view with `USING ICEBERG` because the table property '`<property>`' is set to '`<specifiedValue>`', which conflicts with the value '`<requiredValue>`' required for Delta UniForm Apache Iceberg.

Remove the conflicting table property or set it to '`<requiredValue>`'.

### MATERIALIZED\_VIEW\_USING\_ICEBERG\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`USING ICEBERG` is not supported for materialized views in this environment.

### MAX\_RETRY\_REACHED\_BEFORE\_ENZYME\_RECOMPUTE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Max retry count reached. Retry count:`<flowRetryCount>`. maxFlowFailureRetryCountThreshold:`<maxFlowRetryAttempts>`. `<message>`

### MERGE\_FLOW\_CONDITION\_REQUIRED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`MERGE` flow requires a merge condition.

### MERGE\_FLOW\_EXPECTATIONS\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Expectations are not supported on `MERGE` flows (dataset `<datasetName>`).

### MERGE\_FLOW\_INVALID\_ASSIGNMENT\_TARGET

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid `MERGE` flow assignment target `<target>`.

### MERGE\_FLOW\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`MERGE` flows are not enabled for your workspace.

Please reach out to your Databricks representative to learn more about this feature.

### MERGE\_FLOW\_SOURCE\_NOT\_STREAMING

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Source data for the `MERGE` flow target '`<target>`' must be a streaming query.

### MESA\_PIPELINE\_INVALID\_DEFINITION\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Starting a `<definitionType>` pipeline from UC definition is not allowed.

### MESA\_PIPELINE\_MISMATCH\_PIPELINE\_TYPES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Stored and updated definition must be the same pipeline type but got `<stored>` and `<updated>`.

### MESA\_PIPELINE\_MISSING\_DEFINITION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline does not have a valid definition in UC, but a refresh is requested.

### MESA\_PIPELINE\_MISSING\_DEFINITION\_UNEXPECTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unexpectedly missing pipeline definition from UC.

### METASTORE\_OPERATION\_TIMED\_OUT

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Operations involved in updating the metastore information for `<tableName>` took longer than `<timeout>`.

This issue may be transient or could indicate bugs in the configured metastore client. Try restarting your pipeline and report this issue if it persists.

### META\_ADS\_EMPTY\_AD\_ACCOUNTS\_LIST

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads connector.

The API call failed due to unavailability of any ad accounts associated with the provided credentials. Please ensure the authenticated user has access to at least one ad account and retry.

### META\_ADS\_INSIGHTS\_LEVEL\_INVALID

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads connector while trying to fetch insights for the ad\_insights table.

The provided level parameter `<level>` is invalid. Please pass one of (ad, adset, campaign, account).

### META\_ADS\_INSIGHTS\_PARAM\_BREAKDOWNS\_INVALID

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads connector while trying to fetch insights for the ad\_insights table.

The provided breakdowns param `<breakdowns>` are invalid. Please check meta API documentation for valid list of breakdowns.

If the error persists, file a ticket.

### META\_ADS\_INSIGHTS\_PARAM\_TIME\_INCREMENT\_INVALID

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads connector while trying to fetch insights for the ad\_insights table.

The provided time increment parameter `<timeInc>` could not be parsed. Please enter a valid integer number.

### META\_ADS\_INSIGHTS\_START\_DATE\_INVALID

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads connector while trying to fetch insights for the ad\_insights table.

The provided start date parameter `<startDate>` could not be parsed. Please check and modify it in correct YYYY-MM-DD format.

### META\_ADS\_INSIGHTS\_START\_DATE\_TOO\_OLD

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads connector while trying to fetch insights for the ad\_insights table.

The provided start date can not be beyond 37 months from current date of sync. Please check and modify it in the provided params.

If the error persists, file a ticket.

### META\_ADS\_INVALID\_ACCESS\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Meta Ads API call '`<saasSourceApiType>`' failed because the object '`<objectId>`' does not exist, cannot be loaded due to missing permissions, or does not support the requested operation. The access token may be invalid, expired, or missing required scopes (for example, ads\_read, ads\_management).

Please verify the access token is valid, ensure the user has the required permissions on the ad account, and reconnect your Meta Ads account in the connection settings.

### META\_ADS\_PARAMETERS\_CHANGED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads connector. The input parameters to the ad\_insights table have been modified.

Please perform a full refresh on the impacted tables.

### META\_ADS\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Meta API rate limit for this ad account has been exhausted. Please retry the pipeline update after some time. It is recommended to ingest less number of tables in parallel to avoid hitting the limits again.

If you are frequently hitting rate limit errors, consider upgrading to Advanced access if not already done, as per Meta documentation: [https://developers.facebook.com/docs/marketing-api/get-started/authorization](https://developers.facebook.com/docs/marketing-api/get-started/authorization)

Facebook trace id to trace with Meta support: `<trace_id>`.

### META\_ADS\_REQUESTED\_DATA\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Meta API failed since the amount of data requested exceeds the limit the Meta servers can process.

Try reducing the number of fields to be ingested in this table by using the column selection logic. If the error persists, file a ticket.

Facebook trace id to trace with Meta support: `<trace_id>`.

### META\_ADS\_SERVICE\_UNAVAILABLE\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Meta Ads API call '`<saasSourceApiType>`' failed because the Meta service is temporarily unavailable.

Please try again later. Facebook trace id to trace with Meta support: `<trace_id>`.

### META\_ADS\_SOURCE\_API\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Meta Ads API call. Facebook trace id to trace with Meta support: `<trace_id>`.

If the error persists, file a ticket.

### META\_ADS\_UNCONFIRMED\_USER\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Meta Ads API call '`<saasSourceApiType>`' failed because the user account associated with the access token is not confirmed.

The account owner must complete the confirmation steps on Meta (such as email or phone verification, or identity checks) before API access is restored. Once confirmed, reconnect the Meta Ads account and retry.

### [MIGRATION\_TO\_INTEGRATED\_CDC\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/migration-to-integrated-cdc-failure-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot migrate to Integrated CDC.

For more details see [MIGRATION\_TO\_INTEGRATED\_CDC\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/migration-to-integrated-cdc-failure-error-class.md)

### [MIGRATION\_TO\_UNITY\_CATALOG](https://docs.databricks.com/gcp/en/error-messages/migration-to-unity-catalog-error-class.md)

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

For more details see [MIGRATION\_TO\_UNITY\_CATALOG](https://docs.databricks.com/gcp/en/error-messages/migration-to-unity-catalog-error-class.md)

### MISSING\_CATALOG\_OR\_SCHEMA\_PERMISSION

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline's run-as identity '`<runAsIdentity>`' does not have permissions on '`<schemaName>`'. Details: `<reason>`

### MISSING\_CREATE\_SCHEMA\_PRIVILEGE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline's run-as identity '`<runAsIdentity>`' does not have permission to create schema in catalog `<catalogName>`

### MISSING\_CREATE\_TABLE\_PRIVILEGE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline's run-as identity '`<runAsIdentity>`' does not have permission to create table in schema `<schemaName>`

### MISSING\_RUN\_AS\_USER

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

No run as user was specified for the update.

### MOCK\_CLOUD\_PATH\_INVALID\_TARGET

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The mock target '`<mockPath>`' must be either a Unity Catalog volume directory naming a catalog, schema, and volume (for example, /Volumes/my\_catalog/my\_schema/my\_volume/mock\_data/) or a workspace path under /Workspace (for example, /Workspace/Users/me\@example.com/my\_pipeline/fixtures/customers/).

### MOCK\_CLOUD\_PATH\_REDIRECT\_SCHEMA\_UNAVAILABLE

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`mock_cloud_path` could not resolve the test session's temporary schema for staging the workspace fixture. Make sure the call runs inside `TestPipeline.run` on a runtime that supports `mock_cloud_path`.

### MOCK\_CLOUD\_PATH\_UNSUPPORTED\_RUNTIME

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`mock_cloud_path` is not supported on this Databricks Runtime. Upgrade to a newer runtime on the `PREVIEW` channel to mock cloud paths in pipeline tests.

### MOCK\_CLOUD\_PATH\_WORKSPACE\_SOURCE\_NOT\_FOUND

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The workspace path '`<mockPath>`' does not exist. Check that the fixture is committed next to your test and that the path is spelled correctly.

### MOCK\_CLOUD\_PATH\_WORKSPACE\_STAGING\_FAILED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Failed to stage the workspace fixture '`<mockPath>`' into a temporary volume. Retry the test, and report this if it persists.

### MOVE\_BETWEEN\_PIPELINES\_NOT\_SUPPORTED\_FOR\_MANAGED\_TABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Moving `<tableName>` between pipelines is not supported for managed tables.

### MULTIPLE\_STAGING\_DIRECTORIES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Expected at most one staging directory under volume `<volumePath>` but found multiple: `<directories>`. Cannot determine the extractor staging root.

### MULTI\_QUERY\_SNAPSHOT\_TARGET\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

'`<tableName>`' already contains a `AUTO CDC FROM SNAPSHOT` query '`<flowName>`'. Currently, this API only supports one flow per destination.

### MUTUALLY\_EXCLUSIVE\_OPTIONS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Mutually exclusive options `<options>`. Please remove one of these options.

### MV\_BACKING\_TABLE\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to refresh materialized view `<tableName>`. The backing table could not be found. The underlying table storage may have been deleted or is inaccessible.

### MV\_ST\_HAS\_BLOCKING\_SCHEDULE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The table `<tableName>` has an active `<scheduleKind>` schedule. Please drop the schedule before moving the table, then re-add the schedule on the destination.

### NEGATIVE\_VALUE

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Value for `<arg_name>` must be greater than or equal to 0, got '`<arg_value>`'.

### NON\_LITERAL\_IDENTIFIER\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Using `IDENTIFIER`(...) with a non-literal argument is not supported in this context. Specify the object name directly or pass a string literal to `IDENTIFIER`.

### NON\_UC\_TABLE\_ALREADY\_MANAGED\_BY\_OTHER\_PIPELINE

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<tableName>`' is already managed by pipeline `<otherPipelineId>`.

If you want table '`<tableName>`' to be managed by this pipeline -

1. Remove the table from pipeline '`<otherPipelineId>`'.

2. Start a full refresh update for this pipeline.

If you want to continue managing the table from multiple pipelines, disable this check by setting the configuration `pipelines.tableManagedByMultiplePipelinesCheck.enabled` to `false` in your pipeline settings.

This is not recommended as concurrent operations on the table may conflict with each other and lead to unexpected results.

### NOTEBOOK\_NAME\_LIMIT\_REACHED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid notebook path: '`<nameStart>`...`<nameEnd>`'. It is longer than `<maxNotebookPathLength>` characters.

### NOTEBOOK\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to access the notebook '`<notebookPath>`'. It either does not exist, or the identity used to run this pipeline, `<identity>`, lacks the required permissions.

### NOTEBOOK\_PIP\_INSTALL\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to run '`<pipInstallCommand>`' from notebook: `<notebookPath>`. Please check the driver's stdout logs on the cluster for more details.

### NOTEBOOK\_TOO\_LARGE

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The resolved notebook content at '`<notebookPath>`' is too large, please reduce the size of the notebook.

### NOTIFICATIONS\_DUPLICATE\_ALERTS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicate alerts '`<alertsDuplicates>`' specified in \[`<alerts>`]

### NOTIFICATIONS\_DUPLICATE\_EMAIL\_ADDRESSES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Duplicate email addresses '`<emailRecipientsDuplicates>`' specified in \[`<emailRecipients>`]

### NOTIFICATIONS\_INVALID\_ALERTS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid alerts have been specified to get notifications on: `<invalidAlerts>`

### NOTIFICATIONS\_INVALID\_EMAIL\_ADDRESS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid email address specified to receive notifications: `<invalidEmailAddresses>`

### NOTIFICATIONS\_MISSING\_PARAMS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Please specify at least one recipient and one alert in `<setting>`

### NO\_SOURCE\_OR\_SNAPSHOT\_AND\_VERSION\_ARGUMENT\_PROVIDED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Either `source` or `snapshot_version` must be set for apply\_changes\_from\_snapshot with target '`<target>`'.

### NO\_TABLES\_IN\_PIPELINE

[SQLSTATE: 42617](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipelines are expected to have at least one table defined but no tables were found in your pipeline.

Please verify that you have included, and shared in case Run As is configured, the expected source files and/or directories, and that your source code includes table definitions (for example, `CREATE MATERIALIZED VIEW` in SQL code, @dlt.table in python code).

Note that only tables are counted towards this check. You may also encounter this error if you only include views or flows in your pipeline.

### OUTLOOK\_API\_NON\_JSON\_RESPONSE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Microsoft Graph returned a non-`JSON` response (operation: `<operationType>`). This usually means something on the network path to graph.microsoft.com intercepted the request and returned a block or sign-in page instead of forwarding it — a secure egress (SEG) policy, HTTP proxy, or firewall — or Graph returned a transient gateway error. It is not a permissions problem.

If it persists, verify the workspace's egress path to graph.microsoft.com (secure egress (SEG) policy, proxy, firewall, NCC/Private Link) allows direct `HTTPS` access without redirecting or intercepting requests.

### OUTLOOK\_MAILBOX\_RESOLUTION\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Mailboxes exist for the requested users, but their profiles could not be resolved from Microsoft Graph (operation: `<operationType>`).

This is usually a transient or partial API failure and resolves on the next pipeline retry. If it persists, file a ticket.

### OUTLOOK\_NO\_MAILBOXES\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

No Exchange Online mailboxes were found for this connection.

Verify that the tenant has users with Exchange Online mailboxes, and that the app registration has User.Read.All (or Directory.Read.All) and Mail.Read application permissions with tenant admin consent granted.

### OUTPUT\_MODE\_NOT\_SUPPORTED\_FOR\_TABLE\_FLOW

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Output mode '`<outputMode>`' is not supported for table flow '`<flowName>`' targeting table '`<target>`'. Only 'append' mode is supported for table flows.

### OVERRIDE\_SCHEMA\_COLUMN\_NOT\_FOUND\_IN\_QUERY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<tableName>`': column '`<columnName>`' is declared in the `OVERRIDE` schema but is not produced by any flow writing to the table.

Add '`<columnName>`' to the output of a flow writing to the table, or remove it from the declared schema.

### OVERRIDE\_SCHEMA\_COLUMN\_UNSUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Partial schema declarations do not support `<columnType>` column '`<columnName>`' in table '`<tableName>`'.

Remove `<columnType>` from '`<columnName>`', or declare the table's complete schema without override\_schema.

### OVERRIDE\_SCHEMA\_GENERATED\_COLUMN\_IN\_QUERY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<tableName>`': column '`<columnName>`' is declared as a generated column in the `OVERRIDE` schema but is also produced by a flow writing to the table.

A generated column is computed from its expression and must not appear in a flow's output. Remove '`<columnName>`' from the flow's query.

### OVERRIDE\_SCHEMA\_TYPE\_INCOMPATIBLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table '`<tableName>`': the `OVERRIDE` schema declares column '`<columnName>`' as `<declaredType>`, but the flows writing to the table produce `<inferredType>`.

Update the declared type to `<inferredType>`, or cast the column in the flow's query.

### OWNER\_IS\_MISSING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Owner does not exist.

### PAGINATION\_REQUEST\_HAS\_NAME\_AND\_PAGINATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You can provide a `<name>` or pagination, but not both.

### PATCH\_DEFINITION\_UNSUPPORTED\_FOR\_METRIC\_VIEW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Patching the definition of a metric view pipeline is not supported.

Metric view definitions are managed via `CREATE VIEW` / `ALTER VIEW`; patch is restricted to

ownership changes for pipeline '`<pipelineId>`'.

### PATCH\_PIPELINE\_DEFINITION\_UNSUPPORTED\_FIELD

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

PatchPipelineDefinition only supports the `schedule` field, but the provided definition had other populated fields: '`<updatedDefinition>`'.

### PERFORMANCE\_TARGET\_REQUIRES\_SELECTIVE\_FULL\_REFRESH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

performance\_target can only be set when performing a selective full refresh.

full\_refresh\_selection or full\_refresh\_selection\_by\_path must be non-empty.

### PERSISTED\_VIEW\_READS\_FROM\_STREAMING\_SOURCE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Persisted views do not support reading from streaming sources.

### PERSISTED\_VIEW\_READS\_FROM\_TEMPORARY\_VIEW

[SQLSTATE: 42K0F](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Persisted view `<persistedViewName>` cannot reference temporary view `<temporaryViewName>` that will not be available outside the pipeline scope. Either make the persisted view temporary or persist the temporary view.

### PIPELINE\_CLONING\_ALREADY\_IN\_PROGRESS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline is already being cloned to pipeline with id '`<pipelineId>`'.

### PIPELINE\_CLONING\_BOTH\_TARGET\_AND\_SCHEMA\_SPECIFIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify both 'target' and 'schema' when cloning a pipeline. Please specify only one.

### PIPELINE\_CLONING\_CANNOT\_CHANGE\_SCHEMA\_TO\_TARGET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot clone a pipeline with 'schema' to a pipeline with 'target'. The cloned pipeline must also use 'schema' or omit both to inherit the original value.

### PIPELINE\_CLONING\_INVALID\_DURING\_ACTIVE\_UPDATE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline with ID '`<pipelineId>`' cannot be cloned during an active update.

### PIPELINE\_CLONING\_INVALID\_FIELDS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Request included pipeline spec with invalid fields for clone. Allowed fields include: name, catalog, target, configuration.

### PIPELINE\_CLONING\_INVALID\_FOR\_MISSING\_TARGET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline with ID '`<pipelineId>`' does not publish to a target schema. The source pipeline needs to publish to a target schema to be cloned. Please retry after specifying the 'target' field in the pipeline spec, and running a new update to publish to a target schema.

### PIPELINE\_CLONING\_INVALID\_FOR\_UC\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline with ID '`<pipelineId>`' is already a UC pipeline. UC pipelines cannot be cloned.

### PIPELINE\_CLONING\_NO\_CATALOG\_SPECIFIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No specified catalog for cloning.

### PIPELINE\_CLONING\_NO\_MODE\_SPECIFIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No specified clone mode.

### PIPELINE\_CLONING\_NO\_TARGET\_SPECIFIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No specified target catalog for cloning.

### PIPELINE\_CLONING\_SANDBOX\_GLOB\_LIBRARY\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline '`<pipelineId>`' uses a glob source path that is not a whole-folder include ending in '/\*\*'; only whole-folder globs can be cloned in `SANDBOX` mode.

### PIPELINE\_CLONING\_SANDBOX\_INVALID\_PARENT\_FOLDER\_PATH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The 'parent\_folder\_path' field must be a workspace folder under a user's '.db\_internal/zerops/' directory and must not contain '..' path segments. Provided path: `<parentFolderPath>`

### PIPELINE\_CLONING\_SANDBOX\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot create a sandbox clone of pipeline '`<pipelineId>`' because it already has the maximum of `<limit>` active sandbox pipelines. Delete an existing sandbox pipeline before creating a new one.

### PIPELINE\_CLONING\_SANDBOX\_MISSING\_PARENT\_FOLDER\_PATH

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The 'parent\_folder\_path' field is required when cloning a pipeline in `SANDBOX` mode.

### PIPELINE\_CLONING\_SANDBOX\_NON\_UC\_PIPELINE\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline '`<pipelineId>`' does not publish to Unity Catalog, and only Unity Catalog pipelines can be cloned in `SANDBOX` mode.

### PIPELINE\_CLONING\_SANDBOX\_NON\_WORKSPACE\_PIPELINE\_NOT\_ALLOWED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot create a sandbox clone of pipeline '`<pipelineId>`' with type '`<pipelineType>`'. Sandbox cloning is only supported for `WORKSPACE` pipelines.

### PIPELINE\_CLONING\_SANDBOX\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`SANDBOX` mode cloning is not enabled for pipeline '`<pipelineId>`'.

### PIPELINE\_CLONING\_SANDBOX\_OF\_SANDBOX\_NOT\_ALLOWED

[SQLSTATE: 22000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Cannot create a sandbox clone of pipeline '`<pipelineId>`' because it is already a sandbox pipeline. Only non-sandbox pipelines can be cloned into a sandbox.

### PIPELINE\_CLONING\_SANDBOX\_PARENT\_FOLDER\_INSIDE\_SOURCE\_GLOB

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The 'parent\_folder\_path' `<parentFolderPath>` must not be equal to or nested under a source glob root (`<globRoot>`). Choose a parent folder outside the source pipeline's glob directories.

### PIPELINE\_CREATION\_HTTP\_ERROR

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to create the pipeline for `<tableName>`: `<errorCode>` - `<errorMessage>`

### PIPELINE\_CREATION\_NOT\_ENABLED\_FOR\_WORKSPACE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline creation is not enabled for this workspace.

### PIPELINE\_CREATION\_UNEXPECTED\_ERROR

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to create the pipeline for `<tableName>`: `<errorMessage>`

### [PIPELINE\_DOES\_NOT\_EXIST](https://docs.databricks.com/gcp/en/error-messages/pipeline-does-not-exist-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline with ID '`<pipelineId>`' does not exist.

For more details see [PIPELINE\_DOES\_NOT\_EXIST](https://docs.databricks.com/gcp/en/error-messages/pipeline-does-not-exist-error-class.md)

### PIPELINE\_ENVIRONMENT\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Using environment in Spark Declarative Pipelines on Lakeflow is not enabled.

### [PIPELINE\_ENVIRONMENT\_VERSION\_NOT\_ALLOWED](https://docs.databricks.com/gcp/en/error-messages/pipeline-environment-version-not-allowed-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The pipeline's environment currently does not support environment versions.

For more details see [PIPELINE\_ENVIRONMENT\_VERSION\_NOT\_ALLOWED](https://docs.databricks.com/gcp/en/error-messages/pipeline-environment-version-not-allowed-error-class.md)

### PIPELINE\_ENVIRONMENT\_VERSION\_PREFLIGHT\_VALIDATION\_FAILED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Environment Version enablement validation failed.

Detected patterns from update '`<previousUpdateId>`' that could lead to behavior changes when switching to Spark Connect.

Review the behavior change warnings from the previous update `<previousUpdateId>` for details.

### PIPELINE\_FAILED\_TO\_UPDATE\_UC\_TABLE\_DUE\_TO\_CONCURRENT\_UPDATE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Pipeline failed to update the UC table (`<tableName>`) due to concurrent alters after `<attempts>` attempts.

Please verify there aren't external processes modifying the table, retry the update, and contact Databricks support if this issue persists.

### PIPELINE\_FAILED\_TO\_UPDATE\_UC\_TABLE\_DUE\_TO\_EXTERNAL\_DELETE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The table `<tableName>` was deleted by an external operation while the pipeline was updating it.

Ensure no external processes are modifying the table, then retry the update.

If the issue persists, contact Databricks Support.

### PIPELINE\_FOR\_TABLE\_NEEDS\_REFRESH

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The table `<tableName>` is not in the required state, the table has not been updated recently. The pipeline with ID '`<pipelineId>`' must be run once more and then retry the operation.

### PIPELINE\_FOR\_TABLE\_NOT\_FOUND

[SQLSTATE: 42K03](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline with ID '`<pipelineId>`', managing the table `<tableName>`, can not be found. Make sure you are in the same workspace as the pipeline, you are the owner of the pipeline, and the pipeline ran at least once.

### PIPELINE\_GLOB\_INCLUDES\_CONFLICTS

[SQLSTATE: F0000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-f0-configuration-file-error)

Either glob or notebook/file field under libraries in the pipeline settings should be set. Please change the pipeline settings.

### PIPELINE\_GLOB\_INCLUDES\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Using glob field to include source files is a preview feature and is disabled.

Re-select each source file to include for the pipeline to fix this error.

Reach out to Databricks support to learn more about this feature and enroll in the preview.

### PIPELINE\_GLOB\_SINGLE\_ASTERISK\_UNSUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Single asterisk glob pattern is not supported in included path '`<path>`' in pipeline settings. Use a double asterisk '\*\*' to match files recursively (for example, '/path/to/dir/\*\*')

### PIPELINE\_GLOB\_UNSUPPORTED\_SPECIAL\_CHARACTER

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Special characters `<specialChar>` are reserved and should not be used in included path '`<path>`' in pipeline settings. Remove these characters to fix the error

### PIPELINE\_INCLUSION\_ENTRY\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

This pipeline has too many included entries and exceeds the limit of `<limit>`.

Use glob patterns (for example, /\*\*) to include directories instead of listing individual assets,

or contact Databricks support.

### PIPELINE\_NAME\_LIMIT\_REACHED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Name cannot be longer than `<maxPipelineNameLength>` characters.

### PIPELINE\_NON\_RETRYABLE\_ANALYSIS\_CLIENT\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline failed to analyze the destination tables (`<tables>`) due to non-retryable errors after partial execution.

A new pipeline update will not be created.

`<flowErrors>`

Check the event log and fix the issues accordingly.

### PIPELINE\_NOT\_ELIGIBLE\_FOR\_RESTORATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline '`<pipelineId>`' is past restoration window.

### PIPELINE\_NOT\_IN\_DIRECT\_PUBLISHING\_MODE

[SQLSTATE: 0AKLT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The pipeline with ID '`<pipelineId>`', managing the table `<tableName>`, is not using the Direct Publishing Mode.

### [PIPELINE\_NOT\_READY\_FOR\_SCHEDULED\_UPDATE](https://docs.databricks.com/gcp/en/error-messages/pipeline-not-ready-for-scheduled-update-error-class.md)

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The table is not ready for refresh yet

For more details see [PIPELINE\_NOT\_READY\_FOR\_SCHEDULED\_UPDATE](https://docs.databricks.com/gcp/en/error-messages/pipeline-not-ready-for-scheduled-update-error-class.md)

### PIPELINE\_PERMISSION\_DENIED\_NOT\_OWNER

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are not allowed to perform this operation. You are not the owner of the pipeline with ID '`<pipelineId>`', managing the table `<tableName>`.

### PIPELINE\_RETRYABLE\_ANALYSIS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline failed to analyze the source tables (`<tables>`) due to retryable errors after partial execution.

A new pipeline update will be created to retry processing. If the error persists, please check the event log and address the issues accordingly.

### PIPELINE\_SETTINGS\_FIELD\_CANNOT\_BE\_EDITED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

'`<uneditableFieldName>`' cannot be modified by users. If users want to add or modify the `<settingName>`, please use the '`<editableFieldName>`' field instead.

### PIPELINE\_SETTINGS\_MODIFIED\_CONCURRENTLY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline settings were modified concurrently.

### PIPELINE\_SETTINGS\_UNSUPPORTED\_CONFIGURATIONS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The configurations `<configurations>` are not supported by Spark Declarative Pipelines on Lakeflow. Please remove these configurations.

### PIPELINE\_SETTING\_SHOULD\_NOT\_SPECIFY\_DEVELOPMENT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Starting an update with the 'development' setting is not supported.

### PIPELINE\_SHOULD\_NOT\_HAVE\_MULTIPLE\_TABLES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The pipeline must have exactly one table, but found `<tablesSize>` tables: `<tables>`

### PIPELINE\_SOURCE\_FILE\_NUMBER\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The number of source files, including files declared in directories, exceeds the limit of `<limit>`.

Remove excessive files and update the pipeline spec as needed,

or contact Databricks support to request a limit increase.

### PIPELINE\_SOURCE\_FOLDER\_DEPTH\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

The folder '`<folder_path>`' exceeds the maximum allowed directory nesting level of `<limit>`. Reduce the folder nesting level or contact Databricks support to request a limit increase.

### PIPELINE\_SPEC\_PARAM\_CANNOT\_BE\_CHANGED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Modifying following parameter `<param>` in pipeline settings is not allowed

### PIPELINE\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline type '`<pipelineType>`' is not supported.

### PIPELINE\_TYPE\_QUOTA\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot start update '`<updateId>`' because the limit for active pipelines of type '`<pipelineType>`' has been reached. Limit: `<limit>`; used: `<used>`. To increase this limit, please contact Databricks support about upgrading to an Enterprise account tier.

### PIPELINE\_UPDATE\_FOR\_TABLE\_IS\_RUNNING

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The pipeline with ID '`<pipelineId>`', managing the table `<tableName>`, is running. Please stop the pipeline before running the operation.

### PIPELINE\_UPDATE\_INELIGIBLE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline update is ineligible: configuration '`<flagSparkKey>`' rejected this update.

### PIPELINE\_WORKSPACE\_LIMIT\_REACHED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline creation of type '`<pipelineType>`' blocked because the workspace '`<orgId>`' already has '`<countLimit>`' pipelines. Please delete unused pipelines.

### PIP\_INSTALL\_NOT\_AT\_TOP\_OF\_NOTEBOOK

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found cells containing %pip install that are not at the top of the notebook for '`<notebookPath>`'

Move all %pip install cells to the start of the notebook.

### PIP\_INSTALL\_WITHIN\_NOTEBOOK\_CELL\_NOT\_SUPPORTED\_WITH\_ENVIRONMENT\_VERSION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

%pip install within notebook cell is not supported when using Environment Version.

The library you tried to install was: `<command>` at cell `<cellIdx>` in notebook `<notebookPath>`

Please install the library using the "Environment" settings in the pipeline settings.

For example, to install library 'pandas', you can add the following to the "Environment" settings:

"environment": \{

"dependencies": \[

"pandas==1.5.0"

]

}

Or use the pipeline settings UI to add the library to the "Environment" settings.

### PREVIOUS\_USER\_INIT\_ENVIRONMENT\_VERSION\_ENABLEMENT\_FAILED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The previous update '`<previousUpdateId>`' failed to enable environment version. Remove the environment version setting from the pipeline configuration, resolve the issue from that update, then re-enable environment version.

### PY4J\_BLOCKED\_API

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You are using a Python API that is not supported in the current environment.

Please check Databricks documentation for alternatives.

`<additionalInfo>`

### PYTHON\_DECORATED\_DATASET\_ACCESS\_DUNDER\_NAME

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Accessing \_\_name\*\_ on the object produced by @dlt.table, @dlt.view, or @dlt.expect\*\*

is not allowed.

### PYTHON\_DECORATED\_DATASET\_INVOKE\_AND\_ACCESS\_PROPERTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Accessing '`<propertyName>`' on the object returned by invoking the object produced by

@dlt.table, @dlt.view, or @dlt.expect\_\* is not allowed.

### PYTHON\_REPL\_CREATION\_FAILED

[SQLSTATE: 58000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

Failed to create Python REPL during pipeline initialization. This issue may be transient. Try restarting your pipeline and contact Databricks for support if this issue persists.

### QUARANTINE\_DESTINATION\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The quarantine destination '`<tableName>`' is not compatible with this pipeline: `<reason>`.

### QUARANTINE\_FEATURE\_DISABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`QUARANTINE` expectations are not enabled for this pipeline runtime.

Enable quarantine support before running a pipeline that declares a `QUARANTINE` expectation.

### QUARANTINE\_UNSUPPORTED\_FLOW

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`QUARANTINE` expectations are not supported for flow '`<flowName>`' of type '`<flowType>`'.

### [QUERY\_BASED\_CONNECTOR\_DUPLICATE\_RECORDS](https://docs.databricks.com/gcp/en/error-messages/query-based-connector-duplicate-records-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Duplicate \_\_databricks\_id for `<tableName>`, which does not have a primary key. Found `<count>` rows for key `<key>`. This may be due to duplicate records or a hash collision.

For more details see [QUERY\_BASED\_CONNECTOR\_DUPLICATE\_RECORDS](https://docs.databricks.com/gcp/en/error-messages/query-based-connector-duplicate-records-error-class.md)

### QUERY\_BASED\_CONNECTOR\_SOURCE\_API\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the `<sourceName>` API call. Source API type: `<qbcSourceApiType>`.

Try refreshing the destination table. If the issue persists, please file a ticket.

### QUERY\_BASED\_CONNECTOR\_SOURCE\_AUTHENTICATION\_ERROR

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

The `<sourceName>` source rejected the connection credentials. Error code: `<saasConnectionErrorCode>`.

Verify the username and password on the connection, and that the source permits that user to connect from Databricks.

### [QUERY\_BASED\_INGESTION\_CONNECTOR\_ERROR](https://docs.databricks.com/gcp/en/error-messages/query-based-ingestion-connector-error-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Error happened in query-based ingestion connector for `<sourceName>`.

For more details see [QUERY\_BASED\_INGESTION\_CONNECTOR\_ERROR](https://docs.databricks.com/gcp/en/error-messages/query-based-ingestion-connector-error-error-class.md)

### RABBITMQ\_BLOCK\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

RabbitMQ block '`<blockId>`' not found in BlockManager or checkpoint file '`<filePath>`'.

### [RABBITMQ\_INVALID\_OFFSET](https://docs.databricks.com/gcp/en/error-messages/rabbitmq-invalid-offset-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid RabbitMQ offset.

For more details see [RABBITMQ\_INVALID\_OFFSET](https://docs.databricks.com/gcp/en/error-messages/rabbitmq-invalid-offset-error-class.md)

### [RABBITMQ\_INVALID\_OPTION](https://docs.databricks.com/gcp/en/error-messages/rabbitmq-invalid-option-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid RabbitMQ source option '`<optionKey>`'.

For more details see [RABBITMQ\_INVALID\_OPTION](https://docs.databricks.com/gcp/en/error-messages/rabbitmq-invalid-option-error-class.md)

### [RABBITMQ\_UC\_CONNECTION](https://docs.databricks.com/gcp/en/error-messages/rabbitmq-uc-connection-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to resolve RabbitMQ Unity Catalog connection '`<connectionName>`'.

For more details see [RABBITMQ\_UC\_CONNECTION](https://docs.databricks.com/gcp/en/error-messages/rabbitmq-uc-connection-error-class.md)

### REALTIME\_APPLIER\_FLOW\_STALLED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Flow `<flowName>` has stalled for `<stalledDuration>`, exceeding the maximum allowed threshold of `<threshold>`.

This could be due to too many flows or resource constraints.

### REDDIT\_ADS\_ACCESS\_DENIED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Reddit Ads API denied access during operation '`<saasSourceApiType>`'.

The ad account does not exist, or the authenticated user does not have permission to access it. Note: the Reddit Ads reports endpoint returns 403 regardless of whether the account exists or simply belongs to a different user.

Verify the ad account ID in your pipeline configuration is correct and that it belongs to the authenticated Reddit Ads user.

### REDDIT\_ADS\_ACCOUNT\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Reddit Ads API returned a 404 error for ad account '`<accountId>`' during operation '`<saasSourceApiType>`'.

Verify that the ad account ID is correct and that the authenticated user has access to this account.

Note: Reddit Ads returns 404 for both non-existent accounts and accounts the user is not authorized to access. If the account ID is correct, ensure the Reddit app has been granted access to this ad account and retry.

### REDDIT\_ADS\_AUTHENTICATION\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Reddit Ads API returned 401 Unauthorized during operation '`<saasSourceApiType>`'. An automatic token refresh was attempted but authentication still failed.

The access token or refresh token in the UC connection may be expired or revoked.

Please reconnect the Reddit Ads account by updating the credentials in the Unity Catalog connection and retry the pipeline.

### REDDIT\_ADS\_INSUFFICIENT\_SCOPE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Reddit Ads API rejected the request during operation '`<saasSourceApiType>`' because the connection is missing the required OAuth scope '`<requiredScope>`'.

Make sure the Reddit Ads connection includes the '`<requiredScope>`' scope, then re-run the pipeline.

### REDDIT\_ADS\_INVALID\_CUSTOM\_REPORT\_CONFIGURATION

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Invalid custom\_report configuration. `<reason>`

Check the 'breakdowns' and 'fields' options for the custom\_report table in your pipeline configuration. Both options are required and must not repeat a token; breakdowns must include at least one time breakdown (`DATE` or `HOUR`); and all breakdown and field names must be valid uppercase tokens documented by the Reddit Ads API.

### REDDIT\_ADS\_INVALID\_REPORT\_PARAMS

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Reddit Ads report API rejected an invalid parameter during operation '`<saasSourceApiType>`'.

Invalid value at '`<fieldPath>`': `<fieldMessage>`

Check the 'breakdowns' and 'fields' options in your pipeline configuration for the custom\_report table. Ensure all breakdown and field names are valid uppercase strings as documented by the Reddit Ads API.

### REDDIT\_ADS\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Reddit Ads API call failed due to rate limits after exhausting all retries. Operation: '`<saasSourceApiType>`'.

Reddit Ads enforces 60 requests/minute for report endpoints and 400 requests/minute for entity endpoints.

To resolve this, reduce the number of tables ingested in parallel, or split the tables into separate pipelines scheduled to run at different times to spread the load.

If the error persists, file a ticket.

### REDDIT\_ADS\_RESOURCE\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Reddit Ads API returned 404 (resource not found) during operation '`<saasSourceApiType>`'.

The requested resource either does not exist, or the Reddit Ads connection does not have access to it.

Verify the resource exists and that the connection has access to it. If it does and the error persists, file a ticket.

### REFERENCE\_DLT\_DATASET\_OUTSIDE\_QUERY\_DEFINITION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Referencing pipeline dataset `<identifier>` outside the dataset query definition (i.e., @dlt.table annotation) is not supported. Please read it instead inside the dataset query definition.

### REFRESH\_INITIATED\_FROM\_INVALID\_WORKSPACE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The refresh must be initiated in workspace `<homeWorkspaceId>`, where the resource was created.

The refresh was attempted in workspace `<userWorkspaceId>`.

### REFRESH\_MODE\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot add `<type>` to a table that already has `<existingType>`. Please drop the existing schedule or use `ALTER TABLE` `...` `ALTER <type>` ... to alter it.

### REGISTER\_UPDATE\_REQUIRES\_DBSQL\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

RegisterUpdate is only supported for `DBSQL` pipelines, but pipeline type is `<pipelineType>`.

### REGISTER\_UPDATE\_REQUIRES\_SERVERLESS\_SPARK\_CONNECT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

RegisterUpdate requires pipeline to be created in serverless compute with spark connect enabled.

### REGISTER\_UPDATE\_RPC\_DISABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

RegisterUpdate RPC is not enabled for this pipeline.

### REGISTER\_UPDATE\_UNSUPPORTED\_UPDATE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

RegisterUpdate does not support update type '`<updateType>`'.

### REPLACE\_USING\_DUPLICATE\_KEYS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Flow '`<flowName>`' specifies duplicate `REPLACE USING` key columns: `<duplicateKeys>`.

### REPLACE\_USING\_EMPTY\_KEYS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Flow '`<flowName>`' must specify at least one `REPLACE USING` key column.

### REPLACE\_USING\_FLOW\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Feature `REPLACE USING` flow is not enabled.

### REPLACE\_USING\_REQUIRES\_SEQUENCE\_BY

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`replace_using` requires `sequence_by` to be set, which orders logical batches so the

`REPLACE USING` flow stays correct under out-of-order processing.

### REPLACE\_USING\_REQUIRES\_TARGET\_SCHEMA

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`REPLACE USING` flows are not supported for Unity Catalog pipelines without a target schema. Configure a target schema to use `REPLACE USING`.

### REPLACE\_USING\_UNSUPPORTED\_DBR\_VERSION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`REPLACE USING` flows require Databricks Runtime 18.2 or above.

### REPLACE\_USING\_UNSUPPORTED\_KEY\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow '`<flowName>`' uses `REPLACE USING` key column '`<keyColumn>`' of type `<keyType>`, which does not support equality comparison. Choose a key column whose type supports equality.

### REPLACE\_USING\_WITH\_NON\_STREAMING\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow '`<flowName>`' uses `REPLACE USING` with a non-streaming source. `REPLACE USING` is only supported for streaming data sources.

### REPLACE\_WHERE\_WITH\_NON\_DETERMINISTIC\_EXPRESSION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `REPLACE WHERE` predicate for flow '`<flowName>`' must be deterministic, but found non-deterministic expression: `<expression>`. Non-deterministic expressions such as rand() or uuid() are not supported in `REPLACE WHERE` predicates.

### REPLACE\_WHERE\_WITH\_ONCE\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow '`<flowName>`' cannot use both `REPLACE WHERE` and ONCE. These options are mutually exclusive.

### REPLACE\_WHERE\_WITH\_STREAMING\_SOURCE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Flow '`<flowName>`' uses `REPLACE WHERE` with a streaming source. `REPLACE WHERE` is only supported for batch (non-streaming) data sources.

### REQUIRED\_PARAM\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Required parameter `<param>` is not found.

### RESERVED\_KEYWORD\_IN\_USE\_CATALOG

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

USE `CATALOG` '`<reservedKeyword>`' is illegal because '`<reservedKeyword>`' is a reserved keyword in Spark Declarative Pipelines on Lakeflow.

### RESERVED\_KEYWORD\_IN\_USE\_SCHEMA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

USE `SCHEMA` '`<reservedKeyword>`' is illegal because '`<reservedKeyword>`' is a reserved keyword in Spark Declarative Pipelines on Lakeflow.

### RESOURCES\_ARE\_BEING\_PROVISIONED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline resources are being provisioned for pipeline '`<pipelineId>`'.

### RESOURCE\_READ\_ONLY\_IN\_WORKSPACE

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<resourceType>` '`<resourceName>`' has been designated as read-only in the current workspace.

### RESTORE\_NON\_DELETED\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline '`<pipelineId>`' is not deleted. Restoration is only applicable for deleted pipelines.

### RESTORE\_PIPELINE\_DISABLED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

RestorePipeline is not enabled for pipeline type `<pipelineType>`

Please contact Databricks support for assistance in restoring pipeline '`<pipelineId>`'.

### REWIND\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Rewind is enabled for this pipeline, but flow '`<flowIdentifier>`' writing to '`<destination>`' does not support rewind: `<reason>`

### [ROLLBACK\_MIGRATION\_FROM\_INTEGRATED\_CDC\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/rollback-migration-from-integrated-cdc-failure-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot roll back this Integrated CDC pipeline to a source ingestion gateway.

For more details see [ROLLBACK\_MIGRATION\_FROM\_INTEGRATED\_CDC\_FAILURE](https://docs.databricks.com/gcp/en/error-messages/rollback-migration-from-integrated-cdc-failure-error-class.md)

### ROOT\_PATH\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable access root path '`<rootPath>`'. Please ensure you have the required access privileges.

### RUN\_AS\_USER\_NOT\_FOUND

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

The specified run as user '`<runAsUserId>`' for the update does not exist in the workspace.

### [SAAS\_CONNECTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connection-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Failed to make a connection to the `<sourceName>` source. Error code: `<saasConnectionErrorCode>`.

For more details see [SAAS\_CONNECTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connection-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_ASYNC\_JOB\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-async-job-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source async job component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_ASYNC\_JOB\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-async-job-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_AUTH\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-auth-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source authenticator component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_AUTH\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-auth-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_DECODER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-decoder-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source decoder component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_DECODER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-decoder-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_ERROR\_HANDLER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-error-handler-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source error handler component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_ERROR\_HANDLER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-error-handler-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_HTTP\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-http-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source HTTP request component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_HTTP\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-http-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_INTERPOLATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-interpolation-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Template interpolation failed.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_INTERPOLATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-interpolation-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_OFFSET\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-offset-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source offset component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_OFFSET\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-offset-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_PAGINATOR\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-paginator-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source paginator component

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_PAGINATOR\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-paginator-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_PARTITION\_ROUTER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-partition-router-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source partition router component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_PARTITION\_ROUTER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-partition-router-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_QUERY\_PROPERTIES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-query-properties-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source query properties component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_QUERY\_PROPERTIES\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-query-properties-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_RECORD\_EXTRACTOR\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-record-extractor-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source record extractor component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_RECORD\_EXTRACTOR\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-record-extractor-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_RECORD\_FILTER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-record-filter-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source record filter component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_RECORD\_FILTER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-record-filter-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_RECORD\_TRANSFORMATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-record-transformation-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source record transformation component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_RECORD\_TRANSFORMATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-record-transformation-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_REQUESTER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-requester-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source HTTP requester component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_REQUESTER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-requester-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_REQUEST\_SIGNER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-request-signer-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source request signer component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_REQUEST\_SIGNER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-request-signer-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_RETRIEVER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-retriever-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source retriever component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_RETRIEVER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-retriever-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_SCHEMA\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-schema-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Unable to validate the configuration for source '`<sourceName>`'. Please file a ticket.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_SCHEMA\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-schema-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_SCHEMA\_LOADER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-schema-loader-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Schema loader error for source '`<sourceName>`'.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_SCHEMA\_LOADER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-schema-loader-error-error-class.md)

### [SAAS\_CONNECTOR\_API\_SOURCE\_SCHEMA\_NORMALIZATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-schema-normalization-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the SaaS connector source schema normalization component.

For more details see [SAAS\_CONNECTOR\_API\_SOURCE\_SCHEMA\_NORMALIZATION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-api-source-schema-normalization-error-error-class.md)

### [SAAS\_CONNECTOR\_DUPLICATE\_DATA](https://docs.databricks.com/gcp/en/error-messages/saas-connector-duplicate-data-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Found duplicate data in the table `<tableName>`. Source type: `<sourceName>`.

For more details see [SAAS\_CONNECTOR\_DUPLICATE\_DATA](https://docs.databricks.com/gcp/en/error-messages/saas-connector-duplicate-data-error-class.md)

### SAAS\_CONNECTOR\_INVALID\_INCLUDE\_COLUMNS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid include\_columns specified for table `<qualifiedTableName>`. Reason: `<reason>`

### SAAS\_CONNECTOR\_INVALID\_PRIMARY\_KEY\_CONFIGURATION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid primary key configuration for table `<qualifiedTableName>`. Reason: `<reason>`

### SAAS\_CONNECTOR\_MUTUAL\_AUTHENTICATION\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

This session could not be mutually authenticated for use with `<sourceName>`. Source API type: `<saasSourceApiType>`. Error code: `<saasSourceApiErrorCode>`.

Please verify that the client certificate and private key are a valid pair and trusted by `<sourceName>`.

### SAAS\_CONNECTOR\_REFRESH\_TOKEN\_EXPIRED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The refresh token for connection `<connectionName>` has expired. Edit the connection, re-authenticate, and re-run your pipeline.

### SAAS\_CONNECTOR\_RESPONSE\_TOO\_LARGE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The API response is too large: `<contentLength>` bytes exceeds max `<maxAllowed>`.

### [SAAS\_CONNECTOR\_SCHEMA\_CHANGE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-schema-change-error-error-class.md)

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

A schema change has occurred in table `<tableName>` of the `<sourceName>` source.

For more details see [SAAS\_CONNECTOR\_SCHEMA\_CHANGE\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-schema-change-error-error-class.md)

### SAAS\_CONNECTOR\_SOURCE\_API\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the `<sourceName>` API call. Source API type: `<saasSourceApiType>`. Error code: `<saasSourceApiErrorCode>`.

Try refreshing the destination table. If the issue persists, please file a ticket.

### SAAS\_CONNECTOR\_UC\_CONNECTION\_OAUTH\_EXCHANGE\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The OAuth token exchange failed for UC connection: `<connectionName>`.

This can be caused by issues with your UC credentials. Check the error trace, edit the UC connection, re-authenticate, and run the pipeline again. If the error persists, file a ticket.

### [SAAS\_CONNECTOR\_UNSUPPORTED\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-unsupported-error-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported error happened in data source `<sourceName>`.

For more details see [SAAS\_CONNECTOR\_UNSUPPORTED\_ERROR](https://docs.databricks.com/gcp/en/error-messages/saas-connector-unsupported-error-error-class.md)

### SAAS\_INCOMPATIBLE\_SCHEMA\_CHANGES\_DURING\_INIT

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

We have detected incompatible schema changes when initializing the pipeline:

`<details>`

Please perform a full refresh on the impacted tables.

### SAAS\_PARTIAL\_ANALYSIS\_INPUT\_CREATION\_ERROR

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Error encountered while creating input for partial analysis. A new pipeline update will not be created.

Please check the event log and fix the issues accordingly.

### SAAS\_SCHEMA\_DIVERGED\_DURING\_ANALYSIS

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The source table (`<table>`)'s analyzed schema has diverged from its expected schema.

Please retry the pipeline update and see if the issue is resolved.

If this issue persists, please perform a full refresh on the tables mentioned above

Expected schema:

`<expectedSchema>`

Actual schema:

`<actualSchema>`

### [SAAS\_UC\_CONNECTION\_INACCESSIBLE](https://docs.databricks.com/gcp/en/error-messages/saas-uc-connection-inaccessible-error-class.md)

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The provided Connection `<connectionName>` is inaccessible. Please check the connection and try again.

For more details see [SAAS\_UC\_CONNECTION\_INACCESSIBLE](https://docs.databricks.com/gcp/en/error-messages/saas-uc-connection-inaccessible-error-class.md)

### SAAS\_UC\_CONNECTION\_IN\_FAILED\_STATE

[SQLSTATE: 08000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The connection `<connectionName>` is in the failed state. Please update the connection with valid credentials and try again.

### SANDBOX\_PIPELINE\_RUN\_NOT\_ALLOWED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Cannot start a run for sandbox pipeline '`<pipelineId>`'. Sandbox pipelines do not support data writes and can only be started with explore\_only=true.

### SANDBOX\_PIPELINE\_STILL\_INITIALIZING

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Sandbox pipeline '`<pipelineId>`' is still being initialized (its notebooks are being copied). Retry once the pipeline reaches the IDLE state.

### SCALA\_COMMAND\_FAILURE

[SQLSTATE: 39000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-39-external-routine-invocation-exception)

Failed to execute Scala command.

`<msg>`

### SCHEDULED\_REFRESH\_NOT\_SUPPORTED\_WITH\_TEMP\_VIEWS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Scheduled refreshes are not supported for `<tableType>` '`<tableName>`' because it references temporary views in its definition.

Temporary views are session-scoped and will not be available when the scheduled refresh runs.

Please remove the `SCHEDULE` clause or rewrite the query to use persisted views or tables instead.

### SCHEMA\_EXPLORATION\_INVALID\_REQUEST

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to enumerate source objects: the request is invalid (`<exceptionType>`: `<causeMessage>`).

### SCHEMA\_EXPLORATION\_REQUIRES\_INGESTION\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema exploration is only supported for ingestion pipelines.

### SCHEMA\_SPEC\_EMPTY\_CATALOG

[SQLSTATE: 3D000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3d-invalid-catalog-name)

SchemaSpec has an empty string in the catalog field.

Please remove the empty string or add the catalog name. (If this schema doesn't belong to a catalog in the source, do not set the field.)

Schema spec details:

`<schemaSpec>`

### SCHEMA\_SPEC\_EMPTY\_SCHEMA

[SQLSTATE: 3F000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3f-invalid-schema-name)

SchemaSpec has an empty string in the schema field.

Please remove the empty string or add the schema name. (If this table doesn't belong to a schema in the source, do not set the field.)

Schema spec details:

`<schemaSpec>`

### SCHEMA\_SPEC\_REQUIRE\_ONE\_OF\_CATALOG\_SCHEMA

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

At least one of source catalog and source schema must be present. But both are empty.

Schema spec details:

`<schemaSpec>`

### SEQUENCE\_BY\_COLUMN\_NOT\_FOUND

[SQLSTATE: 42703](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline definition includes sequence\_by column(s) (`<columnNames>`) that do not exist in the table `<qualifiedTableName>` of source `<sourceType>`. Please remove these column(s) from the sequence\_by field.

### SERVERLESS\_BUDGET\_POLICY\_AND\_USAGE\_POLICY\_BOTH\_SET

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot set both `budget_policy_id` and `usage_policy_id`. Please remove `budget_policy_id`.

### SERVERLESS\_BUDGET\_POLICY\_BAD\_REQUEST

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The provided budget policy with id '`<budgetPolicyId>`' can not be used in this workspace due to policy workspace binding constraints.

### SERVERLESS\_BUDGET\_POLICY\_IS\_INVALID

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Serverless budget policy with id '`<budgetPolicyId>`' is invalid.

### SERVERLESS\_BUDGET\_POLICY\_MISSING

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Serverless budget policy with id '`<budgetPolicyId>`' does not exist.

### SERVERLESS\_BUDGET\_POLICY\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Serverless budget policy is not enabled, please contact Databricks support.

### SERVERLESS\_BUDGET\_POLICY\_NOT\_ENABLED\_FOR\_ACCOUNT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Serverless budget policy is not enabled for this account. The user cannot specify a budget policy for this pipeline. Account admin should try to enroll through the feature preview portal. If the problem persists, please contact Databricks support.

### SERVERLESS\_BUDGET\_POLICY\_NOT\_SUPPORTED\_FOR\_NON\_SERVERLESS\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Serverless budget policy cannot be assigned to a non-serverless pipeline.

### SERVERLESS\_BUDGET\_POLICY\_NOT\_SUPPORTED\_FOR\_PIPELINE\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Serverless budget policy is not supported for pipeline type `<pipelineType>`.

### SERVERLESS\_BUDGET\_POLICY\_PERMISSION\_DENIED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

User does not have permission to use serverless budget policy with id '`<budgetPolicyId>`'.

### SERVERLESS\_NOT\_AVAILABLE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Serverless compute is not available. Please contact Databricks for more information.

### SERVERLESS\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

You can't use serverless compute with Spark Declarative Pipelines on Lakeflow. Please contact Databricks to enable this feature for your workspace.

### SERVERLESS\_NOT\_ENABLED\_FOR\_USER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Serverless compute is not enabled for caller. Please contact your workspace admin to enable this feature.

### SERVERLESS\_NOT\_ENABLED\_FOR\_WORKSPACE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Serverless compute is not available for this workspace and/or region. Please contact Databricks for more information.

### SERVERLESS\_REQUIRED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

You must use serverless compute in this workspace.

### [SERVICENOW\_CONNECTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/servicenow-connection-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

For more details see [SERVICENOW\_CONNECTION\_ERROR](https://docs.databricks.com/gcp/en/error-messages/servicenow-connection-error-error-class.md)

### SERVICENOW\_CONNECTOR\_EMPTY\_CURSOR\_KEY\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the ServiceNow. Source API type: `<saasSourceApiType>`.

At this time, the ingestion pipeline cannot ingest the table '`<tableName>`' because the cursor key in a row contains an empty field.

To continue running your pipeline, remove this table. If the error persists, file a ticket.

### SERVICENOW\_CONNECTOR\_INSTANCE\_HIBERNATION\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

Failed to connect to the ServiceNow instance. The instance appears to be hibernating or inactive.

Log into your ServiceNow admin portal and wait for some time until the instance fully wakes up.

If the error persists, file a ticket.

### SERVICENOW\_CONNECTOR\_INSTANCE\_OFFLINE\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

Failed to connect to the ServiceNow instance. The instance is offline.

Log into your ServiceNow admin portal and wait for some time until the instance restores.

If the error persists, file a ticket.

### SERVICENOW\_CONNECTOR\_INVALID\_TABLE\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

Failed to query the schema of the table '`<tableName>`'. The table does not exist in the ServiceNow account for this user.

Verify the table name for any typos and ensure that the user has the necessary permissions to access the table.

If the error persists, file a ticket.

### SERVICENOW\_CONNECTOR\_IP\_ADDRESS\_RESTRICTED\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

Failed to connect to the ServiceNow instance. The instance has IP address access control restrictions.

To resolve this, either disable the IP address restrictions by navigating to ServiceNow >> All >> System Security >> IP Address Access Control or use serverless stable IPs

If the error persists, file a ticket.

### [SERVICENOW\_CONNECTOR\_MALFORMED\_ENDPOINT\_URL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/servicenow-connector-malformed-endpoint-url-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

Invalid ServiceNow API endpoint URL detected. The URL structure does not match the expected ServiceNow format.

Check the ServiceNow instance configuration in the UC connection credentials.

For more details see [SERVICENOW\_CONNECTOR\_MALFORMED\_ENDPOINT\_URL\_ERROR](https://docs.databricks.com/gcp/en/error-messages/servicenow-connector-malformed-endpoint-url-error-error-class.md)

### SERVICENOW\_CONNECTOR\_MAX\_FAILED\_ATTEMPTS\_REACHED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

This often happens when the data fetch for a table takes too long. As a first step, work with your ServiceNow administrator to enable indexing on the cursor column.

The cursor column is selected from the following list, in order of availability and preference: sys\_updated\_on (first choice), sys\_created\_on (second choice), sys\_archived (third choice)

For instructions on enabling indexing in ServiceNow, see here: [https://docs.databricks.com/ingestion/lakeflow-connect/servicenow-overview#why-is-my-servicenow-ingestion-performance-slow](https://docs.databricks.com/ingestion/lakeflow-connect/servicenow-overview#why-is-my-servicenow-ingestion-performance-slow).

We also recommend increasing the 'REST API query timeout' to more than 60 seconds to allow more time to fetch records.

To increase the timeout, visit ServiceNow >> All >> Transaction Quota Rules and increase the mentioned timeout.

Then, retry your ingestion pipeline. If the issue persists, file a ticket.

### SERVICENOW\_CONNECTOR\_SCHEMA\_FIELD\_TYPE\_INACCESSIBLE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the ServiceNow. Source API type: `<saasSourceApiType>`.

While fetching the table schema with non-admin privileges, the internal\_type of the schema columns is not accessible.

To resolve this, give read permissions on the table ‘sys\_glide\_object’ to the current user.

If the error persists, file a ticket.

### [SERVICENOW\_CONNECTOR\_UNAUTHORIZED\_ACCESS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/servicenow-connector-unauthorized-access-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in ServiceNow. Source API type: `<saasSourceApiType>`.

For more details see [SERVICENOW\_CONNECTOR\_UNAUTHORIZED\_ACCESS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/servicenow-connector-unauthorized-access-error-error-class.md)

### SET\_TBLPROPERTIES\_NOT\_ALLOWED\_FOR\_PIPELINE\_TABLE

[SQLSTATE: 0AKLT](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER <commandTableType>` `...` `SET TBLPROPERTIES` is not supported. To modify table properties, please change the original definition and run an update.

### [SFDC\_CONNECTOR\_BULK\_QUERY\_JOB\_INCOMPLETE](https://docs.databricks.com/gcp/en/error-messages/sfdc-connector-bulk-query-job-incomplete-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Ingestion for object `<objName>` is incomplete because the Salesforce API query job took too long, failed, or was manually cancelled.

For more details see [SFDC\_CONNECTOR\_BULK\_QUERY\_JOB\_INCOMPLETE](https://docs.databricks.com/gcp/en/error-messages/sfdc-connector-bulk-query-job-incomplete-error-class.md)

### SFDC\_CONNECTOR\_BULK\_QUERY\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Ingestion for object `<objName>` failed because Salesforce bulk API query job could not be found.

This is likely because the job was deleted in the Salesforce UI or because it’s been more than 7 days since the last pipeline update, after which Salesforce automatically deletes the job

To trigger a new bulk job, please perform a `FULL REFRESH` on the specific destination table.

### SFDC\_CONNECTOR\_CREATE\_BULK\_QUERY\_API\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Salesforce API call: API limit exceeded

Please wait for your API limits to reset. Then try refreshing the destination table.

If the error persists, file a ticket.

### SFDC\_CONNECTOR\_CREATE\_BULK\_QUERY\_JOB\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Ingestion for object `<objName>` is incomplete because creation of Salesforce bulk API query job failed. Error code: `<saasSourceApiErrorCode>`.

`<actionText>`.

### SFDC\_CONNECTOR\_MALFORMED\_RECORDS

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Ingestion for Salesforce object '`<objName>`' failed because Salesforce `<saasSourceApiType>` returned malformed records.

Please check the stacktrace for more details.

Verify the data in Salesforce and re-run the pipeline.

### SFDC\_CONNECTOR\_MISSING\_SOBJECT\_NAME

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Salesforce Describe Global response contains an sObject without a valid 'name' field.

sObject label: `<label>`, available keys: \[`<availableKeys>`].

### SFDC\_CONNECTOR\_UNEXPECTED\_FIELD\_TYPE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Salesforce sObject '`<objectName>`' field '`<fieldName>`' expected `<expectedType>` but got `<actualType>`: `<actualValue>`.

### SFMC\_DATA\_EXTENSION\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Salesforce Marketing Cloud connector.

Data Extension with key '`<dataExtensionKey>`' was not found in Salesforce Marketing Cloud.

Verify that the Data Extension key is correct and that the authenticating user of UC connection '`<connectionName>`' has the required permissions to access it.

If the error still persists, file a ticket.

### SFMC\_INSUFFICIENT\_PERMISSIONS

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Salesforce Marketing Cloud connector. Source API type: `<saasSourceApiType>`

The OAuth application does not have sufficient scope access to retrieve the data for the table.

Ensure that the API Integration Package linked to UC connection '`<connectionName>`' includes the required scope(s) `<requiredScopes>` in Salesforce Marketing Cloud.

If the error still persists, file a ticket.

### SFMC\_REST\_API\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Salesforce Marketing Cloud REST API rate limit exceeded for `<saasSourceApiType>` after automatic retries. Split the tables into separate pipelines and schedule them to run at different times. If the error still persists, file a ticket.

### SFMC\_SOAP\_API\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Salesforce Marketing Cloud SOAP API rate limit exceeded for `<saasSourceApiType>` after automatic retries. Split the tables into separate pipelines and schedule them to run at different times. If the error still persists, file a ticket.

### SHAREPOINT\_INVALID\_LIST\_OPTIONS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The SharePoint list could not be resolved from the provided connector options: `<details>`.

Verify that the list URL points to a valid SharePoint list.

### SINKS\_NOT\_SUPPORTED\_IN\_SEG

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Pipeline sinks are not supported in serverless egress control enabled workspaces. Supported pipeline sinks are Delta, jdbcStreaming, Kafka, and postgresql.

The following unsupported sinks are found: `<sinkNames>`, their corresponding formats are: `<sinkFormats>`.

### SMARTSHEET\_CONNECTOR\_API\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`. Error code: `<saasSourceApiErrorCode>`.

Try refreshing the destination table. If the issue persists, file a ticket.

### SMARTSHEET\_CONNECTOR\_AUTHENTICATION\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`.

Authentication failed. Your access token may be invalid, expired, or require Single Sign-On.

Verify that your Smartsheet access token is valid and has the required permissions.

If the error persists, file a ticket.

### SMARTSHEET\_CONNECTOR\_ENTITY\_MODIFIED\_DURING\_READ

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`.

The entity was modified during read; the snapshot would not correspond to a single point in time.

The pipeline will automatically retry; if the error persists, file a ticket.

### SMARTSHEET\_CONNECTOR\_EVENT\_REPORTING\_NOT\_ENABLED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`.

The Event Reporting add-on is not enabled on this Smartsheet plan.

The audit\_logs table requires an Enterprise or Advanced Work Management plan with the Event Reporting add-on. Contact your Smartsheet account administrator to enable it.

See [https://www.smartsheet.com/datasheets/datasheet-event-reporting](https://www.smartsheet.com/datasheets/datasheet-event-reporting) for more details.

### SMARTSHEET\_CONNECTOR\_FORBIDDEN\_ACCESS

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`.

You are not authorized to perform this action.

Verify that your Smartsheet access token has the required permissions for this resource.

If the error persists, file a ticket.

### SMARTSHEET\_CONNECTOR\_INVALID\_REGION

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet.

Invalid region: '`<region>`'. Supported regions are: us, eu, au.

Update the region in your connection configuration.

### SMARTSHEET\_CONNECTOR\_MALFORMED\_EVENT

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Smartsheet returned an event missing a required field. Event ID: `<eventId>`. Missing field: `<missingField>`.

This indicates an API contract violation. Contact Smartsheet support with the event ID, or file a ticket with the Lakeflow Connect team.

### SMARTSHEET\_CONNECTOR\_RATE\_LIMITED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`.

The Smartsheet API rate limit has been exceeded.

Try refreshing the destination table. If the issue persists, file a ticket.

### SMARTSHEET\_CONNECTOR\_RESOURCE\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`.

The requested resource was not found.

Verify that the sheet or report ID is correct and that you have access to it.

If the error persists, file a ticket.

### SMARTSHEET\_CONNECTOR\_TRANSIENT\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Smartsheet. Source API type: `<saasSourceApiType>`.

A temporary error occurred (maintenance, timeout, or concurrent update).

Try refreshing the destination table. If the issue persists, file a ticket.

### SNAPSHOT\_CANCELLED\_NEW\_SNAPSHOT\_REQUESTED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The snapshot of table `<tableName>` requested at `<cancelledSnapshotTimestamp>` was cancelled because a newer snapshot was requested for it at `<newSnapshotTimestamp>`.

Track the newer snapshot for the table's ingestion progress.

### SNAPSHOT\_CANCELLED\_TABLE\_REMOVED

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The snapshot of table `<tableName>` was cancelled because the table was removed from the ingestion pipeline's specification.

If the table should still be ingested, verify that it is included in the ingestion pipeline's specification.

### SOURCE\_CONNECTOR\_REJECTED\_REQUEST

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The source connector rejected the schema-exploration request: `<causeMessage>`

### SOURCE\_CONNECTOR\_RPC\_REJECTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The source connector returned an error while enumerating objects (`<exceptionType>`: `<causeMessage>`).

### SOURCE\_DATABASE\_QUERY\_REJECTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The source database rejected the schema-exploration query (`<exceptionType>`: `<causeMessage>`).

### SOURCE\_OBJECT\_DETAILS\_UNSUPPORTED\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The source object details type `<objectType>` is not supported.

### SOURCE\_REQUEST\_TIMED\_OUT

[SQLSTATE: 57014](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

The source did not respond within the schema-exploration timeout (`<exceptionType>`: `<causeMessage>`).

### SOURCE\_TABLE\_NOT\_MATERIALIZED

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to read dependent dataset '`<sourceTableName>`' because it is not materialized. Run the entire pipeline to materialize all dependent datasets.

### SOURCE\_UNREACHABLE

[SQLSTATE: 08006](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

Could not reach the source while enumerating objects (`<exceptionType>`: `<causeMessage>`).

Verify network connectivity, DNS, and TLS settings for the source.

### SPARK\_CONNECT\_DEFINITION\_PATH\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Definition path for graph element '`<graphElementName>`' not found. Please contact Databricks support.

### SPARK\_CONNECT\_DEFINITION\_PATH\_NOT\_FOUND\_SPARK\_SQL

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No pipeline definition path is available in the current Spark SQL execution context. Please contact Databricks support.

### SPARK\_CONNECT\_SESSION\_CREATION\_BUDGET\_POLICY\_LIMIT\_EXCEEDED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Could not start serverless compute because the pipeline's budget policy has exceeded its limit.

Use a different policy or contact your billing administrator.

### SPARK\_CONNECT\_SESSION\_CREATION\_CLIENT\_ERROR

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Could not start serverless compute for this update: `<errorMessage>`

### SPARK\_CONNECT\_SESSION\_CREATION\_CREDITS\_EXHAUSTED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Could not start serverless compute because the workspace has exhausted its available credits.

Add a payment method to upgrade the account.

### SPARK\_CONNECT\_SESSION\_CREATION\_GATEKEEPER\_QUOTA\_EXCEEDED

[SQLSTATE: 57000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-57-operator-intervention)

Could not start serverless compute because quota was exceeded: `<errorMessage>`

Retry after quota has been increased.

### SPARK\_CONNECT\_SESSION\_CREATION\_REJECTED

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

Could not start serverless compute for this update because the request was rejected by resource admission control.

Error: `<errorMessage>`

### SPARK\_CONNECT\_SESSION\_CREATION\_SECRETS\_FETCH\_FAILED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot fetch secrets referred in the Spark configuration.

Please check that the secrets exist and the pipeline owner has read permissions.

### SPARK\_CONNECT\_SESSION\_LOST

[SQLSTATE: 08003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-08-connection-exception)

The Spark Connect session '`<sessionId>`' used by this update is no longer available, so the update could not be monitored to completion.

### SPARK\_CONNECT\_UNSUPPORTED\_FLOW\_DEFINITION\_ERROR

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Flow definition is not supported. Please contact Databricks support. Command: `<defineFlowCommand>`

### SPARK\_CONNECT\_UNSUPPORTED\_OUTPUT\_TYPE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Output type '`<outputType>`' is not supported in Spark Connect. Please contact Databricks support.

### SPARK\_CONNECT\_UNSUPPORTED\_SINK\_EXTENSION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Sink '`<sinkName>`' was defined with a sink type ('`<extensionTypeUrl>`') that this version of Databricks Runtime does not support.

### SPARK\_CONNECT\_UPDATE\_CONTEXT\_NOT\_FOUND

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

No update context found for pipeline '`<pipelineId>`' update '`<updateId>`' operation '`<operationId>`'. The update may have already completed or been terminated.

### SPECIFY\_CLUSTER\_BY\_WITH\_PARTITIONED\_BY\_IS\_NOT\_ALLOWED

[SQLSTATE: 42908](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot specify both `CLUSTER BY` and `PARTITIONED BY` for table `<tableName>`.

Update the table definition to keep only one of `PARTITIONED BY` or `CLUSTER BY` / `CLUSTER BY` AUTO.

### STAGING\_VOLUME\_OWNED\_BY\_ANOTHER\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The staging volume for this pipeline is now owned by the `<pipelineType>` pipeline '`<pipelineId>`'. Did you mean to use that pipeline instead? Contact Databricks support to get this pipeline running again.

### STANDALONE\_MATERIALIZED\_VIEW\_STREAMING\_TABLE\_PREVIEW\_CHANNEL\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

The `PREVIEW` channel is not supported for materialized views and streaming tables on serverless generic compute. Only the `CURRENT` channel is supported. Please remove the `pipelines.channel` property or set it to '`CURRENT`'.

### STANDALONE\_MATERIALIZED\_VIEW\_STREAMING\_TABLE\_REQUIRES\_OWNER

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Only the owner can refresh a materialized view or streaming table using serverless generic compute.

The current user '`<currentUser>`' is not the owner.

Table owner can be changed via `ALTER` or from the catalog explorer UI.

### STANDALONE\_PRIVATE\_MVST\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Creating a standalone `PRIVATE` MV/ST is not supported. Please remove the `PRIVATE` modifier

### [STANDALONE\_TABLE\_COMPUTE\_TYPE\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/standalone-table-compute-type-mismatch-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

For more details see [STANDALONE\_TABLE\_COMPUTE\_TYPE\_MISMATCH](https://docs.databricks.com/gcp/en/error-messages/standalone-table-compute-type-mismatch-error-class.md)

### STANDALONE\_TABLE\_PIPELINE\_DEFINITION\_NOT\_FOUND

[SQLSTATE: 58030](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-58-system-error)

The pipeline definition for pipeline '`<pipelineId>`' could not be retrieved from Unity Catalog. The table may be in a corrupted state. Please contact Databricks support.

### START\_PYTHON\_REPL\_TIMED\_OUT

[SQLSTATE: 53000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Timeout while waiting for the Python REPL to start. Took longer than `<timeoutSeconds>` seconds.

### START\_UPDATE\_REQUIRES\_DBSQL\_COMPUTE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

StartUpdate is not supported for `DBSQL` pipelines created in serverless Spark Connect compute. This pipeline was created with compute type '`<computeType>`' and must be refreshed using the same compute type. Refresh it through a serverless generic compute like serverless notebooks or jobs.

### START\_UPDATE\_UNITY\_CATALOG\_ERROR

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Failed to start update because of a Unity Catalog error.

Ensure that your Unity Catalog configuration is correct, and that required resources (for example, catalog, schema) exist and are accessible.

Details: `<ucErrorMessage>`

### STREAMING\_CONNECTOR\_INVALID\_CONFIGURATION

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Invalid `<sourceName>` connector configuration: `<message>`

### STREAMING\_TARGET\_NOT\_DEFINED

[SQLSTATE: 42P01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot find target table `<target>` for the `<command>` command. Target table `<target>` is not defined in the pipeline.

### STREAMING\_VIEW\_INCONSISTENT\_INPUTS\_PER\_CONSUMER

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Resolving streaming view '`<viewName>`' produces different inputs depending on the downstream consumer flow. This is not supported.

Reference consumer (`<referenceConsumerName>`): `<referenceFlowInputs>`.

Mismatched consumer (`<newConsumerName>`): `<newFlowInputs>`.

### [SYNCED\_TABLE\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/synced-table-user-error-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Synced table pipeline user error.

For more details see [SYNCED\_TABLE\_USER\_ERROR](https://docs.databricks.com/gcp/en/error-messages/synced-table-user-error-error-class.md)

### TABLE\_ASSOCIATED\_WITH\_OTHER\_PIPELINE\_CONFLICT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table `<tableName>` was associated with a different pipeline while executing this command

### TABLE\_CHANGED\_DURING\_OPERATION

[SQLSTATE: 55019](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The table `<tableName>` was modified outside of this transaction, and this transaction has been rolled back. Retry the operation.

### TABLE\_MATERIALIZATION\_CYCLIC\_FOREIGN\_KEY\_DEPENDENCY

[SQLSTATE: 42887](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Pipeline update for pipeline: `<pipelineId>` detected a cyclic chain of foreign key constraints: `<tables>`.

### [TABLE\_METADATA\_NOT\_READY\_CLIENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/table-metadata-not-ready-client-error-error-class.md)

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Timed out waiting for `<metadataFile>`. `<reason>`

Verify that there are no extractor errors; if the issue persists after retries, contact Databricks support.

For more details see [TABLE\_METADATA\_NOT\_READY\_CLIENT\_ERROR](https://docs.databricks.com/gcp/en/error-messages/table-metadata-not-ready-client-error-error-class.md)

### TABLE\_NOT\_ASSOCIATED\_WITH\_PIPELINE

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Could not materialize `<identifier>` because a table already exists with that name and is not associated with this pipeline.

To adopt the existing table into this pipeline, run `ALTER TABLE <identifier> SET TBLPROPERTIES('pipelines.pipelineId' = '<pipelineId>')`; otherwise drop or rename the existing table.

### TABLE\_NOT\_ELIGIBLE\_FOR\_PIPELINE\_ASSOCIATION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Associating `<tableName>` with a pipeline is not supported because the table is either a backing table of another pipeline-managed table or a hidden table.

### TABLE\_NOT\_ELIGIBLE\_FOR\_PIPELINE\_MOVE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Moving `<tableName>` to another pipeline is not supported because the table is either a backing table of another pipeline-managed table or a hidden table.

### TABLE\_OWNERSHIP\_CHANGED\_DURING\_UPDATE

[SQLSTATE: 42P07](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table `<tableName>` is no longer managed by pipeline `<pipelineId>`.

A concurrent operation (such as a table move) changed the table's owning pipeline during this update. A pipeline can only modify tables it owns, so this update cannot proceed.

Retry the update.

### TABLE\_SPEC\_BOTH\_CATALOG\_SCHEMA\_REQUIRED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

TableSpec is missing one of the source catalog and/or source schema.

Table spec details:

`<tableSpec>`

### TABLE\_SPEC\_EMPTY\_CATALOG

[SQLSTATE: 3D000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3d-invalid-catalog-name)

TableSpec has an empty string in the catalog field.

Please remove the empty string or add the catalog name. (If this table doesn't belong to a catalog in the source, do not set the field.)

Table spec details:

`<tableSpec>`

### TABLE\_SPEC\_EMPTY\_SCHEMA

[SQLSTATE: 3F000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-3f-invalid-schema-name)

TableSpec has an empty string in the schema field.

Please remove the empty string or add the schema name. (If this table doesn't belong to a schema in the source, do not set the field.)

Table spec details:

`<tableSpec>`

### TABLE\_SPEC\_EMPTY\_TABLE

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Table name is empty. Please provide a table name.

Table spec details:

`<tableSpec>`

### TABLE\_TOKEN\_NOT\_EXIST\_FOR\_SCHEMA\_EVOLUTION\_LEGACY\_TABLE

[SQLSTATE: 42KD4](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Schema evolution cannot be enabled due to missing metadata. Please trigger a full refresh.

Reason: Snapshot table token must be defined when schema evolution is enabled.

### TEST\_ONLY\_CANNOT\_BE\_SET\_WITH\_OTHER\_UPDATE\_MODES

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

test\_only cannot be combined with validate\_only, explore\_only, or a rewind update.

### TEST\_ONLY\_NOT\_SUPPORTED

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

test\_only updates are not supported yet.

### TEST\_PIPELINE\_NOT\_IN\_PIPELINE\_CONTEXT

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

TestPipeline.active() must be called from within a pipeline context.

Ensure you are running this code in a pipeline notebook or cluster.

### TIKTOK\_ADS\_ADVERTISER\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in TikTok Ads. Source API type: `<saasSourceApiType>`. Error code: `<errorCode>`.

The specified advertiser does not exist or cannot be matched.

Verify that the advertiser ID is correct and that you have access to the advertiser account.

If the error persists, file a ticket.

### TIKTOK\_ADS\_ADVERTISER\_NOT\_FOUND

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

TikTok Ads returned an advertiser-not-found error. Source API type: `<saasSourceApiType>`. Error code: `<errorCode>`.

TikTok response: `<sourceMessage>`

The advertiser referenced in your pipeline configuration does not exist or has been deleted in TikTok Ads Manager.

Remove or replace the affected advertiser ID in your pipeline configuration and re-run the pipeline.

### TIKTOK\_ADS\_EMPTY\_CUSTOM\_REPORT\_FIELD

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the TikTok Ads connector.

A custom report must specify at least one entry for '`<field>`'.

Add one or more values to '`<field>`' in your pipeline configuration and re-run the pipeline.

### TIKTOK\_ADS\_INVALID\_LOOKBACK\_WINDOW\_DAYS

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the TikTok Ads connector.

The configured lookback window '`<value>`' is invalid. It must be an integer between `<minDays>` and `<maxDays>` days.

Fix the lookback window (lookback\_window\_days) in your pipeline configuration and re-run the pipeline.

### TIKTOK\_ADS\_INVALID\_PARAMETER

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

TikTok Ads rejected an invalid request parameter. Source API type: `<saasSourceApiType>`. Error code: `<errorCode>`.

TikTok response: `<sourceMessage>`

Please check the pipeline configuration for the invalid parameter and re-run the pipeline after fixing it.

### TIKTOK\_ADS\_INVALID\_SYNC\_START\_DATE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the TikTok Ads connector.

The configured sync start date '`<value>`' is invalid. It must be a valid date in YYYY-MM-DD format and must not be in the future.

Fix the sync start date (sync\_start\_date) in your pipeline configuration and re-run the pipeline.

### TIKTOK\_ADS\_MISSING\_TIME\_DIMENSION

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the TikTok Ads connector.

A non-lifetime custom report must include 'stat\_time\_day' or 'stat\_time\_hour' in its dimensions.

Add a time dimension, or explicitly set query\_lifetime=true to request an all-time report, and re-run the pipeline.

### TIKTOK\_ADS\_NO\_AUTHORIZED\_ADVERTISERS

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the TikTok Ads connector.

No authorized advertiser account was found through this UC connection. If there is at least one authorized advertiser account, file a ticket.

### TIKTOK\_ADS\_PERMISSION\_DENIED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in TikTok Ads. Source API type: `<saasSourceApiType>`. Error code: `<errorCode>`.

The authenticated user does not have the required permissions to perform the operation.

Verify that the user has the necessary access rights in the TikTok Ads account.

If the error persists, file a ticket.

### TIKTOK\_ADS\_RATE\_LIMIT\_EXCEEDED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in TikTok Ads. Source API type: `<saasSourceApiType>`. Error code: `<errorCode>`.

The TikTok API rate limit has been exceeded. Automatic retries with backoff were attempted but the rate limit persists.

The daily API quota (QPD) has likely been exhausted. Please retry the pipeline update after `<nextRetryTimeUtc>` (the next UTC midnight, when QPD resets).

If you are frequently hitting rate limit errors, apply for a higher rate limit tier in the TikTok developer portal.

If the error persists, file a ticket.

### TIKTOK\_ADS\_UNSUPPORTED\_REPORT\_TYPE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the TikTok Ads connector.

The configured report type '`<value>`' is not supported. Only `BASIC` and `AUDIENCE` report types are supported currently.

Set the report type (report\_type) to `BASIC` or `AUDIENCE` in your pipeline configuration and re-run the pipeline.

### TMV3\_CREATE\_TABLE\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The create\_table() API is not enabled for this workspace. Use create\_streaming\_table() instead, or contact your Databricks representative to enable this preview.

### TRASHED\_PIPELINE\_IN\_WORKSPACE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unable to start the pipeline because the pipeline is trashed or deleted.

### TRIGGER\_INTERVAL\_VALUE\_INVALID

[SQLSTATE: 22003](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The trigger interval must be a positive duration, the maximum acceptable value is 2,147,483,647 seconds. Received: `<actual>` seconds.

### TRIGGER\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Triggers are not enabled for this workspace. Please enable Table Triggers in the Previews page.

### TRIGGER\_ON\_UPDATE\_SOURCE\_REQUIRED

[SQLSTATE: 42601](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`TRIGGER ON UPDATE` requires the defining query to read from at least one source to monitor for changes, but the provided query does not reference any source.

### TRIGGER\_ON\_VIEW\_READ\_FROM\_FILE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The source `<source>` is a view that reads from a file location, which is not currently supported by trigger.

### TRIGGER\_REQUEST\_SERIALIZATION\_ERROR

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

There was an issue processing your request. Please contact Databricks support.

### TRIGGER\_SECURABLE\_KIND\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Trigger setup failed: unsupported table type. See documentation for supported types.

### TRIGGER\_SOURCE\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The source `<source>` with type `<type>` is currently not supported by trigger.

### TRIGGER\_STATE\_SERIALIZATION\_ERROR

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

There was an issue processing your request. Please contact Databricks support.

### TRIGGER\_TABLE\_LIMIT\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Trigger setup failed: the trigger includes more tables than the allowed limit. Please see the documentation for details on table limits and how to resolve this issue.

### TRIGGER\_TABLE\_TYPE\_NOT\_SUPPORTED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Trigger setup failed: unsupported table type. See documentation for supported types.

### UC\_AWS\_ASSUME\_ROLE\_FAILED

[SQLSTATE: 28000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-28-invalid-authorization-specification)

Failed to get credentials: the AWS IAM role in the credential is not configured correctly. Please contact your account admin to update the configuration.

### UC\_CLEARING\_TARGET\_SCHEMA\_NOT\_ALLOWED

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Clearing the target schema field in is not allowed for UC pipelines. Reason: `<reason>`.

### UC\_IAM\_ROLE\_NON\_SELF\_ASSUMING

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The IAM role for the storage credential was found to be non self-assuming.

Please check your role's trust and IAM policies to ensure that your IAM role can assume itself according to the Unity Catalog storage credential documentation.

### UC\_NOT\_ENABLED

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Using UC catalog in Spark Declarative Pipelines on Lakeflow is not enabled.

### UC\_PIPELINE\_CANNOT\_PUBLISH\_TO\_HMS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

UC enabled pipelines cannot publish to Hive Metastore. Please choose a different target catalog.

### UC\_ROOT\_STORAGE\_CREDENTIAL\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Root storage credential for metastore `<metastoreId>` does not exist.

Please contact your Databricks representative or consider updating the metastore with a valid storage credential.

For more information, see [https://docs.databricks.com/api-explorer/workspace/metastores/update](https://docs.databricks.com/api-explorer/workspace/metastores/update)

### UC\_STORAGE\_CREDENTIAL\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Storage credential `<credentialId>` does not exist.

Please verify that the storage credential has not been deleted, or update the pipeline to reference a valid storage credential.

For more information, see [https://docs.databricks.com/api-explorer/workspace/storagecredentials/get](https://docs.databricks.com/api-explorer/workspace/storagecredentials/get)

### UC\_TARGET\_SCHEMA\_REQUIRED

[SQLSTATE: 0AKD0](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The target schema field is required for UC pipelines. Reason: `<reason>`.

### UNABLE\_TO\_INFER\_TABLE\_SCHEMA

[SQLSTATE: 42KD9](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to infer the schema for table `<tableName>` from its upstream flows.

Please modify the flows that write to this table to make their schemas compatible.

Inferred schema so far:

`<inferredDataSchema>`

Incompatible schema:

`<incompatibleDataSchema>`

### UNEXPECTED\_PIPELINE\_SCHEMA\_PERMISSION\_ERROR

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Unexpected error while checking schema permissions for pipeline `<pipelineId>`. Please contact Databricks support.

### UNIFORM\_COMPATIBILITY\_CANNOT\_SET\_WITH\_ROW\_FILTERS\_OR\_COLUMN\_MASKS

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Uniform compatibility cannot be set on materialized views or streaming tables that have a row filter or column masks applied.

### UNITY\_CATALOG\_INITIALIZATION\_FAILED

[SQLSTATE: 56000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-56-miscellaneous-sql-or-product-error)

Encountered an error with Unity Catalog while setting up the pipeline on cluster `<clusterId>`.

Ensure that your Unity Catalog configuration is correct, and that required resources (for example, catalog, schema) exist and are accessible.

Also verify that the cluster has appropriate permissions to access Unity Catalog.

Details: `<ucErrorMessage>`

### UNRESOLVED\_SINK\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Storage path for sink `<identifier>` cannot be resolved. Please contact Databricks support.

### UNRESOLVED\_TABLES\_FOR\_MAINTENANCE

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

The following tables were found in the pipeline definition but could not be resolved during maintenance. Please run a pipeline update execution with the latest pipeline definition to materialize all tables in the pipeline definition and unblock maintenance, or contact Databricks support if the problem persists.

`<unresolvedTableIdentifiersSet>`

### UNRESOLVED\_TABLE\_PATH

[SQLSTATE: 22KD1](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

Storage path for table `<identifier>` cannot be resolved. Please contact Databricks support.

### UNSUPPORTED\_ALTER\_COMMAND

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`ALTER <commandTableType>` `...` `<command>` is not supported.

### UNSUPPORTED\_CHANNEL\_FOR\_DPM

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported channel for Direct Publishing Mode. Expect either '`CURRENT`' or '`PREVIEW`' channel, but got '`PREVIOUS`'

### UNSUPPORTED\_COMMAND\_IN\_NON\_DPM\_PIPELINE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<command>` only supported in direct publishing mode enabled Lakeflow pipeline

### UNSUPPORTED\_COMMAND\_IN\_QUERY\_DEFINITION

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

'`<command>`' is not supported in query definition. Please move the command outside of the query definition. If it is a Lakeflow pipeline in Python, move the '`<command>`' outside of @dlt.table()/@dlt.view() decorator. If it is a Lakeflow pipeline in Scala, move the '`<command>`' outside of 'query' method.

### UNSUPPORTED\_CUSTOM\_DBR\_VERSION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Custom DBR version '`<v>`' is not supported in `SHIELD` and `HIPAA` workspaces. Expected one of \[`<supportedDbrVersions>`]

### UNSUPPORTED\_CUSTOM\_SCHEMA\_PREVIEW

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The custom schema private preview is disabled.

Please create a new pipeline with default publishing mode, using the 'schema' field

in the pipeline specification, and move the datasets from this pipeline to the new pipeline.

### UNSUPPORTED\_CUSTOM\_SCHEMA\_PREVIEW\_ENABLEMENT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The custom schema private preview is disabled and you cannot add the preview to a pipeline.

Please remove `<sparkConfKeys>` from the pipeline configuration.

### UNSUPPORTED\_DBR\_VERSION

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

DBR version '`<v>`' is not supported. Expected one of \[`<supportedDbrVersions>`]

### UNSUPPORTED\_FEATURE\_FOR\_WORKSPACE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

`<featureName>` is not supported in your workspace. Please contact Databricks support to enable this feature for your workspace.

### UNSUPPORTED\_LANGUAGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to load `<language>` notebook '`<notebookPath>`'. Only `<supportedLanguages>` notebooks are supported currently.

### UNSUPPORTED\_LIBRARY\_FILE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The file at `<path>` does not have .py or .sql suffix. Only Python and SQL files are supported in pipelines.

### UNSUPPORTED\_LIBRARY\_NOTEBOOK\_LANGUAGE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported language `<language>` for notebook `<path>`. Only Python and SQL are supported in pipelines

### UNSUPPORTED\_LIBRARY\_OBJECT\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The included at path `<path>` is of type `<objectType>` which is not supported. Currently, only notebooks and files can be used as libraries. To resolve this issue, remove the unsupported object or update the libraries configured for this pipeline so only supported object types are included.

### UNSUPPORTED\_MANAGED\_INGESTION\_FILE\_SOURCE\_CONNECTOR\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported managed ingestion file source connector type: `<sourceType>`.

### UNSUPPORTED\_MANAGED\_INGESTION\_SOURCE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Invalid managed ingestion pipeline definition, unsupported source type: `<sourceType>`.

### UNSUPPORTED\_MULTIPLE\_UPDATE\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Validate only, explore only, and rewind updates are mutually exclusive. At most one should be set.

### [UNSUPPORTED\_REWIND](https://docs.databricks.com/gcp/en/error-messages/unsupported-rewind-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Rewind operations are not supported.

For more details see [UNSUPPORTED\_REWIND](https://docs.databricks.com/gcp/en/error-messages/unsupported-rewind-error-class.md)

### [UNSUPPORTED\_REWIND\_CONFIGURATION](https://docs.databricks.com/gcp/en/error-messages/unsupported-rewind-configuration-error-class.md)

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The pipeline's rewind configuration is not supported.

For more details see [UNSUPPORTED\_REWIND\_CONFIGURATION](https://docs.databricks.com/gcp/en/error-messages/unsupported-rewind-configuration-error-class.md)

### UNSUPPORTED\_SAAS\_INGESTION\_TYPE

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

The provided ingestion type `<ingestionType>` is not supported.

Please contact Databricks support if this issue persists.

### UNSUPPORTED\_SPARK\_SQL\_COMMAND

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

'`<command>`' is not supported in spark.sql("...") API in Spark Declarative Pipelines on Lakeflow Python. Supported command: `<supportedCommands>`.

### UNSUPPORTED\_SQL\_STATEMENT

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Unsupported SQL statement for `<datasetType>` '`<datasetName>`': `<operation>` is not supported.

### UPDATED\_DEFINITION\_SET\_FOR\_NON\_DBSQL\_PIPELINE

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Only `DBSQL` pipelines can have updated\_definition.

### UPDATE\_AFTER\_REWIND\_BLOCKED

[SQLSTATE: 55000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-55-object-not-in-prerequisite-state)

Non-rewind updates are blocked because a previous rewind ('`<previousUpdateId>`') on this pipeline did not complete successfully.

Please re-issue the rewind with a valid target rewind point before running any other update.

### [USER\_INIT\_ENVIRONMENT\_VERSION\_ENABLEMENT\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/user-init-environment-version-enablement-blocked-error-class.md)

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Detected that enabling the environment version configuration on this pipeline might change its behavior. This update was aborted safely before any data was written. Remove the environment version setting from the pipeline configuration to restore the pipeline to prior state.

Cause:

For more details see [USER\_INIT\_ENVIRONMENT\_VERSION\_ENABLEMENT\_BLOCKED](https://docs.databricks.com/gcp/en/error-messages/user-init-environment-version-enablement-blocked-error-class.md)

### USE\_CATALOG\_IN\_HMS

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

USE `CATALOG` only supported in UC-enabled Lakeflow pipeline

### VIEW\_TEXT\_NOT\_SAVED\_IN\_UC

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot refresh table `<tableName>` as it does not have a query saved in Unity Catalog. Please contact Databricks support.

### WORKDAY\_HCM\_CONNECTOR\_FETCH\_BATCH\_FAILED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday HCM. Source API type: `<saasSourceApiType>`.

Failed to fetch batch at offset '`<offset>`'.

Try refreshing the destination table. If the issue persists, please file a ticket.

### [WORKDAY\_HCM\_CONNECTOR\_SOAP\_FAULT](https://docs.databricks.com/gcp/en/error-messages/workday-hcm-connector-soap-fault-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday HCM.

For more details see [WORKDAY\_HCM\_CONNECTOR\_SOAP\_FAULT](https://docs.databricks.com/gcp/en/error-messages/workday-hcm-connector-soap-fault-error-class.md)

### WORKDAY\_REPORTS\_CONNECTOR\_ACCESS\_TOKEN\_UNAVAILABLE\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday Reports Connector.

Unity Catalog is expected to render access\_token for the connection '`<connectionName>`', but it is not rendered.

This pipeline update will be retried automatically.

### WORKDAY\_REPORTS\_CONNECTOR\_INSUFFICIENT\_OAUTH\_SCOPE\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday Reports. Source API type: `<saasSourceApiType>`.

Failed to fetch data for the report '`<reportUrl>`'. The OAuth client does not have sufficient scope access to retrieve the report.

To resolve this, ensure the OAuth client has the necessary scopes configured in Workday.

If the error persists, file a ticket.

### WORKDAY\_REPORTS\_CONNECTOR\_INVALID\_DOMAIN\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday Reports Connector. The report URL domain '`<domain>`' is not supported.

Supported domains must end with one of: `<allowedDomains>`.

If this error is unexpected, file a ticket.

### WORKDAY\_REPORTS\_CONNECTOR\_MISSING\_REQUIRED\_PARAMS\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday Reports. Source API type: `<saasSourceApiType>`.

The Workday report '`<reportUrl>`' expects the parameter '`<missingParam>`'.

Ensure all of the report's parameters are included in the URL; you can check the Workday report configuration to identify which parameters are mandatory.

If the issue persists, file a ticket.

### WORKDAY\_REPORTS\_CONNECTOR\_REPORT\_NOT\_FOUND\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday Reports. Source API type: `<saasSourceApiType>`.

The report URL '`<reportUrl>`' is incorrect. Please check for any typos in either the base URL or the report name to resolve the issue.

If the issue persists, file a ticket.

### WORKDAY\_REPORTS\_CONNECTOR\_REPORT\_SIZE\_EXCEEDED\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday Reports. Source API type: `<saasSourceApiType>`.

The size of the report with URL '`<reportUrl>`' is greater than 2GB. Please ensure that the report size does not exceed this limit.

If the issue persists, file a ticket.

### [WORKDAY\_REPORTS\_CONNECTOR\_UNAUTHORIZED\_ACCESS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/workday-reports-connector-unauthorized-access-error-error-class.md)

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in Workday Reports. Source API type: `<saasSourceApiType>`.

For more details see [WORKDAY\_REPORTS\_CONNECTOR\_UNAUTHORIZED\_ACCESS\_ERROR](https://docs.databricks.com/gcp/en/error-messages/workday-reports-connector-unauthorized-access-error-error-class.md)

### WORKDAY\_REPORT\_URL\_EMPTY

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Workday report URL is empty. At least one report must be provided.

### WORKSPACE\_NO\_WORKER\_ENVIRONMENTS

[SQLSTATE: KDL01](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The request failed because the workspace has no associated worker environments. It may have been deleted, deactivated, or is not fully provisioned.

### WORKSPACE\_QUOTA\_EXCEEDED

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Cannot start update '`<updateId>`' because there are already '`<maxActiveUpdates>`' active pipelines running in this workspace.

### ZENDESK\_SUPPORT\_EMPTY\_RESPONSE\_ERROR

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

The Zendesk Support API returned an empty response body for operation `<saasSourceApiType>`.

This typically means the requested feature is not available on your Zendesk plan, or the connecting user does not have permission to access this resource.

Verify that your Zendesk plan supports the requested tables and that the connecting user has the required permissions.

### ZENDESK\_SUPPORT\_FEATURE\_NOT\_ENABLED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Zendesk Support API call. The API request failed because this feature is not enabled for your account.

Contact your Zendesk account administrator to enable this feature, or upgrade your Zendesk plan if necessary.

### ZENDESK\_SUPPORT\_IP\_ADDRESS\_RESTRICTED

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Zendesk Support API call for source API type `<saasSourceApiType>`. The Zendesk account has IP address restrictions enabled and the request originated from an IP that is not on the allowlist.

To proceed, add the Databricks egress IPs to the Zendesk account's IP allowlist (Admin Center -> Account -> Security -> Advanced -> IP restrictions).

### ZENDESK\_SUPPORT\_SUBDOMAIN\_NOT\_RESOLVABLE

[SQLSTATE: KD000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-kd-datasource-specific-errors)

An error occurred in the Zendesk Support connector. The Zendesk subdomain '`<subdomain>`' cannot be resolved.

This may indicate the Zendesk account has been deleted, suspended, or the subdomain has been renamed.

If the subdomain is correct and the account is active, this may be caused by an SEG egress issue preventing DNS resolution. If the issue persists, file a ticket.

## Installation

### ERROR\_BASE\_ENVIRONMENT\_FILE\_NOT\_FOUND

SQLSTATE: none assigned

Base environment YAML file is missing. Please ensure the file exists in the specified path.

Description: Occurs when the required base environment YAML file cannot be found at the expected location.

Suggested Action: Ensure the base environment YAML file exists in the specified path and retry the installation.

### ERROR\_BASE\_ENVIRONMENT\_FILE\_READ

SQLSTATE: none assigned

Failed to read base environment file due to incorrect syntax or format of YAML file. Please review the file contents.

Description: Occurs when the base environment YAML file contains syntax or format errors.

Suggested Action: Validate and fix the YAML syntax in the environment file, then retry the installation.

### ERROR\_CONNECTION\_REFUSED

SQLSTATE: none assigned

Cannot connect to package repository. Check network connectivity, firewall settings, or repository availability.

Description: Occurs when pip cannot establish a connection to the remote package repository due to network issues, firewall restrictions, or repository downtime.

Suggested Action: Verify network connectivity, check firewall or proxy settings, confirm the repository URL is accessible, and try again later if the repository may be temporarily unavailable.

### ERROR\_CORE\_PACKAGE\_VERSION\_CHANGE

SQLSTATE: none assigned

Installed package is incompatible with Databricks core packages. Please align the package versions with the preinstalled library versions, and retry the installations.

Description: Occurs when a Databricks core dependency (for example, pyspark) version is changed.

Suggested Action: Align the installed package versions with the preinstalled libraries and retry the installation.

### ERROR\_CRAN\_PACKAGE\_NOT\_AVAILABLE

SQLSTATE: none assigned

The CRAN package is not available for the preinstalled R version on this compute.

Description: Occurs when an R package is not published for the installed R version on the compute.

Suggested Action: Switch to a compute with a compatible R version, or choose a different package version.

### ERROR\_DBFS\_DISABLED

SQLSTATE: none assigned

Public DBFS root access is disabled. Please use an alternative storage.

Description: Occurs when attempting to install libraries from DBFS, but the public DBFS root is disabled in the workspace.

Suggested Action: Use alternative storage locations like UC volumes, workspace files or remote storage.

### ERROR\_DIRECTORY\_NOT\_INSTALLABLE

SQLSTATE: none assigned

Directory is uninstallable due to invalid Python package structure. Please check that the directory is properly set up.

Description: Occurs when pip install is run against a directory without a valid Python package structure.

Suggested Action: Ensure the directory contains a setup.py or pyproject.toml and retry, or package it as a wheel.

### ERROR\_DUPLICATE\_INSTALLATION

SQLSTATE: none assigned

Duplicate package installation detected. Try removing the duplicate package entry for the package and restart the cluster.

Description: Occurs when the same package is already installed on the cluster and a duplicate installation is attempted.

Suggested Action: Remove the duplicate package entries and restart the cluster.

### ERROR\_FEATURE\_DISABLED

SQLSTATE: none assigned

Unity Catalog volumes are disabled in the workspace. Please contact the workspace admin to enable this feature.

Description: Occurs when Unity Catalog volumes are disabled in the workspace, preventing installation from UC volumes.

Suggested Action: Contact your workspace administrator to enable Unity Catalog volumes, or use alternative storage.

### ERROR\_HASH\_MISMATCH

SQLSTATE: none assigned

Package hash mismatch detected. The downloaded package's hash does not match its expected hash.

Description: Occurs when the hash of a downloaded package does not match its expected hash.

Suggested Action: Retry installation, restart the cluster, and/or move large package installations to Workspace Files, UC Volumes, or a private PyPI repository.

### ERROR\_INVALID\_FILE

SQLSTATE: none assigned

The specified file cannot be installed due to incorrect file type. Please verify you are using the valid and supported file type.

Description: Occurs when the specified library file cannot be installed due to incorrect file type or format.

Suggested Action: Use a supported library file type (for example, wheel, jar) and verify the path validity.

### ERROR\_INVALID\_REQUIREMENT

SQLSTATE: none assigned

Incorrect syntax or malformed entries in requirements file or package dependencies. Check and correct the requirements file and package dependencies contents.

Description: Invalid or malformed requirement format detected in either your requirements file or in a package's dependency specifications.

Suggested Action: Use the correct format (for example, 'library-name==version') in requirements files, verify package dependency formats are valid, and check for typos or unsupported version specifiers.

### ERROR\_INVALID\_SCRIPT\_ENTRY\_POINT

SQLSTATE: none assigned

Invalid script entry point. Please check the package entry points or the setup.py file.

Description: Occurs when the specified console script entry point does not exist in the package metadata.

Suggested Action: Verify the entry point name in setup.py or pyproject.toml, or contact the package maintainer.

### ERROR\_INVALID\_STORAGE\_CONFIGURATION

SQLSTATE: none assigned

Invalid storage configuration value detected for the cloud storage account. Please check the storage configuration, account settings and credentials.

Description: Occurs when the cloud storage account configuration is malformed or incorrect.

Suggested Action: Correct the storage configuration for the account and retry installation.

### ERROR\_INVALID\_USER\_INPUT

SQLSTATE: none assigned

Invalid package syntax or arguments provided. Please verify that the input and options for library installation are valid.

Description: Occurs when pip is invoked with invalid options or arguments.

Suggested Action: Verify pip options and command syntax, correct the input, and retry installation.

### ERROR\_INVALID\_WHEEL

SQLSTATE: none assigned

Corrupted, malformed, or invalid wheel file detected. Please check the wheel file or retry the installation.

Description: Occurs when pip encounters a corrupted, incomplete, or malformed wheel file during installation.

Suggested Action: Clear pip cache, re-download or rebuild the wheel, reinstall, and verify its integrity before retrying.

### ERROR\_JAR\_EVICTED

SQLSTATE: none assigned

The JAR package got evicted by the resolver due to version conflicts. Please resolve dependency version conflicts.

Description: Occurs when Maven dependency resolution evicts a jar because of version conflicts with other dependencies.

Suggested Action: Resolve conflicts in your dependency configuration, or use explicit version overrides.

### ERROR\_MAVEN\_LIBRARY\_RESOLUTION

SQLSTATE: none assigned

Cannot resolve Maven library coordinates. Verify library details, repository access, or Maven repository availability.

Description: Occurs when Maven cannot find or resolve the specified library due to incorrect coordinates, network issues, or repository downtime.

Suggested Action: Verify the groupId\:artifactId:version format, check repository URLs and credentials, try alternative repositories, or try again later if the repository may be temporarily unavailable.

### ERROR\_NO\_MATCHING\_DISTRIBUTION

SQLSTATE: none assigned

Unable to find or download the required package or its dependencies. This may occur due to: package or version not existing, platform incompatibility, missing files in custom PyPI repository, or unsatisfiable dependency constraints.

Description: Occurs when pip cannot locate a compatible package distribution. Common causes include: non-existent package names or versions, packages not available for your Python version or platform, missing or incomplete packages in custom PyPI repositories (HTTP 404 errors), or conflicting dependency version requirements.

Suggested Action: Verify package name and version are correct, ensure the package supports your Python version and platform, check that custom PyPI repositories contain all required packages and their dependencies, review dependency version constraints for conflicts, or use the public PyPI repository as a fallback.

### ERROR\_NO\_SPACE\_LEFT\_ON\_DEVICE

SQLSTATE: none assigned

Library installation failed due to insufficient disk space.

Description: Occurs when there is not enough space left on disk to downloaded the library.

Suggested Action: Clear the disk space on the driver by deleting unused files or using a larger instance.

### ERROR\_NO\_SUCH\_FILE\_OR\_DIRECTORY

SQLSTATE: none assigned

The library file does not exist or the user does not have permission to read the library file. Please check if the library file exists and the user has the right permissions to access the file.

Description: Occurs when the specified file is missing or inaccessible at the given path during library installation.

Suggested Action: Verify that the file exists at the specified path, correct the path or upload the missing file, and ensure proper permissions.

### ERROR\_OPERATION\_NOT\_SUPPORTED

SQLSTATE: none assigned

Library installation is unsupported for this file type from the requested filesystem. Please check the library type and refer to the user guide about the supported library on the current compute.

Description: Occurs when the target filesystem, file type, or compute type does not support the requested operation during installation.

Suggested Action: Use a supported filesystem, file type, or compute type, or adjust installation target to a supported location.

### ERROR\_PACKAGE\_QUARANTINED

SQLSTATE: none assigned

Library installation failed because the requested package has been quarantined by the package repository.

Description: The package repository flagged this package as quarantined, typically due to a security policy such as malware defense. Quarantined packages cannot be downloaded until the quarantine is resolved.

Suggested Action: Check with your repository administrator for details on why the package was quarantined. Use an alternative package version or a different package that provides the same functionality.

### ERROR\_PACKAGE\_REPOSITORY\_RATE\_LIMITED

SQLSTATE: none assigned

The package repository `<url>` responded with HTTP 429 Too Many Requests while downloading a package, so the installation was throttled and could not complete.

Description: Occurs when Databricks reaches the package repository but the repository, or a proxy or CDN in front of it, rate-limits the request and responds with HTTP 429 Too Many Requests. The connection itself succeeded, so this reflects the repository throttling the client rather than a problem with the network path or the repository being down, and it is usually transient.

Suggested Action: Retry the installation after a short wait; these errors normally clear on their own. If they persist, reduce how frequently packages are installed against this repository, and if you install through a private mirror or proxy, confirm that it is not rate-limiting requests or exhausting its upstream index quota.

### ERROR\_PACKAGE\_REPOSITORY\_SERVER\_ERROR

SQLSTATE: none assigned

The package repository `<url>` returned a server error (HTTP 5xx) while downloading a package, so the installation could not complete.

Description: Occurs when Databricks reaches the package repository but the repository, or a proxy or CDN in front of it, responds with a server error such as 502 Bad Gateway, 503 Service Unavailable, or 504 Gateway Timeout. The connection itself succeeded, so this reflects the state of the repository rather than the network path to it, and it is usually transient.

Suggested Action: Retry the installation; these errors normally clear on their own. If they persist, check the status page of the package repository, and if you install through a private mirror or proxy, confirm that it is healthy and can reach its upstream index.

### ERROR\_PERMISSION\_DENIED

SQLSTATE: none assigned

The user does not have the sufficient permission to install the package. Please check the file and directory access rights for the user.

Description: Occurs when the installing user lacks permission to read or write a file or directory during installation.

Suggested Action: Verify and grant proper permissions on the target directory, or contact your system administrator.

### ERROR\_PIP\_CONFIG

SQLSTATE: none assigned

User tried to install a Python library, but the cluster's or the workspace-level pip configuration file has syntax errors or is malformed. Please check and fix the pip config file.

Description: Occurs when pip's configuration file has syntax errors or is malformed.

Suggested Action: Fix the syntax errors in the pip configuration file, remove the config file to use default settings, restart the cluster, and retry the installation.

### ERROR\_PIP\_DEPENDENCY\_RESOLUTION\_TOO\_DEEP

SQLSTATE: none assigned

pip could not resolve the requested set of packages: it gave up after exploring too many dependency combinations (ResolutionTooDeep). Pin the versions of your packages to narrow the search.

Description: Occurs when pip's dependency resolver exceeds its internal round limit while backtracking through candidate versions. This is usually caused by loosely constrained requirements (for example, many packages with no version pin, or a wide range specifier), which forces the resolver to consider a very large number of combinations. Unlike an unsatisfiable requirement set, no conflict has been proven -- the search space is simply too large.

Suggested Action: Pin exact versions (for example, 'library-name==1.2.3') for the packages you install, especially any package with a broad version range. Reduce the number of packages installed in a single request, remove conflicting or redundant requirements, and prefer a requirements file generated from a resolved environment (such as 'pip freeze' output) so the resolver has little left to search.

### ERROR\_PIP\_INTERNAL\_ERROR

SQLSTATE: none assigned

pip failed with an internal error while installing your libraries, rather than reporting a specific, actionable problem. This is usually triggered by the requested packages or versions (for example an unsatisfiable, conflicting, or otherwise unusual requirement set). Review and pin your dependencies, then retry.

Description: Occurs when pip raises an unexpected internal error while resolving or installing the requested packages instead of returning a normal failure message. This typically stems from the requested requirement set -- for example loosely pinned, conflicting, or otherwise unusual dependency combinations.

Suggested Action: Review the requested packages and pin them to specific, compatible versions (for example 'package==1.2.3'), remove conflicting or redundant requirements, and prefer a fully resolved requirements file (such as 'pip freeze' output). Reducing the number of packages installed in a single request can also help. Then retry the installation.

### ERROR\_PIP\_NETWORK\_FAILURE

SQLSTATE: none assigned

Library installation failed due to a networking issue, could not connect to `<url>`.

Description: Typically occurs when Databricks cannot establish or maintain a stable connection to the package repository. This includes network timeouts, connection resets, and SSL connection interruptions.

Suggested Action: Ensure that the package repository is available and accessible from Databricks. This is often a transient issue; retry the installation. If the problem persists, check the repository status.

### ERROR\_PRIVATE\_PACKAGE\_REPOSITORY\_ACCESS

SQLSTATE: none assigned

Library installation failed because access to the private package repository was denied.

Description: The configured repository credentials do not have permission to download the requested package from the private package repository.

Suggested Action: Verify the private package repository credentials and package read permissions, or contact the repository administrator.

### ERROR\_PYTHON\_REPL\_RESTORE\_FAILURE

SQLSTATE: none assigned

Python REPL restoration failed after package installation.

Description: Typically occurs when core Python packages are updated in a way that breaks the runtime environment during restoration.

Suggested Action: Review recently installed packages and install packages that are compatible with Databricks Environment defaults such as numpy, pandas, pyspark, and other standard libraries. Ensure versions are compatible with your Databricks Runtime version. If it's still failing, please contact Databricks Support.

### ERROR\_REQUIREMENTS\_FILE\_INSTALLATION

SQLSTATE: none assigned

requirements.txt files that contain a Unity Catalog volume or workspace file reference are not supported on non-UC enabled clusters. Please use a UC enabled cluster to install requirements.txt that refers to a UC volume or workspace file.

Description: Occurs when requirements.txt includes UC volumes or workspace file references on a non-UC enabled cluster.

Suggested Action: Use a UC-enabled cluster for requirements.txt that references workspace or UC files, or remove those references.

### ERROR\_REQUIRE\_HASHES

SQLSTATE: none assigned

Missing hashes when pip is run in --require-hashes mode and a requirement lacks a hash. Please address hash requirements or disable hash checking.

Description: Occurs when pip is run in --require-hashes mode and a requirement lacks a hash.

Suggested Action: Add hashes for all packages in requirements.txt or remove --require-hashes flag.

### ERROR\_RESTART\_PYTHON

SQLSTATE: none assigned

Failed to restart Python process. This may be due to updating the version of a package that conflicts with the preinstalled runtime libraries. Please check and align the package dependencies and their versions.

Description: Occurs when the Python environment cannot be restarted after library installation, often due to conflicts between installed packages and preinstalled Databricks Runtime libraries.

Suggested Action: Align installed package versions with the preinstalled Databricks Runtime libraries to avoid conflicts and Python restart errors.

### ERROR\_RESTART\_SCALA

SQLSTATE: none assigned

Failed to restart Scala process. This may be due to Scala version mismatch in scala JARs (for example, running 2.12 jar on a 2.13 kernel). Please check and align the Scala versions.

Description: Occurs when the Scala environment cannot be restarted, often due to conflicts of Scala version mismatch in scala JARs.

Suggested Action: Align JAR scala versions with kernel scala version to avoid conflicts and Scala restart errors.

### ERROR\_S3\_FORBIDDEN

SQLSTATE: none assigned

Access denied to S3 resource. Check the IAM permissions and bucket policies.

Description: The cluster's AWS credentials do not have sufficient permissions to access the specified S3 resource.

Suggested Action: Verify and update the S3 bucket policies or IAM roles to grant the necessary read access to the cluster.

### ERROR\_SCALA\_INSTALLATION\_DOWNLOAD

SQLSTATE: none assigned

Failed to download JAR dependencies from the specified URLs.

Description: Occurs when JAR files cannot be downloaded from remote URLs, often due to invalid URLs, authentication failures, or network issues.

Suggested Action: Verify that the URL is valid and accessible, ensure proper authentication credentials are configured, and retry the installation.

### ERROR\_SCALA\_INSTALLATION\_FUSE\_READ

SQLSTATE: none assigned

Failed to install JAR dependencies from Volumes or Workspace due to permission issues or missing files.

Description: Occurs when JAR files cannot be read from Unity Catalog Volumes or Workspace filesystem, often due to invalid paths or insufficient file permissions.

Suggested Action: Verify that the JAR files exist at the specified paths, ensure proper read permissions, and retry the installation.

### ERROR\_SCALA\_INSTALLATION\_MAVEN

SQLSTATE: none assigned

Failed to resolve Maven dependencies during Scala/Java library installation.

Description: Occurs when Maven coordinates cannot be resolved, often due to incorrect coordinates, unavailable repositories, or dependency conflicts.

Suggested Action: Verify that the Maven coordinates (groupId\:artifactId:version) are correct, check repository availability, and retry the installation.

### ERROR\_SETUP\_PY\_FAILURE

SQLSTATE: none assigned

The Python package's setup.py did not run successfully due to compatibility issues, missing dependencies, or configuration errors. Please check the setup file of your dependencies.

Description: Occurs when the package's setup.py script fails due to compatibility issues, missing dependencies, or configuration errors.

Suggested Action: Update package versions, install missing dependencies, replace deprecated packages, and verify the setup.py script.

### ERROR\_SSL\_VIOLATION

SQLSTATE: none assigned

Pip encountered SSL handshake or certificate verification issues. Please review the SSL configurations and certificates on your compute or workspace.

Description: Occurs when pip encounters SSL handshake or certificate verification issues when connecting to package repositories.

Suggested Action: Verify SSL certificates are valid, configure trusted hosts in pip, or check network SSL setting.

### ERROR\_UC\_ASSET\_NOT\_FOUND

SQLSTATE: none assigned

Unity Catalog object not found. Verify catalog, schema, and volume exist.

Description: Occurs when the specified Unity Catalog volume, catalog, or schema does not exist or is inaccessible

Suggested Action: Verify the Unity Catalog object path is correct and the object exists in your account.

### ERROR\_UC\_PERMISSION\_DENIED

SQLSTATE: none assigned

Unity Catalog denied access to the requested library resource. Please verify that the installing user has the required Unity Catalog permissions.

Description: Occurs when Unity Catalog returns HTTP 403 while checking or reading a library resource during installation.

Suggested Action: Grant the installing user the required Unity Catalog permissions for the referenced resource, or reinstall the library as a user with access.

### ERROR\_UC\_USER\_NOT\_IN\_WORKSPACE

SQLSTATE: none assigned

Error querying Unity Catalog: user does not belong to workspace. Please verify that the user is added to the workspace.

Description: Occurs when the user does not belong to the workspace when querying Unity Catalog.

Suggested Action: Add the user to the workspace, or update the user installing the library.

### ERROR\_UNSUPPORTED\_LIBRARY\_TYPE

SQLSTATE: none assigned

The library type is unsupported on this compute. Please check the supported libraries for the compute type.

Description: Occurs when attempting to install a library type that is not compatible with the selected compute.

Suggested Action: Use a supported library type for this compute or switch to a compute that supports this libraryType.

### ERROR\_UNSUPPORTED\_PYTHON\_VERSION

SQLSTATE: none assigned

The Python library is incompatible with the Python version on this compute. Please use a compute with a compatible Python version.

Description: Occurs when a package's `python_requires` constraint does not match the Python version running on the compute.

Suggested Action: Install a package version that supports the current Python version, or change the compute version.

### ERROR\_UNSUPPORTED\_SSL\_ENABLED

SQLSTATE: none assigned

Installation fails when spark.ssl.enabled configuration is turned on, which is unsupported for library installation. Disable SSL configuration and restart the cluster.

Description: Occurs when the spark.ssl.enabled configuration is turned on, which is unsupported for library installation.

Suggested Action: Disable SSL configuration (for example, set spark.ssl.enabled=false or set spark.databricks.libraries.ignoreSSL=true) and restart the cluster.

### ERROR\_USER\_NOT\_FOUND\_IN\_WORKSPACE

SQLSTATE: none assigned

Library installation failed because the user was not found in the workspace. This typically happens when a user has been removed from the workspace but their token is still being used.

Description: Occurs when a user's access token is in use but the user no longer exists in the specified workspace.

Suggested Action: Ensure the user has access to the workspace, or update the cluster configuration to use a valid user's credentials.

### ERROR\_VOLUME\_PERMISSION\_DENIED

SQLSTATE: none assigned

Insufficient permissions on Unity Catalog volume for user '`<user>`'. Please check the UC volume access rights or request access from the UC Volume owner.

Description: Occurs when the user lacks permissions on the specified UC volume.

Suggested Action: Request READ permissions on the Unity Catalog volume from the volume owner or administrator.

### ERROR\_WHEELHOUSE\_NOT\_SUPPORTED\_ON\_SERVERLESS

SQLSTATE: none assigned

Wheelhouse zip files (.wheelhouse.zip) are not supported on serverless compute.

Description: Occurs when a .wheelhouse.zip file is used as a library dependency on serverless compute, which does not support this format.

Suggested Action: Use individual wheel files (.whl) or a requirements.txt file instead. You can install from a directory of wheels using '%pip install --no-index --find-links=/path/to/wheels/directory package\_name'.

### ERROR\_WHEEL\_BUILD

SQLSTATE: none assigned

Pip could not successfully build the wheel due to missing build dependencies or errors. Please check the wheel package contents and dependencies.

Description: Occurs when pip fails to build a wheel for the package due to missing build dependencies or errors.

Suggested Action: Ensure build tools and headers are installed, or install a prebuilt wheel with --no-binary.

### ERROR\_WHEEL\_INSTALLATION

SQLSTATE: none assigned

The wheel is incompatible with the current compute due to platform tag mismatch or an invalid wheel file. Please check the wheel package contents, dependencies, and their compatibility with the compute.

Description: Occurs when the wheel file is invalid or the platform tags do not match.

Suggested Action: Use a wheel built for the current platform or rebuild the wheel with appropriate tags.

### FAULT\_CLOUD\_STORAGE\_INSTALLATION

SQLSTATE: none assigned

Unable to download or access the specified cloud storage assets, typically due to misconfigurations or connectivity issues. Please review the cloud storage setup.

Description: Occurs when the compute cannot download or install library files from cloud storage, typically due to misconfigurations or network issues.

Suggested Action: Ensure the cloud storage URIs are correct, credentials are valid, and any required network proxies or libraries are properly configured, then retry the installation.

### FAULT\_DBR\_VERSION\_EOS

SQLSTATE: none assigned

The Databricks Runtime version on the compute has reached its end-of-support and is no longer supported. Please use a supported Databricks runtime version.

Description: Occurs when the library is installed on a Databricks Runtime version that no longer receives updates or support.

Suggested Action: Upgrade the cluster to a supported Databricks Runtime version and retry the installation.

### FAULT\_DEPENDENCY\_TEMPORARILY\_AVAILABLE

SQLSTATE: none assigned

Library installation failed due to a temporary unavailability of a dependency or service.

Description: Occurs when a dependency or service required for library installation is temporarily unavailable.

Suggested Action: This is typically a transient issue. Please retry the library installation. If the problem persists, contact Databricks support.

### FAULT\_POLLER\_ALLOWLIST\_VALIDATION

SQLSTATE: none assigned

Library installation is blocked due to missing from the allowlist. This can happen if a library is removed from the allowlist after it has been added to a cluster. Check the library allowlist, request the administrator to add libraries to the allowlist or remove unauthorized packages from the cluster.

Description: Occurs when one or more requested libraries are not approved in the metastore allowlist and are blocked from installation. This can also happen if a library was previously allowed but later removed from the allowlist.

Suggested Action: Check the metastore allowlist, request your administrator to add the missing libraries to the allowlist, or remove unauthorized libraries from the cluster.

### FAULT\_POLLER\_DBR\_UNSUPPORTED

SQLSTATE: none assigned

The Databricks Runtime version on the cluster has reached its end-of-support and is no longer supported. Please use a supported Databricks runtime version.

Description: Occurs when the library is installed on a Databricks Runtime version that no longer receives updates or support.

Suggested Action: Change the cluster to use a supported Databricks Runtime version and retry the installation.

### FAULT\_POLLER\_LIBRARY\_STORAGE\_FORMAT\_UNSUPPORTED

SQLSTATE: none assigned

The selected Databricks Runtime version may not support certain library storage formats, such as gs\:// or abfss\:// paths. Please upgrade Databricks Runtime or refer to the user guide regarding the capabilities for different Databricks Runtime version.

Description: Occurs when the Databricks Runtime version does not support the specified library storage format or protocol.

Suggested Action: Use a supported storage scheme or upgrade to a Databricks Runtime version that supports the desired storage format.

### FAULT\_POLLER\_UNITY\_CATALOG\_NOT\_AVAILABLE\_ERROR

SQLSTATE: none assigned

Library installation requires Unity Catalog but Unity Catalog is unavailable in the cluster or workspace. Please contact the workspace admin to enable this feature.

Description: Occurs when a library installation requires Unity Catalog but Unity Catalog is unavailable in the workspace.

Suggested Action: Request administration to enable Unity Catalog in your workspace or use a cluster that supports Unity Catalog.

### FAULT\_STORAGE\_ACCESS\_FAILURE

SQLSTATE: none assigned

Unable to access cloud storage resources due to credential, network, or permission issues. Please check the cloud storage access configuration.

Description: Occurs when the compute cannot access the cloud storage resources due to credential, network, or permission issues.

Suggested Action: Verify storage credentials, network connectivity, and access permissions, then retry the installation.

### FAULT\_WSFS\_INVALID\_TOKEN

SQLSTATE: none assigned

Library installation failed due to an invalid access token.

Description: Occurs when the access token used during library installation is invalid or expired.

Suggested Action: Please retry the library installation. If the issue persists, contact Databricks support.

## Miscellaneous

### ABAC\_BUILTIN\_FUNCTION\_NOT\_SUPPORTED\_FOR\_RUNTIME\_VERSION

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

DBR version `<minVersion>` or higher is required to query table `<tableFullName>`, due to it being protected by an ABAC policy that uses builtin function '`<functionName>`'.

### ABAC\_POLICIES\_NOT\_SUPPORTED\_FOR\_RUNTIME\_VERSION

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

DBR version `<abacDBRMajorVersion>`.`<abacDBRMinorVersion>` or higher is required to query table `<tableFullName>`, due to it being protected by an ABAC policy.

### AZURE\_ENTRA\_CREDENTIALS\_MISSING

SQLSTATE: none assigned

Azure Entra (aka Azure Active Directory) credentials missing.

Ensure you are either logged in with your Entra account

or have setup an Azure DevOps personal access token (PAT) in User Settings > Git Integration.

If you are not using a PAT and are using Azure DevOps with the Repos API,

you must use an Azure Entra access token.

See [https://docs.microsoft.com/azure/databricks/dev-tools/api/latest/aad/app-aad-token](https://docs.microsoft.com/azure/databricks/dev-tools/api/latest/aad/app-aad-token) for steps to acquire an Azure Entra access token.

`<pickOrCreateNewCredential>`

### AZURE\_ENTRA\_CREDENTIALS\_PARSE\_FAILURE

SQLSTATE: none assigned

Encountered an error with your Azure Entra (Azure Active Directory) credentials. Please try logging out of

Entra ([https://portal.azure.com](https://portal.azure.com)) and logging back in.

Alternatively, you may also visit User Settings > Git Integration to set

up an Azure DevOps personal access token.

`<pickOrCreateNewCredential>`

### AZURE\_ENTRA\_LOGIN\_ERROR

SQLSTATE: none assigned

Encountered an error with your Azure Active Directory credentials. Please try logging out of

Azure Active Directory ([https://portal.azure.com](https://portal.azure.com)) and logging back in.

`<pickOrCreateNewCredential>`

### AZURE\_ENTRA\_WORKLOAD\_IDENTITY\_ERROR

SQLSTATE: none assigned

Encountered an error with Azure Workload Identity with Azure Exception: `<azureWorkloadIdentityExceptionMessage>`

### CLEAN\_ROOM\_DELTA\_SHARING\_ENTITY\_NOT\_AUTHORIZED

SQLSTATE: none assigned

Credential generation for clean room OpenSharing securable cannot be requested.

### CLEAN\_ROOM\_HIDDEN\_SECURABLE\_PERMISSION\_DENIED

SQLSTATE: none assigned

Securable `<securableName>` with type `<securableType>` and kind `<securableKind>` is clean room system managed, user does not have access.

### CONSTRAINT\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Constraint with name `<constraintName>` already exists, choose a different name.

### CONSTRAINT\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Constraint `<constraintName>` does not exist.

### COULD\_NOT\_READ\_REMOTE\_REPOSITORY

SQLSTATE: none assigned

Could not read remote repository (`<repoUrl>`).

Credential `<credentialName> (<credentialId>)` was used`<because>`.

This Git credential's provider is `<gitCredentialProvider>` and email / username is `<gitCredentialUsername>`.

`<servicePrincipalHint>`

Please go to your remote Git provider to ensure that:

1. Your remote Git repo URL is valid.

2. Your personal access token or app password has the correct repo access.

`<pickOrCreateNewCredential>`

### COULD\_NOT\_RESOLVE\_REPOSITORY\_HOST

SQLSTATE: none assigned

Could not resolve host for `<repoUrl>`.

Credential `<credentialName> (<credentialId>)` was used`<because>`.

This Git credential's provider is `<gitCredentialProvider>` and email / username is `<gitCredentialUsername>`.

`<servicePrincipalHint>`

### CSMS\_BEGINNING\_OF\_TIME\_NOT\_SUPPORTED

SQLSTATE: none assigned

Parameter `beginning_of_time` cannot be true.

### CSMS\_CLOUD\_USER\_ERROR

SQLSTATE: none assigned

There are problems on the cloud provider side that need to be resolved. Details: `<msg>`

### CSMS\_CONTINUATION\_TOKEN\_EXPIRED

SQLSTATE: none assigned

Continuation token expired. Cause: `<msg>`

### CSMS\_CREDENTIAL\_NAME\_MISSING

SQLSTATE: none assigned

Credential name is missing in request

### CSMS\_CREDENTIAL\_RESOLUTION\_FAILED

SQLSTATE: none assigned

Failed to resolve storage credential: `<msg>`

### CSMS\_CROSS\_CLOUD\_QUEUE\_URI\_MISMATCH

SQLSTATE: none assigned

The file event queue cloud provider (`<queueCloud>`) does not match the URI cloud provider (`<uriCloud>`). The queue and URI must be from the same cloud provider.

### CSMS\_FILE\_EVENTS\_VALIDATION\_USER\_ERROR

SQLSTATE: none assigned

File events validation failed for operation `<operation>`: `<message>`

### CSMS\_INVALID\_CONTINUATION\_TOKEN

SQLSTATE: none assigned

Continuation token invalid. Cause: `<msg>`

### CSMS\_INVALID\_FILE\_EVENTS\_QUEUE

SQLSTATE: none assigned

`<missingField>` is missing from `<queueType>` in request

### CSMS\_INVALID\_MAX\_OBJECTS

SQLSTATE: none assigned

Invalid value `<value>` for parameter max\_objects, expected value in \[`<minValue>, <maxValue>`]

### CSMS\_INVALID\_ONELAKE\_PATH

SQLSTATE: none assigned

`<message>`

### CSMS\_INVALID\_PROVIDED\_FILE\_EVENTS\_QUEUE\_FORMAT

SQLSTATE: none assigned

Invalid `<fieldName>` format for `<queueType>`. Expected format: `<expectedFormat>`. Provided: `<providedValue>`

### CSMS\_INVALID\_SUBSCRIPTION\_ID

SQLSTATE: none assigned

Subscription ID invalid. Cause: `<msg>`

### CSMS\_INVALID\_URI\_FORMAT

SQLSTATE: none assigned

Invalid URI format. Expected a volume (for example, “/Volumes/catalog/schema/volume”) or cloud storage path (for example, “s3://some-uri”)

### CSMS\_KAFKA\_TOPIC\_MISSING

SQLSTATE: none assigned

Must provide a Kafka topic

### CSMS\_LOCATION\_ERROR

SQLSTATE: none assigned

Failed to list objects. There are problems on the location that need to be resolved. Details: `<msg>`

### CSMS\_LOCATION\_NOT\_KNOWN

SQLSTATE: none assigned

No location found for uri `<path>`

### CSMS\_MANAGED\_FILE\_EVENTS\_NOT\_SUPPORTED\_FOR\_PATH

SQLSTATE: none assigned

File events are not supported for path `<path>`

### CSMS\_MAX\_NESTED\_PATH\_DEPTH

SQLSTATE: none assigned

Cannot track path `<path>`: it would result in nested paths reaching depth `<nestingDepth>`, which exceeds the maximum of `<maxDepth>`

### CSMS\_METASTORE\_ID\_MISSING

SQLSTATE: none assigned

Must provide a metastore uuid

### CSMS\_METASTORE\_RESOLUTION\_FAILED

SQLSTATE: none assigned

Unable to determine a metastore for the request.

### CSMS\_OBJECT\_NOT\_FOUND

SQLSTATE: none assigned

Object not found

### CSMS\_RESOLVE\_CREDENTIAL\_ID\_FAILED

SQLSTATE: none assigned

Failed to resolve credential ID for credential: `<credentialName>`

### CSMS\_RESOLVE\_LOCAL\_SHARD\_NAME\_FAILED

SQLSTATE: none assigned

CSMS failed to resolve the local shard name

### CSMS\_SERVICE\_DISABLED

SQLSTATE: none assigned

Service is disabled

### CSMS\_SHARD\_NAME\_MISSING\_IN\_REQUEST

SQLSTATE: none assigned

Shard name is missing from a rpc request to CSMS

### CSMS\_STORAGE\_CREDENTIAL\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

Storage credential does not exist.

### CSMS\_SUBSCRIPTION\_ID\_MISSING\_IN\_REQUEST

SQLSTATE: none assigned

Subscription id is missing in request.

### CSMS\_SUBSCRIPTION\_NOT\_FOUND

SQLSTATE: none assigned

Subscription with id `<id>` not found.

### CSMS\_UNITY\_CATALOG\_DISABLED

SQLSTATE: none assigned

Unity catalog is disabled for this workspace

### CSMS\_UNITY\_CATALOG\_ENTITY\_NOT\_FOUND

SQLSTATE: none assigned

Unity Catalog entity not found. Ensure that the catalog, schema, volume and/or external location exists.

### CSMS\_UNITY\_CATALOG\_EXTERNAL\_LOCATION\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

Unity Catalog external location does not exist.

### CSMS\_UNITY\_CATALOG\_EXTERNAL\_STORAGE\_OVERLAP

SQLSTATE: none assigned

URI overlaps with other volumes

### CSMS\_UNITY\_CATALOG\_INTERNAL\_SERVICE\_RATE\_LIMITED

SQLSTATE: none assigned

Request rate limit exceeded. Please retry after some time.

### CSMS\_UNITY\_CATALOG\_METASTORE\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

Unable to determine a metastore for the request. Metastore does not exist

### CSMS\_UNITY\_CATALOG\_PATH\_BASED\_ACCESS\_TO\_TABLE\_WITH\_FILTER\_NOT\_ALLOWED

SQLSTATE: none assigned

URI points to table with row-level filter or column mask. Path-based access to this table is not allowed.

### CSMS\_UNITY\_CATALOG\_PERMISSION\_DENIED

SQLSTATE: none assigned

Permission denied

### CSMS\_UNITY\_CATALOG\_RATE\_LIMITED

SQLSTATE: none assigned

Request rate limit exceeded. Please retry after some time.

### CSMS\_UNITY\_CATALOG\_TABLE\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

Unity Catalog table does not exist.

### CSMS\_UNITY\_CATALOG\_UNAVAILABLE

SQLSTATE: none assigned

Unity Catalog is temporarily unavailable. Please retry after some time.

### CSMS\_UNITY\_CATALOG\_VOLUME\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

Unity Catalog volume does not exist.

### CSMS\_UNSUPPORTED\_FILE\_EVENTS\_QUEUE

SQLSTATE: none assigned

Unknown file event queue in request

### CSMS\_UNSUPPORTED\_LOCATION\_URI

SQLSTATE: none assigned

Unsupported location URI: the provided URI does not match any supported cloud storage scheme (for example, abfss, s3, s3a, s3n, gs)

### CSMS\_UNSUPPORTED\_MANAGED\_RESOURCE\_TYPE

SQLSTATE: none assigned

Managed resource type `<resourceType>` is not supported

### CSMS\_UNSUPPORTED\_SECURABLE

SQLSTATE: none assigned

Unsupported securable

### CSMS\_URI\_MISSING

SQLSTATE: none assigned

Must provide uri

### CSMS\_URI\_TOO\_LONG

SQLSTATE: none assigned

Provided uri is too long. Maximum permitted length is `<maxLength>`.

### CSMS\_USER\_CONTEXT\_MISSING\_IN\_REQUEST

SQLSTATE: none assigned

User context is missing from a rpc request to CSMS

### DMK\_CATALOGS\_DISALLOWED\_ON\_CLASSIC\_COMPUTE

SQLSTATE: none assigned

Databricks Default Storage cannot be accessed using Classic Compute. Please use Serverless compute to access data in Default Storage

### GITHUB\_APP\_COULD\_NOT\_REFRESH\_CREDENTIALS

SQLSTATE: none assigned

Operation failed because linked GitHub app credentials could not be refreshed.

Please try again or go to User Settings > Git Integration and try relinking your Git provider account.

If the problem persists, please file a support ticket.

`<pickOrCreateNewCredential>`

### GITHUB\_APP\_CREDENTIALS\_NO\_ACCESS

SQLSTATE: none assigned

The link to your GitHub account does not have access. To fix this error:

1. An admin of the repository must go to [https://github.com/apps/databricks/installations/new](https://github.com/apps/databricks/installations/new) and install the Databricks GitHub app on the repository.

Alternatively, a GitHub account owner can install the app on the account to give access to the account's repositories.

2. If the app is already installed, have an admin ensure that if they are using scoped access with the 'Only select repositories' option, they have included access to this repository by selecting it.

Refer to [https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app](https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app) for more information.

`<pickOrCreateNewCredential>`

### GITHUB\_APP\_EXPIRED\_CREDENTIALS

SQLSTATE: none assigned

Linked GitHub app credentials expired after 6 months of inactivity.

Go to User Settings > Git Integration and try relinking your credentials.

If the problem persists, please file a support ticket.

`<pickOrCreateNewCredential>`

### GITHUB\_APP\_INSTALL\_ON\_DIFFERENT\_USER\_ACCOUNT

SQLSTATE: none assigned

The link to your GitHub account does not have access. To fix this error:

1. GitHub user `<gitCredentialUsername>` should go to [https://github.com/apps/databricks/installations/new](https://github.com/apps/databricks/installations/new) and install the app on the account `<gitCredentialUsername>` to allow access.

2. If user `<gitCredentialUsername>` already installed the app and they are using scoped access with the 'Only select repositories' option, they should ensure they have included access to this repository by selecting it.

Refer to [https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app](https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app) for more information.

`<pickOrCreateNewCredential>`

### GITHUB\_APP\_INSTALL\_ON\_ORGANIZATION

SQLSTATE: none assigned

The link to your GitHub account does not have access. To fix this error:

1. An owner of the GitHub organization `<organizationName>` should go to [https://github.com/apps/databricks/installations/new](https://github.com/apps/databricks/installations/new) and install the app on the organization `<organizationName>` to allow access.

2. If the app is already installed on GitHub organization `<organizationName>`, have an owner of this organization ensure that if using scoped access with the 'Only select repositories' option, they have included access to this repository by selecting it.

Refer to [https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app](https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app) for more information.

`<pickOrCreateNewCredential>`

### GITHUB\_APP\_INSTALL\_ON\_YOUR\_ACCOUNT

SQLSTATE: none assigned

The link to your GitHub account does not have access. To fix this error:

1. Go to [https://github.com/apps/databricks/installations/new](https://github.com/apps/databricks/installations/new) and install the app on your account `<gitCredentialUsername>` to allow access.

2. If the app is already installed, and you are using scoped access with the 'Only select repositories' option, ensure that you have included access to this repository by selecting it.

Refer to [https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app](https://docs.databricks.com/en/repos/get-access-tokens-from-git-provider.html#link-github-account-using-databricks-github-app) for more information.

`<pickOrCreateNewCredential>`

### GITHUB\_OAUTH\_ENDPOINT\_UNAVAILABLE

SQLSTATE: none assigned

Operation failed because the GitHub OAuth endpoint was unavailable: `<rootCauseException>`.

Please try again later or contact support if the issue persists.

### GITHUB\_OAUTH\_TOKEN\_REFRESH\_FAILED

SQLSTATE: none assigned

Operation failed because the GitHub OAuth token could not be refreshed: `<rootCauseException>`.

Please try again or go to Settings > Linked accounts and try relinking your Git provider account.

If the problem persists, please file a support ticket.

### GITHUB\_OAUTH\_UNVERIFIED\_USER\_EMAIL

SQLSTATE: none assigned

Operation failed because your linked GitHub account could not be refreshed: `<rootCauseException>`.

Your GitHub account's primary email is not verified. Verify it at [https://docs.github.com/en/account-and-profile/how-tos/email-preferences/verifying-your-email-address](https://docs.github.com/en/account-and-profile/how-tos/email-preferences/verifying-your-email-address), then go to Settings > Linked accounts and relink your Git provider account.

### GIT\_CLI\_CANNOT\_CHOOSE\_CREDENTIAL

SQLSTATE: none assigned

Multiple Git credentials match this repository (`<repoUrl>`) but none could be automatically selected.

Please select which credential to use for this repository in your Git folder settings.

### GIT\_CLI\_CREDENTIAL\_NOT\_FOUND

SQLSTATE: none assigned

The selected Git credential for this repository (`<repoUrl>`) no longer exists or was not found.

Please refresh the page and select a new credential in your Git folder settings.

### GIT\_CLUSTER\_NOT\_READY

SQLSTATE: none assigned

The Git cluster is not ready yet (ClusterNotReadyException). This is a transient condition while the cluster starts; please retry.

### GIT\_CREDENTIAL\_GENERIC\_INVALID

SQLSTATE: none assigned

Invalid Git provider credentials for repository URL `<repoUrl>`.

Credential `<credentialName> (<credentialId>)` was used`<because>`.

This Git credential's provider is `<gitCredentialProvider>` and email / username is `<gitCredentialUsername>`.

`<servicePrincipalHint>`

Please go to your remote Git provider to ensure that:

1. You have entered the correct Git user email or username with your Git provider credentials.

2. Your token has the correct repo access.

3. Your token has not expired.

4. If you have SSO enabled with your Git provider, be sure to authorize your token.

`<pickOrCreateNewCredential>`

### GIT\_CREDENTIAL\_INVALID\_PAT

SQLSTATE: none assigned

Invalid Git provider Personal Access Token credentials for repository URL `<repoUrl>`.

Credential `<credentialName> (<credentialId>)` was used`<because>`.

This Git credential's provider is `<gitCredentialProvider>` and email / username is `<gitCredentialUsername>`.

`<servicePrincipalHint>`

Please go to your remote Git provider to ensure that:

1. You have entered the correct Git user email or username with your Git provider credentials.

2. Your token has the correct repo access.

3. Your token has not expired.

4. If you have SSO enabled with your Git provider, be sure to authorize your token.

`<pickOrCreateNewCredential>`

.

### GIT\_CREDENTIAL\_MISSING

SQLSTATE: none assigned

No Git credential configured, but credential required for this repository (`<repoUrl>`).

`<servicePrincipalHint>`

Go to User Settings > Git Integration to set up your Git credentials.

### GIT\_CREDENTIAL\_NO\_ACCESS

SQLSTATE: none assigned

Access to `<gitCredentialProvider>` repository (`<repoUrl>`) not granted.

Credential `<credentialName> (<credentialId>)` was used`<because>`.

This Git credential's provider is `<gitCredentialProvider>` and email / username is `<gitCredentialUsername>`.

The configured credential does not have read access to this repository. Make sure you (`<gitCredentialUsername>`) have access to this remote repository.

### GIT\_CREDENTIAL\_NO\_WRITE\_PERMISSION

SQLSTATE: none assigned

Write access to `<gitCredentialProvider>` repository (`<repoUrl>`) not granted.

Credential `<credentialName> (<credentialId>)` was used`<because>`.

This Git credential's provider is `<gitCredentialProvider>` and email / username is `<gitCredentialUsername>`.

`<servicePrincipalHint>`

Make sure you (`<gitCredentialUsername>`) have write access to this remote repository.

### GIT\_CREDENTIAL\_PROVIDER\_MISMATCHED

SQLSTATE: none assigned

Incorrect Git credential provider for repository.

You do not have a Git credential with a Git provider (`<repositoryGitProvider>`) that matches that of the repository's Git provider `<repoUrl>`.

`<servicePrincipalHint>`

Go to User Settings > Git Integration to create a new credential for Git provider `<repositoryGitProvider>`.

### GIT\_FILE\_NAME\_TOO\_LONG

SQLSTATE: none assigned

File or folder name(s) in path `<path>` exceed the `<maxComponentBytes>`-byte maximum per component.

Unix-based systems only support up to `<maxComponentBytes>` bytes per file or folder name.

Violations: `<violations>`

Please rename or delete the offending file or folder to proceed.

### GIT\_OPERATION\_IN\_PROGRESS

SQLSTATE: none assigned

Another git operation is in progress. Please try again later.

If you are sharing this Git folder with others, each user should have their own Git folder.

### GIT\_PROVIDER\_INFO\_MISSING

SQLSTATE: none assigned

Git provider information is missing or empty.

Please add the git credential information and try again.

If the problem persists, please file a support ticket.

### GIT\_PROXY\_CLUSTER\_NOT\_READY

SQLSTATE: none assigned

The Git proxy cluster is not ready yet (ClusterNotReadyException). This is a transient condition while the cluster starts; please retry.

### GIT\_PROXY\_CONNECTION\_FAILED

SQLSTATE: none assigned

Failed to connect to Git Proxy, please check if Git Proxy is up and running.

Error: `<error>`

### GIT\_PROXY\_SYSTEM\_USER\_NOT\_ALLOWED

SQLSTATE: none assigned

Cannot create a Git proxy cluster using a system user context.

A real user context is required for cluster creation.

### GIT\_REMOTE\_ERROR\_CAPTCHA

SQLSTATE: none assigned

Your Git provider requires a `CAPTCHA` to be solved before Git operations can proceed.

This is typically caused by too many failed login attempts, which locked your account.

Visit `<captchaUrl>` in a browser to solve the `CAPTCHA` and unlock your account.

Git error: `<gitErrorMessage>`

### GIT\_SECRET\_IN\_CODE

SQLSTATE: none assigned

Secrets found in the commit. Detail: `<secretDetail>`. To fix this error:

Remove the secret and try committing again.

If the problem persists, please file a support ticket.

### GIT\_STALE\_REMOTE\_REFS

SQLSTATE: none assigned

Git fetch completed but could not update stale remote references due to filesystem path conflicts (for example, deleted branches or 'feature' vs 'feature/sub').

Git error: `<gitErrorMessage>`

### HIERARCHICAL\_NAMESPACE\_NOT\_ENABLED

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

The Azure storage account does not have Hierarchical Namespace (HNS) enabled, which is required for ADLS Gen2 storage used by Unity Catalog. Enable HNS on the storage account or use a storage account with HNS enabled. See Azure documentation for instructions: [https://learn.microsoft.com/azure/storage/blobs/upgrade-to-data-lake-storage-gen2-how-to](https://learn.microsoft.com/azure/storage/blobs/upgrade-to-data-lake-storage-gen2-how-to)

### INVALID\_FIELD\_LENGTH

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

`<rpcName> <fieldName>` too long. Maximum length is `<maxLength>` characters.

### [INVALID\_PARAMETER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-parameter-value-error-class.md)

[SQLSTATE: 22023](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-22-data-exception)

`<msg>`

For more details see [INVALID\_PARAMETER\_VALUE](https://docs.databricks.com/gcp/en/error-messages/invalid-parameter-value-error-class.md)

### JOBS\_TASK\_FRAMEWORK\_TASK\_RUN\_OUTPUT\_NOT\_FOUND

SQLSTATE: none assigned

Task Framework: Task Run Output for Task with runId `<runId>` and orgId `<orgId>` could not be found.

### JOBS\_TASK\_FRAMEWORK\_TASK\_RUN\_STATE\_NOT\_FOUND

SQLSTATE: none assigned

Task Framework: Task Run State for Task with runId `<runId>` and orgId `<orgId>` could not be found.

### JOBS\_TASK\_REGISTRY\_TASK\_CLIENT\_CONFIG\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

RPC ClientConfig for Task with ID `<taskId>` does not exist.

### JOBS\_TASK\_REGISTRY\_TASK\_DOES\_NOT\_EXIST

SQLSTATE: none assigned

Task with ID `<taskId>` does not exist.

### JOBS\_TASK\_REGISTRY\_UNSUPPORTED\_JOB\_TASK

SQLSTATE: none assigned

Task Registry: Unsupported or unknown JobTask with class `<taskClassName>`.

### PATH\_BASED\_ACCESS\_NOT\_SUPPORTED\_FOR\_EXTERNAL\_SHALLOW\_CLONE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Path-based access to external shallow clone table `<tableFullName>` is not supported. Please use table names to access the shallow clone instead.

### PATH\_BASED\_ACCESS\_NOT\_SUPPORTED\_FOR\_FABRIC

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Fabric table located at url '`<url>`' is not found. Please use the `REFRESH FOREIGN CATALOG` command to populate Fabric tables.

### PATH\_BASED\_ACCESS\_NOT\_SUPPORTED\_FOR\_TABLES\_WITH\_ROW\_COLUMN\_ACCESS\_POLICIES

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Path-based access to table `<tableFullName>` with row filter or column mask not supported.

### PERMISSION\_DENIED

[SQLSTATE: 42501](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<principalName>` does not have `<msg>` on `<resourceType>` '`<resourceName>`'.

### REDASH\_DELETE\_ASSET\_HANDLER\_INVALID\_INPUT

SQLSTATE: none assigned

Unable to parse delete object request: `<invalidInputMsg>`

### REDASH\_DELETE\_OBJECT\_NOT\_IN\_TRASH

SQLSTATE: none assigned

Unable to delete object `<resourceName>` that is not in trash

### REDASH\_GENIE\_CODE\_CREATION\_DISABLED\_CAPACITY

[SQLSTATE: 53400](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-53-insufficient-resources)

Genie Code creation is temporarily unavailable due to capacity limits. Please try again later.

### REDASH\_PERMISSION\_DENIED

SQLSTATE: none assigned

Could not find or have permission to access resource `<resourceId>`

### REDASH\_QUERY\_NOT\_FOUND

SQLSTATE: none assigned

Unable to find the resource from query id `<queryId>`

### REDASH\_QUERY\_SNIPPET\_CREATION\_FAILED

SQLSTATE: none assigned

Unable to create new query snippet

### REDASH\_QUERY\_SNIPPET\_QUOTA\_EXCEEDED

SQLSTATE: none assigned

The quota for the number of query snippets has been reached. The current quota is `<quota>`.

### REDASH\_QUERY\_SNIPPET\_TRIGGER\_ALREADY\_IN\_USE

SQLSTATE: none assigned

The specified trigger `<trigger>` is already in use by another query snippet in this workspace.

### REDASH\_RESOURCE\_NOT\_FOUND

SQLSTATE: none assigned

The requested resource `<resourceName>` does not exist

### REDASH\_RESTORE\_ASSET\_HANDLER\_INVALID\_INPUT

SQLSTATE: none assigned

Unable to parse delete object request: `<invalidInputMsg>`

### REDASH\_RESTORE\_OBJECT\_NOT\_IN\_TRASH

SQLSTATE: none assigned

Unable to restore object `<resourceName>` that is not in trash

### REDASH\_SCHEDULED\_GENIE\_CODE\_AUTOMATION\_QUOTA\_EXCEEDED

SQLSTATE: none assigned

You have reached the maximum number of Genie automations (`<quota>`). Delete an existing automation before creating a new one.

### REDASH\_TRASH\_OBJECT\_ALREADY\_IN\_TRASH

SQLSTATE: none assigned

Unable to trash already-trashed object `<resourceName>`

### REDASH\_UNABLE\_TO\_GENERATE\_RESOURCE\_NAME

SQLSTATE: none assigned

Could not generate resource name from id `<id>`

### REDASH\_VISUALIZATION\_CREATION\_FAILED

SQLSTATE: none assigned

Unable to create new visualization

### REDASH\_VISUALIZATION\_NOT\_FOUND

SQLSTATE: none assigned

Could not find visualization `<visualizationId>`

### REDASH\_VISUALIZATION\_QUOTA\_EXCEEDED

SQLSTATE: none assigned

The quota for the number of visualizations on query `<query_id>` has been reached. The current quota is `<quota>`.

### REPOSITORY\_URL\_NOT\_FOUND

SQLSTATE: none assigned

Remote repository (`<repoUrl>`) not found.

Credential `<credentialName> (<credentialId>)` was used`<because>`.

This Git credential's provider is `<gitCredentialProvider>` and email / username is `<gitCredentialUsername>`.

`<servicePrincipalHint>`

Please go to your remote Git provider to ensure that:

1. Your remote Git repo URL is valid.

2. Your personal access token or app password has the correct repo access.

`<pickOrCreateNewCredential>`

### RESOURCE\_ALREADY\_EXISTS

[SQLSTATE: 42710](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<resourceType>` '`<resourceIdentifier>`' already exists

### RESOURCE\_DOES\_NOT\_EXIST

[SQLSTATE: 42704](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

`<resourceType>` '`<resourceIdentifier>`' does not exist.

### ROW\_COLUMN\_ACCESS\_POLICIES\_NOT\_SUPPORTED\_ON\_ASSIGNED\_CLUSTERS

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Query on table `<tableFullName>` with row filter or column mask not supported on assigned clusters.

### ROW\_COLUMN\_ACCESS\_POLICIES\_NOT\_SUPPORTED\_ON\_INDEXED\_TABLES

[SQLSTATE: 42KDJ](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Cannot set row-level security, column masking, or ABAC policies on table `<baseTableFullName>` because it has one or more secondary indexes. Drop the secondary indexes before adding policies.

### ROW\_COLUMN\_SECURITY\_NOT\_SUPPORTED\_WITH\_TABLE\_IN\_DELTA\_SHARING

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table `<tableFullName>` is being shared with OpenSharing, and cannot use row/column security.

### SECONDARY\_INDEX\_NOT\_SUPPORTED\_ON\_TABLES\_WITH\_ROW\_COLUMN\_SECURITY

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Secondary index `<indexFullName>` cannot be used because the base table `<baseTableFullName>` has row-level security, column masking policies, or ABAC policies.

### [SERVERLESS\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/serverless-not-supported-error-class.md)

SQLSTATE: none assigned

Serverless compute is not enabled for this workspace.

For more details see [SERVERLESS\_NOT\_SUPPORTED](https://docs.databricks.com/gcp/en/error-messages/serverless-not-supported-error-class.md)

### TABLE\_WITH\_ROW\_COLUMN\_SECURITY\_NOT\_SUPPORTED\_IN\_ONLINE\_MODE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Table `<tableFullName>` cannot have both row/column security and online materialized views.

### TOO\_MANY\_ROWS\_TO\_UPDATE

[SQLSTATE: 54000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-54-program-limit-exceeded)

Too many rows to update, aborting update.

### UC\_ABAC\_UNSUPPORTED\_TABLE\_TYPE

[SQLSTATE: 0AKUC](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

ABAC policies are not supported for table type `<tableType>`.
