We’ve had SonarCloud working fine for us for at least half a year now. However, for some reason SonarCloud Analysis GitHub Action no longer runs successfully for any of our repos since May 3.
The action to produce coverage report and initiate SonalCloud Run SonarSource/sonarcloud-github-action@master runs fine, but the SonarCloud Analysis GitHub Action gets cancelled. When clicking on “View more details on SonarCloud” I get warning message “Component ’ [Project Key]’ of pull request ‘[PR_ID]’ not found” with info “The requested project does not exist, or you have not been granted access.” even though the project does exist and I am the admin.
Could you please let me know what causes this issue?
And you are authenticated as said admin when you get this message?
I’d be curious to know if the URL you click-out to from GitHub has the same project key as when you manually browse to the project in the SonarCloud UI.
Can you include what’s happening in the scanner logs when you recieve the “component not found” error (the couple of lines before it). Usually, this error comes up at some specific part of the analysis that can be linked to a specific API call we can lookup in the backend (if you prefer not to share the organization / project key publicly, I can open a private message)
In the end it turned out to be an issue with our payment details. It was not communicated in the logs though, so if you have a similar issue then check out the info in “More about the report processing”.
...
INFO: ANALYSIS SUCCESSFUL, you can find the results at: [PR URL]
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at [MORE INFO URL]