Not a valid project key issue with Sonarqube server

Hello, I am facing below issue.

ERROR: Error during SonarScanner execution
ERROR: Validation of project failed:
  o "portal_bazel_above_400:platform-service/service" is not a valid project key. Allowed characters are alphanumeric, '-', '_', '.' and ':', with at least one non-digit.

My project key is: portal_bazel_above_400

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Developer Edition Version 9.5 (build 56709)
  • what are you trying to achieve
Trying to generate sonar coverage in sonar server using Bazel.
  • what have you tried so far to achieve this
Tried creating new project and its project key but nothing is working.

Hey there.

You cannot use forward slashes in a project key, a requirement you can’t meet by using a project key like portal_bazel_above_400:platform-service/service.

Where are you configuring your project key for the analysis?