Lesstep
GitLab · CI/CD configuration · include · Checked November 19, 2026

GitLab: "Project not found or access denied" for an include

GitLab shows Project <group/project> not found or access denied when configuration added with include refers to a project that cannot be found, or when the user that runs the pipeline cannot access the included projects (GitLab docs: debugging CI/CD pipelines, checked November 19, 2026).

Check these

include:
  - project: my-group/my-project      # no folder here
    ref: main
    file: /templates/build.yml        # folder and file here

To see the error next to the pipeline that failed: Pipelines and Jobs Inbox for GitLab CI, a plugin for JetBrains IDEs, shows under a pipeline that failed before any job ran the messages GitLab gives, such as a configuration error.

If it only fails for some people

Compare who started the failing pipelines. A user who is not a member of the included project gets the error even though the file exists, and the same configuration works for a member. Add the user to the included project, or move the shared file to a project all of them can read.

GitLab pipelines in IntelliJ IDEA

Pipelines and Jobs 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 the configuration error, and it shows YAML errors as GitLab reports them, so you read the error without opening GitLab. After you fix the file, you can run a new pipeline on the branch 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 pipeline failed with no jobs · GitLab "The parsed YAML is too big" · GitLab "config contains unknown keys" · GitLab 404 "Group Not Found" for a group's projects