Hi all,
I have my project set up in SonarQube cloud, binded, token generated but status says never used.
At each Github action trigger, analysis takes place on sonarqube cloud but the build failed with these error:
Error: Error retrieving feature flags, using default analyzer behavior
Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR_TOKEN’ environment variable, or contact the project administrator to check the permissions of the user the token belongs to
\[INFO\] Inferred api base url ‘[https://api.sonarcloud.io](https://api.sonarcloud.io/)’ from host url ‘[https://sonarcloud.io](https://sonarcloud.io/)’.
\[INFO\] Check ALM binding of project ‘Feawos_Order-Management-REST-API’
Warning: Failed to check if project ‘Feawos_Order-Management-REST-API’ is bound
\[INFO\] Detected project binding: ERROR
\[INFO\] Check ALM binding of project ‘Feawos_Order-Management-REST-API’ (done) | time=155ms
\[INFO\] Load project pull requests
\[INFO\] Load project pull requests (done) | time=163ms
\[INFO\] Load branch configuration
\[INFO\] Github event: push
\[INFO\] Auto-configuring branch main
\[INFO\] Load branch configuration (done) | time=5ms
\[INFO\] Load quality profiles
\[INFO\] Load quality profiles (done) | time=319ms
\[INFO\] Inferred api base url ‘[https://api.sonarcloud.io](https://api.sonarcloud.io/)’ from host url ‘[https://sonarcloud.io](https://sonarcloud.io/)’.
\[INFO\] Create analysis
\[INFO\] ------------------------------------------------------------------------
\[INFO\] BUILD FAILURE
\[INFO\] ------------------------------------------------------------------------
\[INFO\] Total time: 37.470 s
\[INFO\] Finished at: 2026-04-07T19:51:06Z
\[INFO\] ------------------------------------------------------------------------
Error: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594:sonar (default-cli) on project ordermanagement: Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR_TOKEN’ environment variable, or contact the project administrator to check the permissions of the user the token belongs to → \[Help 1\]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: \[Help 1\] [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException](http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException)
Error: Process completed with exit code 1.
Looking forward to your help.
Thanks.