Authorized token still getting “You’re not authorized to analyze this project” from SonarQube

Hi everyone, I’m running a Maven-based analysis from a self-hosted Bitbucket Pipelines runner (Windows) to our SonarQube 9.9 LTS server. The step passes sonar.host.url, sonar.token and the correct project key, but the scanner always fails with: “You’re not authorized to analyze this project or the project doesn’t exist on SonarQube and you’re not authorized to create it.” The project already exists, the token is valid (/api/authentication/validate returns true) and my user has full permissions.Any hints are welcome—thanks!

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

9.9 → 2025.1.3-> 2025.3.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
Ann