---
title: AUTO_MIGRATION_ENVIRONMENT_VERSION_ENABLEMENT_BLOCKED error condition
description: Documentation for the AUTO\_MIGRATION\_ENVIRONMENT\_VERSION\_ENABLEMENT\_BLOCKED error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/auto-migration-environment-version-enablement-blocked-error-class
---

# AUTO\_MIGRATION\_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)

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:

## AUTO\_CDC\_FROM\_SNAPSHOT

This pipeline uses Auto CDC From Snapshot, which is not yet supported by the automatic migration to environment version. We're actively working on migration support for pipelines with Auto CDC From Snapshot.

## EVENT\_HOOK

This pipeline uses event hooks, which are not yet supported by the automatic migration to environment version.

## FINGERPRINT\_MISMATCH

We detected the pipeline's query plan changed after the automatic migration to environment version. The query plan changed for `<changedFlowCount>` of `<comparedFlowCount>` flows: `<changedFlows>`.

## FOREACH\_BATCH

This pipeline uses a ForeachBatch sink, which is not yet supported by the automatic migration to environment version. We're actively working on migration support for pipelines with ForeachBatch sink.

## NO\_PREVIOUS\_FINGERPRINT

No sufficient baseline data was found to validate that this automatic migration is safe for this pipeline.

## REQUIRES\_REFRESH\_ALL

This update does not refresh all tables and is therefore not eligible for the automatic migration.
