Unable to download artifact CI/CD Origin: Build & delivery Last updated 25 Oct 2026

GitHub Actions: Error: Unable to download artifact(s): Artifact not found for name: build

download-artifact could not find an artifact with that name in the run (or repository) — it was never uploaded, named differently, expired or lives in another run.

Exact message you may see Unable to download artifact(s): Artifact not found for nameArtifact not found for nameUnable to find any artifacts for the associated workflowError: Unable to download artifact(s)download-artifact not found
Seen on: GitHub Actions

Meaning

Artifacts belong to a workflow run. A job can only download artifacts uploaded earlier in the same run (and the uploading job must have finished — use needs). Names are case-sensitive, retention defaults to 90 days, and in v4 artifacts from other runs need a token and run-id.

Common causes

  • Upload step skipped or failed (nothing to upload, wrong path)
  • Name differs between upload and download
  • Download job runs before the upload job finishes (missing needs:)
  • Artifact expired or deleted
  • Trying to download from another workflow run without run-id and token

⚡ Quick fix

  1. Check the Artifacts section of the run for the exact name
  2. Add needs: build to the download job
  3. Set if-no-files-found: error on upload to catch empty uploads

Detailed fix by platform

GitHub Actions

  1. Cross-run: uses: actions/download-artifact@v4 with run-id: ${{ github.event.workflow_run.id }} and github-token: ${{ secrets.GITHUB_TOKEN }}

Code examples

Upload then download in order

yaml
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - run: mkdir dist && echo hi > dist/a.txt
      - uses: actions/upload-artifact@v4
        with: { name: build, path: dist/, if-no-files-found: error }
  test:
    needs: build                         # wait for the upload
    runs-on: ubuntu-latest
    steps:
      - uses: actions/download-artifact@v4
        with: { name: build }

How to diagnose

  1. Name — Exact artifact name uploaded?
  2. Order — Does the job depend on the uploader?
  3. Run — Same workflow run?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):

API rate limit exceeded — GitHub Actions: HttpError: API rate limit exceeded for installation ID 123456 / secondary rate limit (CI/CD)API rate limit exceed…Cache not found / Unable to reserve cache — GitHub Actions: Cache not found for input keys: npm-Linux-abc123 / Failed to save: Unable to reserve cache with key, another job may be creating this cache (CI/CD)Cache not found / Una…Cannot perform an interactive login from a non TTY device — GitHub Actions: Error: Cannot perform an interactive login from a non TTY device (CI/CD)Cannot perform an int…Context access might be invalid — GitHub Actions: Context access might be invalid: AWS_ACCESS_KEY_ID (editor warning for secrets/vars) (CI/CD)Context access might …couldn't find remote ref (checkout) — GitHub Actions: fatal: couldn't find remote ref refs/heads/feature — The process '/usr/bin/git' failed with exit code 1 (actions/checkout) (CI/CD)couldn't find remote …Credentials could not be loaded — GitHub Actions: Error: Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers (CI/CD)Credentials could not…deprecated version of actions/upload-artifact — GitHub Actions: Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3` (CI/CD)deprecated version of…error parsing called workflow — GitHub Actions: error parsing called workflow ".github/workflows/ci.yml" -> "org/repo/.github/workflows/build.yml@main": workflow was not found (CI/CD)error parsing called …Unable to…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.