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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events