Lesstep
GitLab · CI/CD jobs · artifacts · needs · Checked November 19, 2026

GitLab: a job could not retrieve the needed artifacts

A job fails to start with This job could not start because it could not retrieve the needed artifacts. when GitLab cannot fetch the artifacts the job expects. With the names of the jobs it reads ...artifacts: build, test (GitLab docs: job artifacts troubleshooting, checked November 19, 2026). The job gets missing_dependency_failure as its failure reason.

Three causes

To see the failed job and its log in the IDE: Pipelines and Jobs Inbox for GitLab CI, a plugin for JetBrains IDEs, shows next to a failed job its status, how long it ran and the message GitLab gives for the failure, and opens the job's log in a console viewer at the bottom of the IDE.

For a job with needs:project

rspec:
  needs:
    - project: my-group/my-project
      job: dependency-job
      ref: master
      artifacts: true

For a job with needs:pipeline:job

rspec:
  needs:
    - pipeline: $UPSTREAM_PIPELINE_ID
      job: dependency-job
      artifacts: true

The list of failure reasons a job can have is on job dropped as stuck or over its timeout.

GitLab pipelines in IntelliJ IDEA

Pipelines and Jobs Inbox for GitLab CI, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, shows a failed job with its status, how long it ran and the message GitLab gives for the failure, and opens the job's log in a console viewer at the bottom of the IDE, searchable, following a running job as it writes. You can retry the job from the IDE (Pro). Reading is free; retrying, cancelling and running are Pro (US$1.50 a month, with a 30-day trial).

Get it on JetBrains Marketplace

GITLAB is a trademark of GitLab Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitLab Inc. or JetBrains.

More: GitLab "No files to upload" · GitLab job dropped as stuck or over its timeout · GitLab "Failed to pull image" (job token allowlist) · GitLab pipeline or job refused (400, 403, 409, 429)