Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,647
Community Members
 
Community Events
165
Community Groups

Bitbucket API repository not found

Pei Liu I'm New Here Jun 11, 2022

I am using API to download some commits and the ci/cd build information for some projects. However, I always get the response in the Repository not found as the following after some were downloaded successfully.

Repository not found

The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.

Return to the previous page or go back to your dashboard.

How can I resolve this issue?

 

Best

1 answer

0 votes
Patrik S Atlassian Team Jun 14, 2022

Hello @Pei Liu ,

Welcome to Atlassian Community! 

As the error message states, this usually happens when the credentials you are using do not have access to the repository you are trying to access. Could you please confirm that the account you are using for authentication indeed has access to the content you are trying to download? Are you able to access this content through the UI? Also, in case you are using an app password for authentication, you can try creating a new one with the full permissions checked and try again.

If that does not work, could you please share with us the exact full command you are executing that is failing to run? Does it only fail for a specific repository, and is it always the same repository that throws the error? 

Thank you, @Pei Liu .

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,198 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you