When I try to add project in my Sonar cloud organization manually I receive error: “An unexpected error occurred. Please try again later“
Also, when I try adding a project thru Azure Devops integration with importing a repo I see error message: “Could not provision some of the projects (0/1)”
There are 2 guys with admin permissions and all of them experience the same. What could be the reason?
Thanks. I asked the people who have contact to the sales contacts to contact them.
In the meantime I found that I am able to analyse another project newly, but for this particular one, it still fails. So it seems to be repository- or name- related and not account/organization/user-related.
We tried this: Renamed the github repository, then provisioned a sonar project on the new name (which worked!), renamed the github repository back to the name that originally did not work and updated the key in the sonar project.
I’m glad you worked through this. Still, I think you shouldn’t have had to, so I’m going to leave this in the team’s queue. They may come back with questions for you. Hopefully that will be okay.
@Fabian.Kreutz Can you share how you renamed the GitHub repository to have it correctly imported in SonarQube Cloud? Did you remove the hyphens? Did you do something else?
@dragan Can you share the key/name of one repository that is failing to be imported into SonarQube, please? I’d like to check if there could be anything in these fields that SonarQube doesn’t interpret correctly.
We found out that Sonar does not let us create a project with a project key containing a string that is used for defining permission template. So we now create project manually and then update project key value to align with our naming convention and apply permission template manually (instead of being applied automatically as before). I am attaching a screenshot of our permission template that is matching string ”dol” in project key and applying permissions accordingly.