Want to sonar cloud scan in multiple branches

Error: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project *****: Could not find a default branch to fall back on. → [Help 1]

Hey there.

Does the project already exist on SonarCloud?

yes , it is already exist in sonar cloud, but i have 2 branches and i am getting this error for 2nd branch (not default branch)