Sonar Build Failing

Windows 10:
spring boot
Is connected mode used- github

Hi, My sonar builds are failing. It Says : Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project tspark: Could not find a default branch for project with key ‘oneTakeda_gdo-spark-team-****************-Backend’. Make sure project exists.

I checked the key, it is ***********he same. I can also see my project on the sonar.The major Logs of the failed build are as follows:

[INFO] Loaded core extensions: developer-scanner
[INFO] Found an active CI vendor: 'Github Actions'
[INFO] Load project settings for component key: 'oneTakeda_gdo******-Backend'
[INFO] Process project properties
[INFO] Execute project builders
[INFO] Execute project builders (done) | time=2ms
Project key: oneTakeda_gdo-spark-********-Backend
[INFO] Base dir: /home/runner/work/gdo-spark-team-GDO-SPARK-2/gdo-spark-team-GDO-SPARK-2/backend
[INFO] Working dir: /home/runner/work/gdo-spark-team-GDO-SPARK-2/gdo-spark-team-GDO-SPARK-2/backend/target/sonar
[INFO] Load project branches
[INFO] Load project branches (done) | time=358ms
[INFO] Check ALM binding of project 'oneTakeda_gdo-spark-team-GDO-SPARK-2-Backend'
[INFO] Detected project binding: NONEXISTENT
[INFO] Check ALM binding of project 'oneTakeda_gdo-spark-team-GDO-SPARK-2-Backend' (done) | time=384ms
[INFO] Load project pull requests
[INFO] Load project pull requests (done) | time=376ms
[INFO] Load branch configuration
[INFO] Github event: pull_request
[INFO] Auto-configuring pull request 1719
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:20 min

Can you help me with this?

Hey there.

This tells me that possibly the token being used in your GitHub action is expired or invalid. Can you try generating a new one, for a user you’re sure has Execute Analysis permissions in your organization?