youngmon/atlassian-qna huggingface dataset:
Unauthorized fatal: Could not read from remote repository.
Asked by nermelthisiscrowd:

Please make sure you have the correct access rights  
and the repository exists.


Answers:
author: Theodora Boudale
body: Hi [@nermelthisiscrowd](/t5/user/viewprofilepage/user-id/5262440) and welcome to the community!

This error usually shows when using SSH to clone, pull or push to a certain repo and the root cause is not always the same. We would need some additional info to be able to better help you.

Could you please let us know the following:

**1.** What operation gives you this error? Is it a clone, a pull, or a push?

**2.** Have you set up SSH keys for Bitbucket Cloud on this machine?

If so, where have you added the public key?

* In the SSH keys of your account here <https://bitbucket.org/account/settings/ssh-keys/> ?
* In the Access keys of a project or repo?
* Or in the SSH keys of a workspace?

**3.** Can you update or create your SSH configuration file (\~/.ssh/config) with the following content:

```
Host bitbucket.org
? ? AddKeysToAgent yes
? ? IdentityFile ~/.ssh/{ssh-key-name}
```

where **{ssh-key-name}** replace with the name of your private SSH key, whose public key you have uploaded to Bitbucket. Then, try the same operation that was failing and let me know if it works.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Account has been deactivated
Asked by goodvinvan:

Why was the \<email_removed_for_privacy\> account deactivated?

The letter did not arrive in the mail. There were several projects on this account with which several people worked.


Answers:
author: Tom Buntinx
body: Hi [@goodvinvan](/t5/user/viewprofilepage/user-id/5262437)

I am not sure if your question will get resolved through the Atlassian Community.

However I strongly suggest to raise a support ticket with Atlassian: <https://support.atlassian.com/contact/?postauth=true#/>

Please select:

* What can we help you with?
  * *My Account*
* *Select a topic.*
  * *Other*
* *Your **Atlassian URL.***
  * *Leave empty*
* *Give us more details.*
  * *Copy/paste your question in this field.*

Hope this helps!

comments: author: goodvinvan
body: [@Tom Buntinx](/t5/user/viewprofilepage/user-id/4705224)thanks a lot, i did it


Tags: bitbucket-cloud

cloud
PAYLOAD_FILE without MESSAGE does not work for slack_notify pipe
Asked by Steve Annett:

Hi

In the last example of <https://bitbucket.org/atlassian/slack-notify/src/master/> it shows how to use a payload file

```
script:  - envsubst < "payload.json.template" > "payload.json"  - pipe: atlassian/slack-notify:2.0.1    variables:      WEBHOOK_URL: $WEBHOOK_URL      PAYLOAD_FILE: payload.json
```

But when I try it, with slack-notify:2.0.1, I get

```

? Validation errors: 
MESSAGE:
- required field
```


Answers:
author: Oleksandr Kyrdan
body: Hi [@Steve Annett](/t5/user/viewprofilepage/user-id/5074534)

Thank you for your question!

We'll fix it in the future release.

Best regards,  
Oleksandr Kyrdan

comments: author: Steve Annett
body: Thanks!

I can confirm having a blank message works as a workaround for now  

```
script:  - envsubst < "payload.json.template" > "payload.json"  - pipe: atlassian/slack-notify:2.0.1    variables:      WEBHOOK_URL: $WEBHOOK_URL
      MESSAGE: " "      PAYLOAD_FILE: payload.json
```


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

slack
Invalid refresh token
Asked by Muskan Paliwal:

Hi,

