Getting a 422 when triggering a multi-project pipeline

Hello,

We recently moved to Gitlab.com from a local gitlab instance. We make use of the multi-project pipelines via curl in our scripts. Our scripts also have a include: at the top which grabs the file from a different repo in the same group with the same permissions. When we moved to gitlab.com we can no longer trigger the projects. The projects themselves can run the pipeline successfully, but when the same branch gets triggered by a different project curl returns a 422. I can see the pipeline entry with a invalid yaml, the hover text says the include: project does not exist or does not have permission. I can confirm the project does exist and I have permission to read the repo (as the pipeline will build successfully). I have verified that the project IDs are correct as well. For some reason it seems the runner does not have permission to read that included repo.

cant-trigger1

We are on Gitlab.com 16.1.0-pre using a local runner with version 15.11.0

Do you have an update on that?

Got the same issue here in local gitlab installation, v. 16.8

Our issue was related to the Token Access feature under the Settings > CI/CD > Token Access.

You can disable the toggle to allow all projects to trigger the pipeline, or add individual projects that are allowed to trigger it.