---
title: COLUMN_MAPPING_MODE_INCOMPATIBLE_WITH_SCHEMA error condition
description: Documentation for the COLUMN\_MAPPING\_MODE\_INCOMPATIBLE\_WITH\_SCHEMA error condition on Databricks
canonical_url: https://docs.databricks.com/aws/en/error-messages/column-mapping-mode-incompatible-with-schema-error-class
---

# COLUMN\_MAPPING\_MODE\_INCOMPATIBLE\_WITH\_SCHEMA error condition

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

This error condition has the following derived sub error conditions.

## EXISTING\_SCHEMA

Cannot remove column mapping from table '`<tableName>`' because its existing schema contains invalid column names: `<invalidColumnNames>`.

First rename or remove these columns in the table definition and successfully refresh the table while keeping column mapping enabled.

Then disable column mapping in a subsequent update.

## REQUESTED\_SCHEMA

The requested schema for table '`<tableName>`' is incompatible with column mapping mode '`<requestedColumnMappingMode>`'.

Invalid column names: `<invalidColumnNames>`.

Rename these columns or use column mapping.