I am trying to get access_token using the refresh_token that I have received when a user authorises our Oauth consumer but for every user, I am getting a \`Invalid refresh token\` error and the oauth consumer hasn't been edited.

Plus this is happening even after the user re-authorises the oauth consumer.


Answers:
author: Mark C
body: Hi [@Muskan Paliwal](/t5/user/viewprofilepage/user-id/5262325),

Thank you for reaching out to the community.  

When trying to generate a new access token using a refresh token, would it be possible for you to confirm if you're using the same client and secret keys?

Regards,  
Mark C

comments: author: Muskan Paliwal
body: Hi [@Mark](/t5/user/viewprofilepage/user-id/12033),

Yess, I am using the same client id and client secret. And I am still facing the issue. Any help would be appreciated.


author: Mark C
body: Hi [@Muskan Paliwal](/t5/user/viewprofilepage/user-id/5262325),

Could you check if you can generate an access token using the below CURL commands?  
First, try to generate a new access token:

```
curl -s -X POST -u "CLIENT_ID:SECRET" https://bitbucket.org/site/oauth2/access_token -d grant_type=client_credentials
```

After that, try to use the refresh token to generate a new access token.

```
curl -X POST -u "CLIENT_ID:SECRET" https://bitbucket.org/site/oauth2/access_token -d grant_type=refresh_token -d refresh_token=REFRESH_TOKEN_HERE
```

Let me know how it goes.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Unable to login Bitbucket - We couldn?t log you in
Asked by Mansour Alotaibi:

Hi, {#toc-hId--442121653}
-------------------------

i am getting following error when login to bit bucket account.

"You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again."


Answers:
author: Theodora Boudale
body: Hi [@Mansour Alotaibi](/t5/user/viewprofilepage/user-id/5262099) and welcome to the community!

Your Bitbucket Cloud account was set to inactive which I believe is the reason for the error you were seeing.

I went ahead and reactivated it, could you please try to log in now and let me know how it goes?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
?????????????
Asked by CINC_???:

????????????

07/07 12??????bitbucket???????????????????

atlassian????????????????????????????????????????????

?????atlassian???????????????Google Authenticator?????????????

?????????????????????????

verification app ????? authy.com??????????????????????????????????????????????????????

????????????????????????????????

???????????????????????????????????????

![image (1).png](/t5/image/serverpage/image-id/267312iC25E21598D03B234/image-size/large?v=v2&px=999 "image (1).png")


Answers:
author: Ryoji Takata
body: ?????????????????????

Atlassian??????Bitbucket Cloud ?????????????????????????

?????????????????????????????????????????????????????????

???2?????????"Forgot code?"?????????????????????????????????????

????????????????????????????????????????????????????????

[\[FAQ\] Bitbucket Cloud ??????????????????????????????URL?????????????????????URL?????????????????????](https://community.atlassian.com/t5/Bitbucket-articles/FAQ-Bitbucket-Cloud-%E3%81%AB%E3%81%8A%E3%81%84%E3%81%A6-%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3%E3%81%8C%E5%87%BA%E6%9D%A5%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E3%81%9F%E3%82%81%E3%81%AB/ba-p/2253898#M1923)

????????????????????????????????????????????

<https://support.atlassian.com/contact/>

comments: author: CINC_???
body: ??????????????

?????????????????????

???????????????????


author: CINC_???
body: ???????????????????????

???????????


Tags: bitbucket-cloud

cloud
How to Fetch the commits done by all members in a given month?
Asked by Pritam Agrawal:

I want to create a report wherein I am using atlassian-python-api to fetch the commits done by all team members irrespective of projects/repositories in a given month.

Basically want to extract the report on individual contributions


Answers:
author: Uladzislava Kastsitsyna _Stiltsoft_
body: Hi Pritam,

I am Vlada from the [Awesome Graphs for Bitbucket](https://link.stiltsoft.com/dYcRRO) team. I wanted to share that our app allows you to track global commits for certain team members over time. We offer out-of-the-box reports to see insight on individual contributions, one of them is the [Contributor Calendar](https://link.stiltsoft.com/2bQi12), and provide [a rest api endpoint](https://link.stiltsoft.com/YCfF6l) with the ability to export data on different levels (global, project, repository, user) as well.

Kind regards,  
Uladzislava


author: Mateus T
body: Hi [@Pritam Agrawal](/t5/user/viewprofilepage/user-id/5262305)!

Welcome to the Atlassian Community!

As to the **atlassian-python-api** package for Python, I'm not sure how to create this report as this is a 3rd party tool not developed and supported by Atlassian.

If you would like to create this export on your own, you could use our API endpoint to [list all repositories](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get) and, for each repo, [list its commits](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits#api-repositories-workspace-repo-slug-commits-get). With Python, you should be able to check for the author and the commit date in the payload.

Alternatively, Bitbucket's market place also offers a tool that's integrated into the UI called **awesome graphs**, which also helps you track commits in a given period and their authors:

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits#api-repositories-workspace-repo-slug-commits-get>

Cheers,

Mat

comments: author: Pritam Agrawal
body: Hey Mat

Thanks for the revert.

I have developed the solution using API 1.0 endpoints.

Awesome graph does help for all repo in a single project, but I guess not for all the projects.

Regards,

Pritam


Tags: bitbucket-server

server
How to show 'tag' label for each commit in /commits section
Asked by Ivan Trechekas:

In the section <https://bitbucket.org/xxx/yyy/commits/> I don't see the tags at the end of 'Message' as my colleagues see. (I see tags in the each commit information, but not in the list).  

Do we have a setting for it? Or it's an external plugin?

![Screenshot 2023-07-06 at 2.56.43 PM.png](/t5/image/serverpage/image-id/267249iE54FF6988B4E6BCB/image-size/large?v=v2&px=999 "Screenshot 2023-07-06 at 2.56.43 PM.png")


Answers:
author: Ben
body: Hi Ivan,

There is no setting as such to disable/enable tag view on the commit list, this should be showing - however, if it is a new tag we have observed behaviour where it does not immediately display in this view and requires navigating to/from another project/performing a browser refresh to display it:

* <https://jira.atlassian.com/browse/BCLOUD-16685>

Can you confirm if this is the same behaviour?

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Unable to leave workspace
Asked by manuel149br:

Hi, i have a problem when trying to leave a workspace. When clicking on the "Leave" button I get a "Resource not found" screen and I am not able to leave the workspace.

Can you help me with that?


Answers:
author: Theodora Boudale
body: Hi [@manuel149br](/t5/user/viewprofilepage/user-id/5261781) and welcome to the community!

I synced users for the workspaces you have access to and the issue seems to be fixed now. Could you please check and confirm if the workspace you were trying to leave no longer shows in your workspaces list?

Just a heads up, I moved your post to a new question. It's best to create a new question if you need assistance, as an existing question can become cluttered and difficult to follow if we try to help multiple different users.

Kind regards,  
Theodora

comments: author: manuel149br
body: Thank you. Now the workspace is no longer in my list.

I thought my problem would fit to the other question. Next time I will start a new question.

Kind regards,   
Manuel


author: Theodora Boudale
body: That's good to hear Manuel and you are very welcome.

Please feel free to reach out if you ever need anything else!


Tags: bitbucket-cloud

cloud
Bitbucket Buckler plugin links from documents don't work.
Asked by Pavel K_:

Hello,

I try to install Buckler plugin for elasticseacrh by that instruction

<https://confluence.atlassian.com/bitbucketserver/install-and-configure-a-remote-elasticsearch-server-815577748.html#InstallandconfigurearemoteElasticsearchserver-InstalltheBucklerplugin>

Links on buckler plugin do not work.

May be somebody can provide work links?

Thank you!


Answers:
author: Pavel K_
body: Now work...


Tags: bitbucket-server

server
How to update self-hosted BitBucket Runner in Kubernetes?
Asked by Jan Laskowski:

I have deployed a self-hosted BitBucker Runner in Kubernetes cluster following the template:  
<https://support.atlassian.com/bitbucket-cloud/docs/deploying-the-docker-based-runner-on-kubernetes/>  
But when running BitBucker pipelines I get the following error:

```

