Skip to main content

UNSUPPORTED_UDF_FEATURE error condition

SQLSTATE: 0A000

The function <function> uses an unsupported feature.

CREDENTIALS_NOT_ENABLED​

Service credentials are not enabled for <udfType> UDFs on this compute.

CREDENTIALS_UNSUPPORTED_ENVIRONMENT​

Service credentials are only supported on DBR 19+ or serverless environment v<minClientImageVersion>+. See <docLink>.

LEGACY​

The following feature(s) require a newer version of Databricks runtime: <features>. Consult <docLink> for details.

RPC_NOT_SUPPORTED​

The requested operation is not supported by the current Databricks runtime version. Upgrade to a newer runtime version.

SECRETS_NOT_ENABLED​

Secrets are not enabled for <udfType> UDFs on this compute.

SECRETS_NOT_SUPPORTED_FOR_ENVIRONMENT_VERSION​

Secrets in UDFs are supported only on environment version <requiredVersion> or higher. This function uses environment version <currentVersion>. Recreate the function with environment_version '<requiredVersion>' or higher, or remove the SECRETS clause.

SECRETS_NOT_SUPPORTED_ON_DEDICATED_COMPUTE​

Secrets are not supported for Unity Catalog UDFs on dedicated compute. Use serverless or shared compute.

SECRETS_NOT_SUPPORTED_ON_LEGACY_CODEPATH​

Secrets are not supported for this Unity Catalog Python UDF on the legacy execution path. Use the standard execution path, or remove the SECRETS clause.