Cannot run pull_request or update (get 404 status)

Issue #14 new
Alec Clews created an issue

I can run bb list not problem. But when i run

bb pull_request feature/alec-change1 develop --debug

I get the following

Request Error 404: not found {"error": {"message": "Resource not found"}}


File "/usr/local/lib/python2.7/site-packages/bitbucket/cli.py", line 493, in run args.func(args) File "/usr/local/lib/python2.7/site-packages/bitbucket/cli.py", line 27, in decorator func(args) File "/usr/local/lib/python2.7/site-packages/bitbucket/cli.py", line 148, in open_pull_command args.title) File "/usr/local/lib/python2.7/site-packages/bitbucket/repositories.py", line 97, in open_pull return _json_or_error(r) File "/usr/local/lib/python2.7/site-packages/bitbucket/repositories.py", line 20, in _json_or_error r.raise_for_status() File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 834, in raise_for_status raise HTTPError(http_error_msg, response=self)


When I run bb update I get even more errors. Am I hitting the wrong API, do have missing dependency, or perhaps something else?

Comments (1)

  1. Howard Mao repo owner

    It seems like the update endpoint is just screwed up. As for pull_request, I think the problem is that your source branch has a slash in it.

  2. Log in to comment