The version of this runner is outdated. Upgrade to the latest version
```

<br />

How to update the BitBucker runner when its deployed through the yaml file to Kubernetes?


Answers:
author: Oleksandr Kyrdan
body: Hi [@Jan Laskowski](/t5/user/viewprofilepage/user-id/5261651)

Thank you for your question!

Looks like your image was cached on your local machine.

To update the image just delete your local image and a new version will be uploaded.

Best regards,  
Oleksandr Kyrdan


Tags: bitbucket-cloud

cloud
Bitbucket angular pipeline is getting failed
Asked by bb.admin:

my pipeline is getting failed few hours back it was working fine

I am getting this error :-

./node_modules/@angular/cdk/fesm2020/portal.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):  
TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/cdk/fesm2020/portal.mjs: Cannot read properties of undefined (reading 'file')

./node_modules/@angular/cdk/fesm2020/scrolling.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):  
TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/cdk/fesm2020/scrolling.mjs: Cannot read properties of undefined (reading 'file')

./node_modules/@angular/material/fesm2020/grid-list.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):  
TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/material/fesm2020/grid-list.mjs: Cannot read properties of undefined (reading 'file')

few hours back it was working fine , please help me on this.

![image_2023_07_06T11_55_48_313Z.png](https://community.atlassian.com/t5/image/serverpage/image-id/267132iC8E640F70F03D0FB/image-size/large?v=v2&px=999 "image_2023_07_06T11_55_48_313Z.png")


Answers:
author: krzysiekryba
body: I had the same error and solution in my case was to update ngx-toastr to``:"ngx-toastr": "^16.0.2"```


