SonarCloud component not found


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?

Kind regards,
Paulius Trumpickas

Hi Paulius,

Welcome to the community!

This sounds like maybe your GitHub PAT expired. Can you check that?


Hi Ann,

Thanks for a quick response! I can confirm that my GitHub PAT was regenerated 4 days ago, however, the issue still persists.


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.

I can open old PRs on SonarCloud and the URL matches (except for the PR number of the new PRs since SonarCloud has not updated itself since May 3)

This issue is present for all our team members regardless of admin status.

Got it.

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)

I would prefer a private message, thanks!

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]
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.