# Sonarcloud said "project not found"

**URL:** <https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884>\
**Category:** SonarQube Cloud\
**Tags:** sonarqube-cloud, scanner\
**Created:** [March 14, 2023, 6:27pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884 "2023-03-14T18:27:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hader](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@Hader](https://community.sonarsource.com/u/Hader)\
**Post date:** [March 14, 2023, 6:27pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/1 "2023-03-14T18:27:02Z")

</div>

Hello everyone.  
I have an error that didn’t happen yesterday. I used Azure DevOps and tasks for SonarCloud. When the pipeline runs the ‘SonarCloudAnalyze’ task, I receive the error message ‘##[error]ERROR: Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR\_TOKEN’ environment variable, or contact the project administrator.’ The project exists, the parameters are correct, the service connection token and PAT are valid. Do you have any ideas?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 14, 2023, 6:48pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/2 "2023-03-14T18:48:02Z")

</div>

Hi,

Welcome to the community!

You say this happened yesterday? If so, you should make sure you’ve set up the `SONAR_TOKEN` envvar.

If this happened today, it’s possibly related to this:

> [@Sonarcloud has java.lang.ClassNotFoundException: java.util.jar.Pack200](https://community.sonarsource.com/t/sonarcloud-has-java-lang-classnotfoundexception-java-util-jar-pack200/85845/15):
>
> Hey everyone. We expect that the issue is mitigated, but you might see some messages like this when the scanner runs: [ERROR] Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR\_TOKEN’ environment variable, or contact the project administrator Analysis should continue after these messages, but depending on your CI environment it still might fail your pipeline based on the presence of these errors. We expect these errors to be absent follow…

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![jthunt](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@jthunt](https://community.sonarsource.com/u/jthunt)\
**Post date:** [March 14, 2023, 7:10pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/4 "2023-03-14T19:10:44Z")

</div>

This started happening to us this morning after 10AM Central Today on all our projects. No code changes, etc to our Azure DevOps pipelines.

---

<div class="post-metadata">

**Author:** ![FreddyGroen](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/freddygroen/32/74427_2.png) [@FreddyGroen](https://community.sonarsource.com/u/FreddyGroen)\
**Post date:** [March 14, 2023, 8:15pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/5 "2023-03-14T20:15:32Z")

</div>

We noticed this also in our azure devops pipeline, just before 15.00 (GMT+1) everything was good, after 15:30 (GMT+1) we also got the same error.  
We didn’t change anything in our pipeline ☹

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [March 14, 2023, 9:02pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/6 "2023-03-14T21:02:06Z")

</div>

Hi @Hader @jthunt @FreddyGroen

I just want to be sure I understand the impact – are you just receiving an error message in our build summary, or is the task failing?

---

<div class="post-metadata">

**Author:** ![jthunt](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@jthunt](https://community.sonarsource.com/u/jthunt)\
**Post date:** [March 14, 2023, 9:15pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/7 "2023-03-14T21:15:55Z")

</div>

Hi Colin.

Task is successful and we are seeing analysis in Sonarcloud. We are just seeing the errors in the build summaries. A big wall of messages.

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/a/6/a66b7bcc0650d4566ce986e12d2fff11ba881e86.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [March 14, 2023, 9:16pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/8 "2023-03-14T21:16:26Z")

</div>

Thanks for letting me know @jthunt.

These should be gone tomorrow, and we apologize for the noise.

They are the result of a mitigation to an incident that was causing analysis to fail completely. To us, this is the better option and has no effect on the quality of your analysis (just the cleanliness of your build summary!)

---

<div class="post-metadata">

**Author:** ![Hader](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@Hader](https://community.sonarsource.com/u/Hader)\
**Post date:** [March 14, 2023, 9:17pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/9 "2023-03-14T21:17:12Z")

</div>

No, the task doesn’t fail, it still shows the error, but when I go to the SoundCloud portal, no information is loaded, and all quality gate validations remain at 0.

---

<div class="post-metadata">

**Author:** ![david.ullrich](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@david.ullrich](https://community.sonarsource.com/u/david.ullrich)\
**Post date:** [March 15, 2023, 7:45am UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/10 "2023-03-15T07:45:50Z")

</div>

We see the same problem with multiple organizations. Thank you for your response.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [March 15, 2023, 8:55am UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/11 "2023-03-15T08:55:03Z")

</div>

Hey @Hader @jthunt @FreddyGroen and @david.ullrich

Check out this post (long story short: you should no longer see these error messages as of this morning)

> [@Sonarcloud has java.lang.ClassNotFoundException: java.util.jar.Pack200](https://community.sonarsource.com/t/sonarcloud-has-java-lang-classnotfoundexception-java-util-jar-pack200/85845/18):
>
> Hey @steinheber (and all) – the 2-hour resolution time was an initial estimation, that was superseded by the mitigation that was discovered (causing the aforementioned error logs, but not failing analysis). We have just deployed a fix (reverting changes made yesterday) which means the error message will no longer appear. The StatusPage should be updated shortly.

---

<div class="post-metadata">

**Author:** ![david.ullrich](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@david.ullrich](https://community.sonarsource.com/u/david.ullrich)\
**Post date:** [March 15, 2023, 9:28am UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/12 "2023-03-15T09:28:53Z")

</div>

No more errors here, thank you.

---

<div class="post-metadata">

**Author:** ![Hader](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@Hader](https://community.sonarsource.com/u/Hader)\
**Post date:** [March 15, 2023, 10:03pm UTC](https://community.sonarsource.com/t/sonarcloud-said-project-not-found/85884/13 "2023-03-15T22:03:55Z")

</div>

Without errors, thank you very much.
