Here’s a list of 30 common error codes and their descriptions related to Databricks Unity Catalog:
Authentication & Authorization Errors
- UC1001 – Access Denied
Description: The user does not have permission to access the catalog, schema, or table. - UC1002 – Invalid Credentials
Description: Authentication failure for accessing Unity Catalog resources. - UC1003 – Role Not Assigned
Description: User role is not assigned to perform the requested operation. - UC1004 – Invalid Token
Description: The provided token for accessing Unity Catalog is invalid or expired. - UC1005 – Not Authorized for Action
Description: User lacks permissions to execute specific Unity Catalog SQL commands.
Metastore Errors
- UC2001 – Metastore Not Found
Description: No metastore is configured for the current workspace. - UC2002 – Metastore Already Exists
Description: Attempt to create a metastore that already exists. - UC2003 – Metastore Assignment Failed
Description: Failed to assign the metastore to the workspace. - UC2004 – Unsupported Metastore Operation
Description: Operation not supported for the specified metastore type. - UC2005 – Metastore Version Mismatch
Description: The metastore version is incompatible with the current Unity Catalog version.
Catalog & Schema Errors
- UC3001 – Catalog Not Found
Description: The specified catalog does not exist. - UC3002 – Schema Not Found
Description: The specified schema does not exist within the catalog. - UC3003 – Catalog Already Exists
Description: Attempt to create a catalog that already exists. - UC3004 – Schema Already Exists
Description: Attempt to create a schema that already exists. - UC3005 – Invalid Catalog or Schema Name
Description: The catalog or schema name contains invalid characters or formatting.
Table & Data Errors
- UC4001 – Table Not Found
Description: The specified table does not exist. - UC4002 – Table Already Exists
Description: Attempt to create a table that already exists. - UC4003 – Table Version Mismatch
Description: The table version is incompatible with the requested operation. - UC4004 – Unsupported Data Type
Description: The specified data type is not supported by Unity Catalog. - UC4005 – Missing Table Metadata
Description: Table metadata is incomplete or corrupted.
Resource Limit & Configuration Errors
- UC5001 – Resource Limit Exceeded
Description: The resource limit for Unity Catalog has been exceeded. - UC5002 – Invalid Configuration
Description: Configuration parameters for Unity Catalog are invalid or missing. - UC5003 – Cluster Not Configured for Unity Catalog
Description: The cluster is not enabled for Unity Catalog operations. - UC5004 – Concurrent Modification Detected
Description: Multiple concurrent modifications caused a conflict. - UC5005 – Unsupported Cluster Version
Description: The cluster version does not support Unity Catalog features.
Networking & Connectivity Errors
- UC6001 – Network Timeout
Description: Network timeout while accessing Unity Catalog services. - UC6002 – DNS Resolution Failed
Description: Failed to resolve the Unity Catalog service endpoint. - UC6003 – Connection Refused
Description: The Unity Catalog service refused the connection request. - UC6004 – API Rate Limit Exceeded
Description: Too many requests sent to Unity Catalog API, triggering rate limiting. - UC6005 – External Storage Access Denied
Description: Unity Catalog could not access external storage (e.g., S3, ADLS).
How to Use and Handle These Error Codes
- Check Logs: Unity Catalog logs provide detailed information for each error code.
- Use SQL Commands:
SHOW CATALOGS
,SHOW TABLES
, andDESCRIBE METASTORES
to diagnose catalog and table-related errors. - Review Permissions: Ensure users have the correct roles and permissions for Unity Catalog objects.
- Check Network and Cluster Configuration: Ensure clusters are Unity Catalog-enabled and network configurations allow access.