I am trying API v1.1 as I want to use the project token instead of the personal token as project token is still not supported in v2.
curl --request POST \
--url https://circleci.com/api/v1.1/project/github/xxx/yyy/tree/feature-dms \
--header 'Circle-Token: CCIPRJ_xxxx' \
--header 'content-type: application/json' \
--data '{"build_parameters":{"USE_RUNNER_AGENT": true, "TAGS": "'tf_init,eks_application'"},"branch": "dev"}' \
--ssl-no-revoke -k
For this, I am getting the error:
"message" : "Error calling workflow: 'build' Cannot find a definition for job named build"
I don’t have any workflow or job with the name build
. What is going on here?