# Please check the properties Sonar.login & Sonar.password

**URL:** <https://community.sonarsource.com/t/please-check-the-properties-sonar-login-sonar-password/17998>\
**Category:** SonarQube Cloud\
**Created:** [December 20, 2019, 9:09am UTC](https://community.sonarsource.com/t/please-check-the-properties-sonar-login-sonar-password/17998 "2019-12-20T09:09:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sudhir](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Sudhir](https://community.sonarsource.com/u/Sudhir)\
**Post date:** [December 20, 2019, 9:09am UTC](https://community.sonarsource.com/t/please-check-the-properties-sonar-login-sonar-password/17998/1 "2019-12-20T09:09:47Z")

</div>

While decorating the bitbucket with Sonarcloud analysis, i’m facing the following error:

`[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project : Not authorized. Please check the properties sonar.login and sonar.password. -> [Help 1]`

**Our Bitbucket-pipeline.yml template:**  
[https://bitbucket.org/sonarsource/sample-maven-project/src/master/bitbucket-pipelines.yml](https://bitbucket.org/sonarsource/sample-maven-project/src/master/bitbucket-pipelines.yml)

**Note** :

1. This error is occurring after the build was successful
2. We have declared Sonar token and its value in the repository level
3. Enabled Bibucket pipipeline in repository level

---

<div class="post-metadata">

**Author:** ![TomVanBraband](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tomvanbraband/32/46480_2.png) [@TomVanBraband](https://community.sonarsource.com/u/TomVanBraband)\
**Post date:** [January 3, 2020, 12:04pm UTC](https://community.sonarsource.com/t/please-check-the-properties-sonar-login-sonar-password/17998/2 "2020-01-03T12:04:01Z")

</div>

Hello @Sudhir,

Did you name the environment variable `SONAR_TOKEN`?  
I just tried the sample project myself and I was not able to reproduce your problem.

Tom

---

<div class="post-metadata">

**Author:** ![fatma\_elbehi](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/fatma_elbehi/32/29359_2.png) [@fatma\_elbehi](https://community.sonarsource.com/u/fatma_elbehi)\
**Post date:** [January 19, 2022, 10:38am UTC](https://community.sonarsource.com/t/please-check-the-properties-sonar-login-sonar-password/17998/3 "2022-01-19T10:38:12Z")

</div>

Hi All,  
I have the same issue now although followed the same steps mentioned .  
Could you please help?  
Best,  
Fatma
