digitalocean / digitalocean/doctl

DigitalOcean Container Registry GET/DELETE API Calls Failing

Open
#1,776 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

I’m running into a problem with **DigitalOcean Container Registries** using `doctl`.

* Creating a registry (`doctl registry create`) works fine.
* However, `doctl registry get` and `doctl registry delete` fail with a **412 error**:

```
Error retrieving container registry: GET https://api.digitalocean.com/v2/registry: 412
This API is not supported if you have created multiple registries. Please use '/v2/registries' instead.
```

Image

I also tested with Terraform — the same GET request fails there too. This confirms it’s an issue with the **DigitalOcean API**, not the tools or our configuration.

**Environment:**

doctl version 1.99.0-release
OS: Win11

**Additional Details:**

* Tested with multiple Terraform registry configurations — same result.
* Related GitHub issue: [https://github.com/digitalocean/doctl/issues/1723](https://github.com/digitalocean/doctl/issues/1723)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.