Skip to main content

Troubleshoot Artifact Registry

Use this page to resolve common issues with Artifact Registry. For the complete setup and image push workflow, see Get started with Artifact Registry.

Workspace access issues​

Artifact Registry is not enabled for the workspace​

Verify that the workspace is in a region that supports Artifact Registry and that the workspace and its Unity Catalog metastore are in the same region. See Limitations. If both conditions are met and the error persists, request help.

Artifact Registry enablement is temporarily unavailable​

Retry the operation. If the error persists, collect the error details and request ID, if present, when you request help.

Docker authentication issues​

The Docker authentication command is unavailable​

Install or update the Databricks CLI (command-line interface) to the minimum supported version in Requirements, then run databricks auth docker configure again.

Docker cannot get registry credentials​

Create or refresh a workspace-level OAuth profile, configure Docker for the workspace registry, and retry the Docker operation. Run the following commands:

Bash
databricks auth login --host <workspace-url> --profile <profile>
databricks auth docker configure --profile <profile>

Verify that the profile's host is the URL of the intended workspace, not an account host. An account host does not work even if the profile includes a workspace ID. If you use the default profile, omit --profile <profile> from the Docker authentication command.

The Docker credential helper does not support profiles that use personal access tokens or OAuth machine-to-machine (M2M) credentials. For service principals, see Authenticate as a service principal. For the complete authentication steps, see Set up Docker authentication.

Docker push or login returns unauthorized​

If docker push or docker login returns unauthorized, verify the following:

If a long-running push fails, see A long-running push returns an authorization error. For permission errors, see The push returns a permission error.

A long-running push returns an authorization error​

The Docker credential helper supplies a short-lived workspace OAuth access token. If a long-running push returns an authorization error, retry docker push so that the credential helper requests a new token. If you used docker login, generate a new token and sign in again before retrying. For the credential lifetime, see Limitations.

The registry hostname does not match​

Run databricks auth docker host --profile <profile> to check the registry hostname and Docker credential helper status for the selected profile. Verify that the profile points to the intended workspace. Retag the image with the correct registry hostname before you retry a push.

Image push issues​

The push returns a permission error​

Verify that the principal has the privileges required for the push operation. See Grant permissions.

The image name is rejected​

Use the <registry-hostname>/<catalog>.<schema>.<artifact>:<tag> format. For the artifact segment requirements, see Artifact name requirements.

The catalog or schema does not exist​

Artifact Registry does not create catalogs or schemas. The target catalog and schema must already exist in Unity Catalog and be accessible from the workspace. Create the missing object or use an existing catalog and schema, then verify the required privileges before you retry the push.

Image discovery issues​

The databricks software-artifacts command is unavailable​

Install or update the Databricks CLI to the minimum supported version in Requirements, then run the command again.

The image or version does not appear​

Confirm that the Docker push completed successfully and that you are looking in the same catalog, schema, and artifact that you pushed to. Use Catalog Explorer or the Databricks CLI rather than the registry endpoint to list artifacts and versions. See Discover images and versions.

A registry operation is not supported​

The registry endpoint does not support tag-list or delete requests. To discover images and versions, use Catalog Explorer or the Databricks CLI. To delete images, use the Databricks CLI. See Discover images and versions and Delete images.

Image deletion issues​

A delete returns a permission error​

Verify that the principal has the privileges required to delete the version. See Grant permissions.

Image acceleration issues​

Image acceleration remains UNSPECIFIED​

UNSPECIFIED does not identify a failure. See Limitations for image acceleration eligibility, including the image size limit. Larger eligible images take longer to convert. Check the status again later. If an eligible image does not reach SUCCESS after multiple hours, contact Databricks Support. For status definitions, see Check image acceleration status.

Get help​

When you request help, include the following information:

  • The cloud, region, workspace URL, and Databricks CLI version.
  • The command that failed and its complete error message.
  • The registry hostname and the catalog.schema.artifact:tag name.
  • The image digest, API request ID, and operation timestamp, if available.

Share this information only through a private support channel. Do not post workspace URLs, registry hostnames, artifact names, or complete errors in public forums.

Remove tokens, passwords, and registry credentials from error messages, command output, and other diagnostics before you share them.