Lesstep
GitLab · CI/CD pipelines · Checked October 28, 2026

GitLab: a pipeline that failed before any job ran

When GitLab cannot create the jobs of a pipeline, it can still save the pipeline as failed, with no jobs, a failure reason and an error message. The pipeline page then shows "Unable to run pipeline" with the message, and the reason is a sentence such as these (GitLab source: app/presenters/ci/pipeline_presenter.rb and app/views/projects/pipelines/show.html.haml, read on October 28, 2026):

The pipeline failed due to the user not being verified.
The pipeline size limit was exceeded.
The pipeline job activity limit was exceeded.
The pipeline failed due to an error on the CI/CD configuration file.

The reasons, and the message behind each

What GitLab does not save

When rules leave out every job, when workflow:rules leave out the pipeline, when the commit was pushed with git push -o ci.no_pipeline, or when Gitaly was briefly unavailable, GitLab counts the failure but saves no pipeline, so these never appear as failed pipelines (pipeline failure reasons). A pipeline started through the API or with Run pipeline gets the message back instead; see why GitLab refused a pipeline.

Where the API keeps the message

query {
  project(fullPath: "group/project") {
    pipeline(iid: "123") {
      status
      failureReason
      errorMessages { nodes { content } }
    }
  }
}

What to do

GitLab pipelines in IntelliJ IDEA

Pipeline Inbox for GitLab CI, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the pipelines of your GitLab projects with their jobs by stage. Under a pipeline that failed before any job ran, it shows the messages GitLab gives (errorMessages), such as "Identity verification is required in order to run CI jobs" or the configuration error, and the reason only when there are none. Before version 1.0.21, on GitLab 17.9 and later it showed only the reason, such as "The pipeline failed due to an error on the CI/CD configuration file." Reading is free; retrying, cancelling and running are Pro (US$1.50 a month, with a 30-day trial).

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 pipeline or job refused (400, 403, 409, 429) · GitLab job dropped as stuck or over its timeout · GitLab job waiting for resource · GitLab "You are not authorized to run this manual job" · GitLab job log refused or empty · GitLab "This job does not have a trace." after 18.0 · GitLab "Insufficient permissions to set pipeline variables" · GitLab 404 "Group Not Found" · GitLab pipeline plugins for IntelliJ IDEA, compared · 日本語