Skip to main content

AnacondaLoginRequired


Cause
The command requires an authenticated session, but no valid login was detected. anaconda-repo-cli relies on anaconda-auth for authentication, so this error means the auth plugin has no stored credentials for the configured site.

Solution
Log in using the anaconda-auth CLI:
anaconda login
If you have multiple sites configured, specify which one to authenticate against:
anaconda --at <SITE> login

Unauthorized


Cause
The server recognized your credentials but denied permission for the requested operation. This can occur when your user account or token does not have the required role or scope to access the target resource, such as a private channel or an admin-only endpoint.

Solution
Verify that your token has the required permissions by checking your auth tokens:
anaconda repo auth --list
If permissions are insufficient, request access from your organization administrator or create a new token with the appropriate scopes.

NotFound


Cause
The requested resource does not exist on the server. This typically means the channel name, package name, or artifact identifier in the command does not match any resource on the configured site. It can also occur when targeting the wrong site in a multi-site configuration.

Solution
Double-check the resource name in your command. You can list available channels to confirm the name:
anaconda repo channel --list
If you have multiple sites configured, make sure you are targeting the correct one with the --site flag:
anaconda repo channel --list --site <SITE>

NoDefaultUrl


Cause
No repository URL has been configured. anaconda-repo-cli needs to know which Anaconda Platform instance to connect to, and no default_site or site configuration was found in ~/.anaconda/config.toml.

Solution
Add a site configuration using the anaconda sites add command:
anaconda sites add https://your-platform-domain.example.com
Alternatively, set default_site manually in ~/.anaconda/config.toml. For a full walkthrough, see Getting started with anaconda-repo-cli.

ChannelFrozen


Cause
The target channel has been frozen, which prevents any modifications such as uploading, copying, moving, or removing packages. Freezing a channel is an intentional action to protect its contents from changes.

Solution
If you need to modify the channel, unfreeze it first:
anaconda repo channel --unfreeze <CHANNEL>
If the channel was frozen intentionally and should not be modified, use a different channel for your operation.