Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why am I getting a 404 on https://api.bitbucket.org/2.0/repositories/{user}/{repo}/pipelines/ ?

Peter Walsh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2018

I'm trying to use the bitbucket API to grab some information about my repos piplines, and while the other endpoints I've been using work fine the pipelines endpoint returns a 404. I've inspected the bitbucket piplines page network requests and it looks like I'm making the request correctly. I'm having trouble understanding why the request on the bitbucket frontend succeeds while mine 404s.

I've tried using basic auth as well as bearer token auth like the BB frontend uses, same results.

 

1 answer

1 accepted

0 votes
Answer accepted
Peter Walsh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2018

Turns out I was missing the / at the end of the URL. I was calling "https://api.bitbucket.org/2.0/repositories/{user}/{repo}/pipelines", calling "https://api.bitbucket.org/2.0/repositories/{user}/{repo}/pipelines/" instead has resolved the issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events