---
title: "Missing job error - gitlab-ci.yml"
date: "2025-05-27T10:06:56+00:00"
summary: "Troubleshoot and fix missing job errors in GitLab CI/CD pipelines. Learn causes and solutions for seamless deployments."
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/code-studio/help/69336-missing-job-error-gitlab-ciyml"
id: "8704706c-23d8-43da-a126-38fbd514a0ae"
---

**Description**

**Build stage**

**Job**

**Error message**

**Category**

**Responsibility**

All

N/A

`Found errors in your .gitlab-ci.yml: '<job2>' job needs '<job1>' job, but '<job1>' is not in any previous stage.`

Application

Customer

**Potential cause**

One job requires another job to complete the stage, but the required dependent job is currently not running. This can occur from a number of situations, such as the job not being defined in the template or mismatching conditions for when jobs are scheduled to run.

**Solution**

The following are the ways to resolve this error:

*   Revert to default Auto DevOps job.
*   Test your `.gitlab-ci.yml` in CI Lint.