Unable to trigger travis build of another project

I want to trigger travis build of Repo-2 when the PR is merged for Repo-1. I found some solutions in this link, however, I am unable to work achieve this.

I am trying to trigger the travis-ci using travis-api. Trying to run the curl command shows not_found error.

https://api.travis-ci.com/repo/FleetPanda/driver-app-test-suite/requests

{
  "@type": "error",
  "error_type": "not_found",
  "error_message": "resource not found (or insufficient access)"
}
2 Likes

My first guess is that the token you sent was incorrect/insufficient.

I have the same problem, I need to trigger travis build when Repository on Prismic is updated and the user can trigger build with a button on admin site.

I got the token with travis token --com but I can trigger build. Iā€™m trying on postman

Imprint