author: Muhammad Zubair
body: I'm also facing same issue for all my angular builds since yesterday. Builds started failing all at once.  
./node_modules/@angular/material/fesm2015/checkbox.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):  
127
TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/material/fesm2015/checkbox.mjs: Cannot read properties of undefined (reading 'file')  
./node_modules/@angular/common/fesm2015/common.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):  
57
TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/common/fesm2015/common.mjs: Cannot read properties of undefined (reading 'file')

<br />

![Screenshot_12.png](https://community.atlassian.com/t5/image/serverpage/image-id/267339i64589AE2CCEC377F/image-size/large?v=v2&px=999 "Screenshot_12.png")


Tags: bitbucket-cloud

cloud
What is the impact of license expire? Some people can't push code after expire?
Asked by Pavel Vasiliev:

I have server license which will expire in two months. Will I get the same issue? I have 250 users will they still have access to Bitbucket? I supposed the only thing I'll lose is a support. Can you please list all consequences. Thank you


Answers:
author: Aron Gombas _Midori_
body: As you said, you won't be eligible for support. Theoretically, you won't be able to upgrade Bitbucket to newer versions, either, but there won't be newer Server versions, so it doesn't matter.

But, the software will keep working! Your developers will be able to push.

comments: author: Pavel Vasiliev
body: Thank you very much


Tags: bitbucket-server

server
Access Git via SSH
Asked by baguss:

Hello,  
after I deleted bitbucket from known_hosts, the following error appears, I tried many tutorials but it didn't work.

saya juga sudah mencoba

1) To remove duplicates entries:

ssh-keygen -R bitbucket.org \&\& sed -i.old -e '/AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/d' \~/.ssh/known_hosts \&\& curl <https://bitbucket.org/site/ssh> \>\> \~/.ssh/known_hosts

2) To add new entries:

curl <https://bitbucket.org/site/ssh> \>\> \~/.ssh/known_hosts

3) To test if works:

ssh git@bitbucket.org host_key_info

but still can't run

