---
title: UNSUPPORTED_UDF_FEATURE error condition
description: Documentation for the UNSUPPORTED\_UDF\_FEATURE error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/unsupported-udf-feature-error-class
---

# UNSUPPORTED\_UDF\_FEATURE error condition

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

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.
