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.
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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.