---
title: USER_INIT_ENVIRONMENT_VERSION_ENABLEMENT_BLOCKED error condition
description: Documentation for the USER\_INIT\_ENVIRONMENT\_VERSION\_ENABLEMENT\_BLOCKED error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/user-init-environment-version-enablement-blocked-error-class
---

# USER\_INIT\_ENVIRONMENT\_VERSION\_ENABLEMENT\_BLOCKED error condition

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

Environment version was not enabled because Spark Declarative Pipelines on Lakeflow could not verify that the pipeline's behavior would remain unchanged. No data was written. Complete the steps below to enable environment version.
Cause:

## FINGERPRINT\_MISMATCH

The pipeline's query plans differ from the baseline recorded by its last run without environment version. The query plan changed for `<changedFlowCount>` of `<comparedFlowCount>` flows: `<changedFlows>`. This usually means the pipeline changed since that run, or that its code behaves differently with environment version.

To resolve:

1. Remove environment version from the pipeline settings and set 'pipelines.environmentVersion.enableCompatibilityScan' = 'true' in the pipeline configuration.

2. Run the pipeline (not a dry run). Code that may behave differently with environment version is reported in the pipeline event log as 'behavior\_change\_in\_spark\_connect' warnings, each with a suggested fix. Apply the fixes and repeat this step until a successful update reports no warnings. That update records a new baseline.

3. Set environment version again and run the pipeline. If the update is still blocked, contact Databricks support.

See [Compatibility scan](https://docs.databricks.com/gcp/en/ldp/developer/environment-version-compatibility.md#detect).

## NO\_PREVIOUS\_FINGERPRINT

No sufficient baseline data was found to validate that this enablement is safe. This can occur when no recent pipeline run is available. Trigger a pipeline run without environment version to generate the baseline data. If the issue persists, the pipeline may not have the latest infrastructure to reliably detect behavior changes for environment version enablement. Please contact Databricks support.

## REQUIRES\_REFRESH\_ALL

This update does not refresh all tables and is therefore not eligible for environment version enablement. Trigger a pipeline run with 'Refresh all' to enable the environment version on this pipeline.
