Troubleshooting

Learn about troubleshooting steps that you might find helpful if you run into problems using Artifact Registry.

Accessing alpha features

See Requirements to access alpha features for information about signing up for the alpha user group and requirements to access alpha features.

PyPI repositories

This section describes troubleshooting for PyPI repositories.

Tools such as pip and Twine return HTTP error codes. Some error codes you might encounter:

  • 403 - Authentication issue, possibly caused by lack of permissions to perform the operation.
  • 404 - Package not found. Verify that the path and package name are correct. If you are downloading an package, list the repository contents to confirm that the package is in the repository

You can get more details about the error if you rerun the command that failed with the --verbose parameter.

For example, if you are trying to download a package and do not have read access to the repository, using the --verbose parameter returns a message with Forbidden for url.

Starting new HTTPS connection (1): us-east1-pypi.pkg.dev
https://us-east1-pypi.pkg.dev "GET /my-project/my-repo/simple/my-image/ HTTP/1.1" 403 0
<Response [403]>
Status code 403 not in (200, 203, 300, 301)
Could not fetch URL https://us-east1-pypi.pkg.dev/my-project/my-repo/simple/my-image/:
403 Client Error: Forbidden for url:
https://us-east1-pypi.pkg.dev/my-project/my-repo/simple/my-image/ - skipping