Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

getting error while cloning repository

Tejas Ambekar
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!
April 8, 2024

while logging in i am getting below error:
"you dont have permission to access URL 'https://api.bitbucket.org/2.0/user'.The request returned with status code 'Unauthorized'"

1 answer

1 vote
Venugopala Naidu April 8, 2024

@Tejas Ambekar 

1. Check User Permissions: Ensure that the user account you're using to log in has the correct permissions configured within Bitbucket. Depending on your organization's settings, you may need specific permissions (e.g., read/write access to repositories, access to the API) to successfully authenticate and access the API.

2. Verify API Key or Access Token: If you're using an API key or access token for authentication, double-check that it's correctly configured and hasn't expired. You may need to regenerate a new API key or token if the current one is invalid.

3. Review OAuth Settings: If you're using OAuth for authentication, ensure that the OAuth consumer (i.e., the application making the API request) is properly configured in Bitbucket with the necessary permissions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events