The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Cannot View Repositories via API

David_Schirduan
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!
May 14, 2018

I have enable OAuth Authorization Code Grant using the REST API.

Authentication appears to be successful, but when I call for a list of repositories, I get a list of the publicly available repositories.

When I try to access the repositories from my team specifically, I get an empty list:

https://api.bitbucket.org/2.0/repositories/myteamname

{"pagelen": 10, "values": [], "page": 1, "size": 0}

I've given my API consumer full access, and my account has read/write access to these repositories. 

Is there another setting that I'm missing? Maybe a checkbox somewhere to "allow API access" or something?

A little confused. Thanks for any help you can provide!

    - David

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
David_Schirduan
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!
May 14, 2018

I found my problem. I needed the owner of the repositories to create the consumer. 

Lucas Hornung
Contributor
October 29, 2019

How exactly did that work, if I may ask?

Like Espablo likes this
TAGS
AUG Leaders

Atlassian Community Events