Pipeline Schedule API - Play returns 201 but pipeline never gets triggered

Dear Experts,

I am having a pipeline schedule that runs fine. I created a Token (even with Owner access) to trigger the same schedule via API. I am triggering the schedule by calling /play endpoint like:

curl -vv -X POST -H "Authorization: Bearer TOKEN" "https://gitlab.com/api/v4/projects/PROJECT_ID/pipeline_schedules/SCHEDULE_ID/play"

And the API returns a response with {"message":"201 Created"}

But the pipeline never gets triggered somehow, and I don’t see anything in the pipelines page as well. Requesting your help to debug this problem, thanks.

Thanks much!

Hi @cegparamesh

That’s weird! Does the pipeline get stuck? Do you have a runner with the right tags?

If you do, maybe you can post a little bit of your .gitlab-ci.yml? My next guess would be that maybe your rules don’t quite work with schedules.