Project not found error message while Triggering Job API

2.0
#1

I’ve been using the
curl -u ${CIRCLE_API_USER_TOKEN} \ -d build_parameters[CIRCLE_JOB]=deploy_docker \ https://circleci.com/api/v1.1/project/<vcs-type>/<org>/<repo>/tree/<branch>
command from the my terminal. And getting the error message
{
“message” : “Project not found”
}

I’m following the article https://circleci.com/docs/2.0/api-job-trigger/ I created my Circleci API token and I’ve provided the the vcs, org, repo and branch into the API. Also our config.yml is on 2.0.

Unsure how else to approach this issue. Maybe someone can clarify? Let me know if you need more information.

Thanks

#2

Hello, did you fix it? I’m having the same issue when trying to subscribe to a project using the API. :confused: