GitLab CI: ERROR: Uploading artifacts as "archive" to coordinator... too large archive id=123 responseStatus=413 Request Entity Too Large
The job produced an artifact bigger than the instance or project's maximum artifact size.
Uploading artifacts as "archive" to coordinator... too large archiveresponseStatus=413 Request Entity Too Large artifactstoo large archiveERROR: Uploading artifacts to coordinator... too large Meaning
GitLab.com limits artifact size per job; self-managed admins configure Maximum artifacts size. Reduce what you upload (only needed paths), compress build output, use expire_in, or publish large files to a package/object registry instead.
Common causes
artifacts:pathsincludesnode_modules,.gitor build caches- Large binaries, videos or datasets as artifacts
- Instance limit set low by the administrator
- Reverse proxy limit (413) in front of a self-managed instance
⚡ Quick fix
- Limit
artifacts:pathsto deliverables only - Use
cache:for dependencies, not artifacts - Ask the admin to raise the limit, or push big files to a registry
Detailed fix by platform
GitLab CI
- Check size locally:
du -sh dist/ node_modules/ - Use
artifacts:expire_in: 1 weekto save storage
Code examples
Narrow artifacts
build:
script: npm run build
artifacts:
paths: [dist/]
exclude: [dist/**/*.map]
expire_in: 1 weekHow to diagnose
- Size — How big is the artifact?
- Paths — What is included?
- Limit — Instance or proxy limit?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- .gitlab-ci.yml invalid GitLab CI: Found errors in your .gitlab-ci.yml: jobs:build config contains unknown keys: scripts
- 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
- Cannot connect to the Docker daemon (GitLab) GitLab CI: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
Most viewed in CI/CD
- The process '/usr/bin/git' failed with exit code 128 GitHub Actions: Error: The process '/usr/bin/git' failed with exit code 128
- This job is stuck because you don't have any active runners GitLab CI: This job is stuck because you don't have any active runners online or available with any of these tags assigned to them
- Resource not accessible by integration GitHub Actions: Error: Resource not accessible by integration (403)
Other ways to find it
Where this error sits
Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):
🧠 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.
Report a correction or suggest an improvement
Last updated 25 Oct 2026