Unable to trigger Drone build via API or UI (via New Build button)

SCM: BitBucket cloud

I have a repo that I’m unable to trigger builds for via the API or UI. In both cases I get the following response: {“message”:“Resource not found”}

Example:

➜  ~ curl -X POST "https://drone.<domain>.net/api/repos/<owner>/<repo>/builds" \
  -H "Authorization: Bearer <redacted>"
{"message":"Resource not found"}

I am able to otherwise have builds execute on git actions, and restart builds via the API. I have a pipeline that triggers off a “custom” event, so that shouldn’t be the issue.

Do I need to toggle a certain permission on the Drone oauth consumer defined in BitBucket? Some other configuration in the “custom” pipeline that I need to set?

Any help is appreciated!

I believe this was a confirmed issue specific to Bitbucket that has since been fixed. Have you tried upgrading to the latest stable release, 2.4.0, to ensure you are up to date with all improvements and bug fixes?

I’ll try the upgrade and report back.

Bingo, that did the trick – thanks Brad!