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
- The path. Write the project as
my-group/my-project, with no folders of the repository in it. The folder and file go infile. - The user. The user who runs the pipeline must be a member of the project that holds the included files, and must have the permission to run CI/CD jobs there.
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