---
title: MANAGED_ICEBERG_REGISTRATION_INVALID_LOCATION_LAYOUT error condition
description: Documentation for the MANAGED\_ICEBERG\_REGISTRATION\_INVALID\_LOCATION\_LAYOUT error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/managed-iceberg-registration-invalid-location-layout-error-class
---

# MANAGED\_ICEBERG\_REGISTRATION\_INVALID\_LOCATION\_LAYOUT error condition

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

Cannot register the Apache Iceberg table.

## BUCKET\_OR\_FILESYSTEM\_ROOT

Catalog root `<commonAncestor>` cannot be a bucket or filesystem root.

## ROOT\_NOT\_AN\_INPUT\_LOCATION

Root `<commonAncestor>` must equal data `<dataLocation>`, metadata `<metadataLocation>`, or table `<tableLocation>`.

## TABLE\_LOCATION\_MISMATCH

Table location `<tableLocation>` must equal catalog root `<commonAncestor>` or its /\_iceberg child.
