# Error execute Sonarqube instruction

**URL:** <https://community.sonarsource.com/t/error-execute-sonarqube-instruction/102467>\
**Category:** SonarQube Server / Community Build\
**Tags:** dotnet\
**Created:** [October 12, 2023, 10:04am UTC](https://community.sonarsource.com/t/error-execute-sonarqube-instruction/102467 "2023-10-12T10:04:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giulio1](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@Giulio1](https://community.sonarsource.com/u/Giulio1)\
**Post date:** [October 12, 2023, 10:04am UTC](https://community.sonarsource.com/t/error-execute-sonarqube-instruction/102467/1 "2023-10-12T10:04:24Z")

</div>

Hi everyone,  
I’m using the following version of sonarqube: 10.2.1.78527 While for sonarscanner I’m using the version: 5.14.0.78575-net46

When from the visual studio terminal I run the command:

SonarScanner.MSBuild.exe begin /k:“MF-A2A\_HC\_20231011\_2” /d :sonar.host.url=“[http://localhost:9000](http://localhost:9000)” /d:sonar.token=“sqp\_c94b2bbfac8dcee16ac333c68ef36a9fabb5fdde” I get this error “The token you provided doesn’t have sufficient rights to check license”, the call stack:

12:02:09.612 Creating directory: C:\ TFS\A2A\Development\Dev047\Dev047R1\DistributedServicesApp.sonarqube\conf  
12:02:09.613 Creating directory: C:\TFS\A2A\Development\Dev047\Dev047R1\DistributedServicesApp.sonarqube\out  
12:02:09.634 Downloading from [http://localhost:9000/api/server/version](http://localhost:9000/api/server/version)…  
12:02:09.67 Checking validity of server license  
12:02:09.672 Downloading from [http://localhost:9000/api/editions/is\_valid\_license](http://localhost:9000/api/editions/is_valid_license)…  
12:02:09.68 The token you provided doesn’t have sufficient rights to check license.  
12:02:09.682 Preprocessing failed. Exit code: 1

Thank you

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [October 13, 2023, 3:40pm UTC](https://community.sonarsource.com/t/error-execute-sonarqube-instruction/102467/2 "2023-10-13T15:40:05Z")

</div>

Hi,

Welcome to the community!

First, I hope you’ve already revoked that token you just published to the world.

And regarding that token, it starts with `sqp_`, which indicates it’s a project-specific token. Such tokens only have rights to analyze a specific project, and I suppose it was generated for a different project than the one you’re trying to analyze.

&nbsp;  
HTH,  
Ann