![Screenshot 2023-07-06 143550.png](https://community.atlassian.com/t5/image/serverpage/image-id/267076i0750D324FCA756DE/image-size/large?v=v2&px=999 "Screenshot 2023-07-06 143550.png")  
I hope help to solve the problem, thank you


Answers:
author: Mark C
body: Hi [@baguss](/t5/user/viewprofilepage/user-id/2467514),

Thank you for reaching out to the community.

Based on my understanding, when you run the command below, you're getting the new SSH host keys.

```
ssh git@bitbucket.org host_key_info
```

However, when you try to connect to Bitbucket.org via SSH through your 3rd party application, it still can't connect.

If that's correct, I'm suspecting the 3rd party application is interfering with the process of getting the new Bitbucket.org host keys.  
Having said that, is there a way for you to manually change your 3rd party application's host key for Bitbucket.org?

Regards,  
Mark C

comments: author: baguss
body: oh it turns out, ssh git@bitbucket.org host_key_info creates/populates known_hosts file, but system only reads git_known_hosts file, so I need to make changes manually, and it works for me,  
Thank You


author: Mark C
body: Glad to know it works now [@baguss](/t5/user/viewprofilepage/user-id/2467514)  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Pipelines are failing
Asked by Rohit Jadhav:

We are getting below error while running pipelines.   

Unable to pull image: Head \\"[https://715509311748.dkr.ecr.us-west-2.amazonaws.com/v2/sox/atlassian/pipelines-auth-proxy/manifests/prod-stable\\](https://715509311748.dkr.ecr.us-west-2.amazonaws.com/v2/sox/atlassian/pipelines-auth-proxy/manifests/prod-stable\)": no basic auth credentials  

<br />


Answers:
author: Syahrul
body: Hello,

On July 6, 2023, Atlassian cloud Products experienced intermittent outages and performance regressions caused by an underlying infrastructure change to our internal container registry.

This issue affected Bitbucket pipelines as they depend on images that were inaccessible during the outage and caused some pipeline builds to fail. We suggest you run a new pipeline instead of re-running failed builds to pick up the new changes.

We apologise for this inconvenience and will share more in our post incident review in the original [incident report](https://bitbucket.status.atlassian.com/incidents/vhr4kf5rqz71). Please let us know if you need help or have other questions about this incident.

Regards,  
Syahrul


author: Aron Gombas _Midori_
body: See: <https://bitbucket.status.atlassian.com/incidents/19b4rq4rwfqw>


Tags: bitbucket-cloud

cloud
pipelines failing
Asked by Mindaugas Z:

##### Failed {#toc-hId--1538685199}

Unable to pull image: Head \\"[https://715509311748.dkr.ecr.us-west-2.amazonaws.com/v2/sox/atlassian/pipelines-auth-proxy/manifests/prod-stable\\](https://715509311748.dkr.ecr.us-west-2.amazonaws.com/v2/sox/atlassian/pipelines-auth-proxy/manifests/prod-stable\)": no basic auth credentials

today, after upgrade self hosted runner to latest i am getting this error


Answers:
author: Syahrul
body: Hello,

On July 6, 2023, Atlassian cloud Products experienced intermittent outages and performance regressions caused by an underlying infrastructure change to our internal container registry.

This issue affected Bitbucket pipelines as they depend on images that were inaccessible during the outage and caused some pipeline builds to fail. We suggest you run a new pipeline instead of re-running failed builds to pick up the new changes.

We apologise for this inconvenience and will share more in our post incident review in the original [incident report](https://bitbucket.status.atlassian.com/incidents/vhr4kf5rqz71). Please let us know if you need help or have other questions about this incident.

Regards,  
Syahrul


author: mohammed rawashdeh
body: rpc error: code = Unknown desc = failed to pull and unpack image "docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon:v20.10.24-multiarch-prod-stable": failed to resolve reference "docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-docker-daemon:v20.10.24-multiarch-prod-stable": pulling from host docker-public.packages.atlassian.com failed with status code \[manifests v20.10.24-multiarch-prod-stable\]: 421 Unknown


author: Syahrul
body: Hello,

On July 6, 2023, Atlassian cloud Products experienced intermittent outages and performance regressions caused by an underlying infrastructure change to our internal container registry.

This issue affected Bitbucket pipelines as they depend on images that were inaccessible during the outage and caused some pipeline builds to fail. We suggest you run a new pipeline instead of re-running failed builds to pick up the new changes.

We apologise for this inconvenience and will share more in our post incident review in the original [incident report](https://bitbucket.status.atlassian.com/incidents/vhr4kf5rqz71). Please let us know if you need help or have other questions about this incident.

Regards,  
Syahrul


author: Rikko S_
body: At least there is other casualties. Since status page shows everything is ok I though I was going crazy.

comments: author: Mindaugas Z
body: <https://bitbucket.status.atlassian.com/incidents/19b4rq4rwfqw>


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
pipeline breaking
Asked by Surjit Prafullit:

getting this error while running the pipeline  

rpc error: code = Unknown desc = failed to pull and unpack image "docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-auth-proxy:prod-stable": failed to resolve reference "docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-auth-proxy:prod-stable": pulling from host docker-public.packages.atlassian.com failed with status code \[manifests prod-stable\]: 500 Internal Server Error  


Answers:
author: Syahrul
body: Hello,

On July 6, 2023, Atlassian cloud Products experienced intermittent outages and performance regressions caused by an underlying infrastructure change to our internal container registry.

This issue affected Bitbucket pipelines as they depend on images that were inaccessible during the outage and caused some pipeline builds to fail. We suggest you run a new pipeline instead of re-running failed builds to pick up the new changes.

We apologise for this inconvenience and will share more in our post incident review in the original [incident report](https://bitbucket.status.atlassian.com/incidents/vhr4kf5rqz71). Please let us know if you need help or have other questions about this incident.

Regards,  
Syahrul


author: Aron Gombas _Midori_
body: There was an incident yesterday which should be resolved by now:

<https://bitbucket.status.atlassian.com/incidents/vhr4kf5rqz71>


Tags: bitbucket-cloud

cloud