Skip to content

dvc pull: ERROR: failed to transfer #10977

@q-micke

Description

@q-micke

Bug Report

Description

In a situation where pushing some files to remote has seemingly failed, it's impossible to fix the situation.

  • dvc pull: Fails with: ERROR: failed to transfer ... - [Errno 2] No such file or directory: ... The specified blob does not exist. ... ErrorCode:BlobNotFound (in case files are not in local cache)
  • dvc add: Adds the files to local cache, keeps .dvc file the same
  • dvc push --all-branches --all-tags --all-commits: Everything is up to date.
  • dvc status -c: Cache and remote .... are in sync.
  • dvc pull: Still failing if files are not in local cache

How to force dvc to push files to remote that are not in remote, but dvc push and dvc status -c claim to be up to date?

Reproduce

Not sure how the the situation happened, probably some push was aborted due to network issues or files were removed from remote by mistake.

Expected

dvc push would push the files to remote that exist locally but not in remote, at least with some flag.

Environment information

Output of dvc doctor:

$ dvc doctor
DVC version: 3.66.1 (pip)
-------------------------
Platform: Python 3.14.2 on macOS-26.2-arm64-arm-64bit-Mach-O
Subprojects:
        dvc_data = 3.18.2
        dvc_objects = 5.2.0
        dvc_render = 1.0.2
        dvc_task = 0.40.2
        scmrepo = 3.6.1
Supports:
        azure (adlfs = 2025.8.0, knack = 0.13.0, azure-identity = 1.25.1),
        http (aiohttp = 3.13.3, aiohttp-retry = 2.9.1),
        https (aiohttp = 3.13.3, aiohttp-retry = 2.9.1)
Config:
        Global: /Users/.../Library/Application Support/dvc
        System: /Library/Application Support/dvc
Cache types: reflink, hardlink, symlink
Cache directory: apfs on /dev/disk3s3s1
Caches: local
Remotes: azure
Workspace directory: apfs on /dev/disk3s3s1
Repo: dvc, git
Repo.site_cache_dir: /Library/Caches/dvc/repo/aa4492656849c3458e05d05db5617633

Additional Information (if any):

Azure being used as a remote.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions