---
title: AUTOCDC_MICROBATCH_VALIDATION error condition
description: Documentation for the AUTOCDC\_MICROBATCH\_VALIDATION error condition on Databricks
canonical_url: https://docs.databricks.com/aws/en/error-messages/autocdc-microbatch-validation-error-class
---

# AUTOCDC\_MICROBATCH\_VALIDATION error condition

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

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

## NON\_ORDERABLE\_SEQUENCE

The sequencing column has non-orderable type `<dataType>`. The sequencing column must be of a type that supports ordering.

## NULL\_KEY

The microbatch contains rows with null values in the following key column(s): `<nullKeyCounts>`. All rows must have non-null values for every key column.

## NULL\_SEQUENCE

The microbatch contains `<nullCount>` row(s) with a null sequencing value. All rows must have a non-null sequencing value.
