---
title: Troubleshoot Artifact Registry
description: Resolve common Artifact Registry issues with workspace access, Docker authentication, image pushes, discovery, deletion, and image acceleration.
canonical_url: https://docs.databricks.com/gcp/en/artifact-registry/troubleshooting
---

# 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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md).

## <a id="access-issues" />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](https://docs.databricks.com/gcp/en/artifact-registry/index.md#dar-limitations). If both conditions are met and the error persists, [request help](https://docs.databricks.com/gcp/en/artifact-registry/troubleshooting.md#support).

### 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](https://docs.databricks.com/gcp/en/artifact-registry/troubleshooting.md#support).

## 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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#requirements), then run `databricks auth docker configure` again.

### <a id="docker-cannot-get-registry-credentials" />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](https://docs.databricks.com/gcp/en/workspace/workspace-details.md#workspace-url), 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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#service-principal-authentication). For the complete authentication steps, see [Set up Docker authentication](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#docker-authentication).

### Docker push or login returns `unauthorized`

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

* The Docker credential helper uses a profile with the workspace URL as its host, not an account host. See [Docker cannot get registry credentials](https://docs.databricks.com/gcp/en/artifact-registry/troubleshooting.md#docker-cannot-get-registry-credentials).
* For a service principal, the Docker username is `oauthtoken` and the password is a raw workspace-level OAuth access token that has not expired. See [Authenticate as a service principal](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#service-principal-authentication).

If a long-running push fails, see [A long-running push returns an authorization error](https://docs.databricks.com/gcp/en/artifact-registry/troubleshooting.md#a-long-running-push-returns-an-authorization-error). For permission errors, see [The push returns a permission error](https://docs.databricks.com/gcp/en/artifact-registry/troubleshooting.md#the-push-returns-a-permission-error).

### <a id="a-long-running-push-returns-an-authorization-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](https://docs.databricks.com/gcp/en/artifact-registry/index.md#dar-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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#workspace-registry-hostname) before you retry a push.

## Image push issues

### <a id="the-push-returns-a-permission-error" />The push returns a permission error

Verify that the principal has the privileges required for the push operation. See [Grant permissions](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#artifact-registry-permissions).

### The image name is rejected

Use the `<registry-hostname>/<catalog>.<schema>.<artifact>:<tag>` format. For the artifact segment requirements, see [Artifact name requirements](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#image-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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#list-artifacts-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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#list-artifacts-and-versions) and [Delete images](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#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](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#artifact-registry-permissions).

## Image acceleration issues

### Image acceleration remains `UNSPECIFIED`

`UNSPECIFIED` does not identify a failure. See [Limitations](https://docs.databricks.com/gcp/en/artifact-registry/index.md#dar-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](https://docs.databricks.com/gcp/en/artifact-registry/troubleshooting.md#support). For status definitions, see [Check image acceleration status](https://docs.databricks.com/gcp/en/artifact-registry/get-started.md#image-acceleration-status).

## <a id="support" />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.
