Dvc get not working for me

I have set up a data registry with a private github/dvc repo and with a remote on gdrive. I’m trying to download the files and am having issues.

The following command lists the structure

dvc list https://github.com/username/repo
.dvcignore                                                                                                    
.gitignore
genomes
genomes.dvc

But when I try to use dvc list -R https://github.com/username/repo I get:

ERROR: unexpected error - failed to load directory ('genomes',): [Errno 2] No such file or directory: '/tmp/tmpx07qbq92dvc-cache/files/md5/8d/48e4fc01c23612bcbbb3023a3603d8.dir'

And when I try to use get to download the genomes/ folder there is a similar error:

ERROR: unexpected error - failed to load directory ('genomes',): [Errno 2] No such file or directory: '/tmp/tmpfzqj08xjdvc-cache/files/md5/8d/48e4fc01c23612bcbbb3023a3603d8.dir'

The dvc doctor command gives:

DVC version: 3.59.1 (conda)
---------------------------
Platform: Python 3.13.3 on Linux-6.8.0-57-generic-x86_64-with-glibc2.35
Subprojects:
	dvc_data = 3.16.9
	dvc_objects = 5.1.0
	dvc_render = 1.0.2
	dvc_task = 0.40.2
	scmrepo = 3.3.10
Supports:
	gdrive (pydrive2 = 1.21.1),
	gs (gcsfs = 2025.3.2),
	http (aiohttp = 3.11.16, aiohttp-retry = 2.9.1),
	https (aiohttp = 3.11.16, aiohttp-retry = 2.9.1)
Config:
	Global: /home/tsl4/.config/dvc
	System: /etc/xdg/xdg-ubuntu/dvc
Cache types: <https://error.dvc.org/no-dvc-cache>
Caches: local
Remotes: gdrive, gdrive
Workspace directory: ext4 on /dev/nvme0n1p2
Repo: dvc, git
Repo.site_cache_dir: /var/tmp/dvc/repo/b77c700132d92e6f89c272869b394303

How can I fix these issues and download files in a registry?

Thanks!

Hi,
these set-up issues can be tricky. Withou a minimal reproduciple example it’s hard to guess from the outside.
Have you checked, that the file files/md5/8d/48e4fc01c23612bcbbb3023a3603d8.dir was actually pushed to your storage?
Also, how do you authenticate to your private repo and storage. dvc list will try to clone the repo and access the storage. Does the user you are using when querying dvc list, have all the necessary access rights?