Error during SonarQube Scanner execution: Not authorized

Hi everyone,
I am trying to integrate SonarCloud with CircleCi, but I get an error during the build saying “Not authorized. Please check the properties sonar.login and sonar.password.”

I’ve read the documentation and from my understanding the sonar.password is optional if you provide the sonar.login token (SONAR_TOKEN). I set up the token, added my commands in the config.yml, as well as adding the sonar-project.properties file into Angular root. Has anyone had a similar issue and was able to resolve it?

You might have better luck debugging this over SSH: Debugging with SSH - CircleCI

I would double check that the sonar-project.properties file looks as you expect it to, and if you are using ENV VARS make sure they are set and correct.