We are facing following issue:
Could not find a default branch for project with key ‘’. Make sure project exists.
We are facing following issue:
Could not find a default branch for project with key ‘’. Make sure project exists.
Hey there.
Is this on a new project? An existing project? Happening all of the time? Some of the time?
More details would be appreciated.
Hi its an existing project. It was working fine few days before but suddenly starts throwing errors.
Sometimes, this error can occur if SONAR_TOKEN
is expired or invalid. What CI are you using to run your analysis (GitHub Actions, Bitbucket Pipelines, Jenkins, etc…)?
Thank you for your reply! We are using Bitbucket Pipelines
Did you find solution? we are facing the same issue on bitbucket pipelines
Hi!, can you post the solution, we are facing the same issue, our project was getting analyzed few days ago and then it stopped and giving the same error as the author, please help
Hi, I’m encountering the same issue. The project was analyzed a few days ago, but then it stopped and showed the same error. Could you please share the solution for this?
As stated by Colin a year ago, one possible solution is to create a new Access token (User → My account → Security) and update the CI-system to use this new token. This solved my problem today