GitHub Actions · infra · fg-0233

upload-artifact v4 fails with 409 Conflict when matrix jobs upload to the same artifact name

If you see Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run, the cause and the fix for GitHub Actions are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow runMatrix jobs that shared one artifact in v3 fail after a Dependabot bumpOnly the first job's upload succeeds
Cause
Artifacts created by upload-artifact v4 are immutable, so two jobs cannot write to the same name. v3 allowed it and merged the files.
Fix
Give each job a unique artifact name and merge them with download-artifact using a pattern.
Apply
- uses: actions/upload-artifact@v4 with: name: results-${{ matrix.os }} path: out/ # later job - uses: actions/download-artifact@v4 with: pattern: results-* merge-multiple: true
Affected
actions/upload-artifact v4 and later
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun