What does it mean "unable to get source run" while connecting to Wercker api?

38 Views Asked by At

While trying to trigger a Wercker CI/CD pipeline via API, I got the following error:

{
  "error": "unable to get source run",
  "message": "unable to get source run",
  "code": 13
}

My command is:

POST https://app.wercker.com/api/v3/runs
1

There are 1 best solutions below

0
On

It turned out I was pointing to a pipeline not connected with the versioning system, one step further down the workflow. Wercker API only allows you to execute "root" pipeline.