# Error execution " You're not authorized to analyze this project or the project doesn't exist on Son"

**URL:** <https://community.sonarsource.com/t/error-execution-youre-not-authorized-to-analyze-this-project-or-the-project-doesnt-exist-on-son/128258>\
**Category:** SonarQube Server / Community Build\
**Created:** [October 17, 2024, 8:02am UTC](https://community.sonarsource.com/t/error-execution-youre-not-authorized-to-analyze-this-project-or-the-project-doesnt-exist-on-son/128258 "2024-10-17T08:02:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBL](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/jbl/32/63161_2.png) [@JBL](https://community.sonarsource.com/u/JBL)\
**Post date:** [October 17, 2024, 8:02am UTC](https://community.sonarsource.com/t/error-execution-youre-not-authorized-to-analyze-this-project-or-the-project-doesnt-exist-on-son/128258/1 "2024-10-17T08:02:22Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using

SonarQube 10.7.0.96327, Scanner 6.2.1)

- how is SonarQube deployed: zip

- what are you trying to achieve

```auto
sonar-scanner.bat -Dsonar.projectKey="CToolsSonarqubescannerbinprojectsP1" -Dsonar.sources="." -Dsonar.host.url="http://localhost:9000" -Dsonar.token="sqp_XXXXXXXxx"

```

when finish the scan I have the follow error:

You’re not authorized to analyze this project or the project doesn’t exist on SonarQube and you’re not authorized to create it. Please contact an administrator.

- what have you tried so far to achieve this  
Inside of Sonarqube add full control permisions

**Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!**

---

<div class="post-metadata">

**Author:** ![aravindnss](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/aravindnss/32/69944_2.png) [@aravindnss](https://community.sonarsource.com/u/aravindnss)\
**Post date:** [October 17, 2024, 10:49am UTC](https://community.sonarsource.com/t/error-execution-youre-not-authorized-to-analyze-this-project-or-the-project-doesnt-exist-on-son/128258/2 "2024-10-17T10:49:57Z")

</div>

Hi @JBL,

Assuming the token you are passing is yours and you can access the project through the UI, check for any typos in the projectKey and make sure your user account has the ‘Execute Analysis’ permissions.

If this project doesn’t exist already, you’ll need ‘Create Project’ permission globally. This can be verified at the Administration Tab → Security → Global Permissions → User permission.

Thanks,  
Aravind
