The last analysis has failed. If it keeps on failing after several attempts, please contact us on Community forum (opens in new tab) and provide the following failing analysis ID: 13fb4bd7-c441-44d5-85cb-18a9111d3c58
@ajay_jose Thank for the post.
I looked in our internal logs and I can see that SonarScanner was failing to get quality profiles during the automatic analysis of your project. The failure was due to 500 responses returned from /api/qualityprofiles/search starting at 2026-08-06T10:49:53.000Z and ending at 2026-08-07T07:41:57.000Z. Since then, /api/qualityprofiles/search has returned 200 responses, so this is most likely a transient issue with the API; you should now be able to scan the project – if not, let me know.
I’ve flagged this post for our engineering team so that they can investigate the 500 responses further.
Quality profile is not loading for any projects in my org account
when opening quality profile it says
An unexpected error occurred. Please try again later.
sonar.projectKey=Sciagen-ai_CMS
sonar.organization=sciagen
and the scanning also is getting error as the below
Run SonarSource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995
Installing Sonar Scanner CLI 8.1.0.6389 for linux-x64...
Downloading from: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-8.1.0.6389-linux-x64.zip
Downloading signature from: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-8.1.0.6389-linux-x64.zip.asc
Importing SonarSource public key from hkps://keyserver.ubuntu.com...
/usr/bin/gpg --homedir /home/runner/work/_temp/gpg-home-1786018179475-2063 --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys 679F1EE92B19609DE816FDE81DB198F93525EC1A
gpg: keybox '/home/runner/work/_temp/gpg-home-1786018179475-2063/pubring.kbx' created
gpg: /home/runner/work/_temp/gpg-home-1786018179475-2063/trustdb.gpg: trustdb created
gpg: key 1DB198F93525EC1A: public key "SonarSource S.A. <infra@sonarsource.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
Successfully imported key from hkps://keyserver.ubuntu.com
✓ SonarSource public key imported successfully
Verifying GPG signature...
/usr/bin/gpg --homedir /home/runner/work/_temp/gpg-home-1786018179475-2063 --batch --verify /home/runner/work/_temp/8138f7c9-a9d8-4f83-9ba3-f7094b8f4a23 /home/runner/work/_temp/ad143743-936f-47f8-83e3-f6dea0794bb0
gpg: Signature made Tue Apr 21 07:20:26 2026 UTC
gpg: using RSA key D1436C0DBACEA48702AF97C363F1DD7753B8B315
gpg: Good signature from "SonarSource S.A. <infra@sonarsource.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 679F 1EE9 2B19 609D E816 FDE8 1DB1 98F9 3525 EC1A
Subkey fingerprint: D143 6C0D BACE A487 02AF 97C3 63F1 DD77 53B8 B315
✓ GPG signature verification passed
/usr/bin/unzip -o -q /home/runner/work/_temp/ad143743-936f-47f8-83e3-f6dea0794bb0
Sonar Scanner CLI cached to: /opt/hostedtoolcache/sonar-scanner-cli/8.1.0.6389/linux-x64
/opt/hostedtoolcache/sonar-scanner-cli/8.1.0.6389/linux-x64/bin/sonar-scanner -Dsonar.projectBaseDir=.
12:09:42.982 INFO Scanner configuration file: /opt/hostedtoolcache/sonar-scanner-cli/8.1.0.6389/linux-x64/conf/sonar-scanner.properties
12:09:42.985 INFO Project root configuration file: /home/runner/work/CMS/CMS/sonar-project.properties
12:09:43.002 INFO SonarScanner CLI 8.1.0.6389
12:09:43.009 INFO Linux 6.17.0-1021-azure amd64
12:09:46.851 INFO Communicating with SonarQube Cloud
12:09:46.852 INFO JRE provisioning: os[linux], arch[x86_64]
12:09:51.458 INFO Starting SonarScanner Engine...
12:09:51.458 INFO Java 21.0.11 Eclipse Adoptium (64-bit)
12:09:55.679 INFO Load global settings
12:09:56.764 INFO Load global settings (done) | time=1076ms
12:09:56.889 INFO Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
12:09:57.354 INFO Loading required plugins
12:09:57.357 INFO Load plugins index
12:09:57.584 INFO Load plugins index (done) | time=228ms
12:09:57.586 INFO Load/download plugins
12:09:58.681 INFO Load/download plugins (done) | time=1095ms
12:09:58.960 INFO Loaded core extensions: sca, a3s, architecture
12:09:59.357 INFO Found an active CI vendor: 'Github Actions'
12:09:59.865 INFO Process project properties
12:09:59.892 INFO Project key: Sciagen-ai_CMS
12:09:59.892 INFO Base dir: /home/runner/work/CMS/CMS
12:09:59.892 INFO Working dir: /home/runner/work/CMS/CMS/.scannerwork
12:09:59.902 INFO Load project settings for component key: 'Sciagen-ai_CMS'
12:10:00.091 INFO Load project settings for component key: 'Sciagen-ai_CMS' (done) | time=188ms
12:10:00.114 INFO Check ALM binding of project 'Sciagen-ai_CMS'
12:10:00.364 INFO Detected project binding: BOUND
12:10:00.365 INFO Check ALM binding of project 'Sciagen-ai_CMS' (done) | time=250ms
12:10:00.374 INFO Load branch configuration
12:10:00.377 INFO Github event: pull_request
12:10:00.395 INFO Auto-configuring pull request 51
12:10:01.340 INFO Load branch configuration (done) | time=968ms
12:10:01.346 INFO Create analysis
12:10:01.794 INFO Pull request 51 for merge into dev from chore/sonarqube-cloud-scan
12:10:01.795 INFO Create analysis (done) | time=446ms
12:10:02.104 INFO Load quality profiles
12:10:03.002 ERROR Error during SonarScanner Engine execution
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@7dc0f706-org.sonar.scanner.report.ReportPublisher': Unsatisfied dependency expressed through constructor parameter 7: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@7dc0f706-org.sonar.scanner.report.MetadataPublisher': Unsatisfied dependency expressed through constructor parameter 3: Error creating bean with name 'QualityProfiles' defined in org.sonar.scanner.repository.QualityProfilesProvider: Failed to instantiate [org.sonar.scanner.rule.QualityProfiles]: Factory method 'provide' threw exception with message: Failed to load the quality profiles of project 'Sciagen-ai_CMS': An unexpected error occurred. Please try again later.
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1382)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1221)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1218)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1184)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
at org.sonar.scanner.bootstrap.SpringScannerContainer.startComponents(SpringScannerContainer.java:442)
at org.sonar.scanner.spring.SpringComponentContainer.execute(SpringComponentContainer.java:185)
at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:149)
at org.sonar.scanner.spring.SpringComponentContainer.startComponents(SpringComponentContainer.java:206)
at org.sonar.scanner.spring.SpringComponentContainer.execute(SpringComponentContainer.java:185)
at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)
at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)
at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@7dc0f706-org.sonar.scanner.report.MetadataPublisher': Unsatisfied dependency expressed through constructor parameter 3: Error creating bean with name 'QualityProfiles' defined in org.sonar.scanner.repository.QualityProfilesProvider: Failed to instantiate [org.sonar.scanner.rule.QualityProfiles]: Factory method 'provide' threw exception with message: Failed to load the quality profiles of project 'Sciagen-ai_CMS': An unexpected error occurred. Please try again later.
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1382)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1221)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:2008)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1971)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1814)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1711)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
... 22 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'QualityProfiles' defined in org.sonar.scanner.repository.QualityProfilesProvider: Failed to instantiate [org.sonar.scanner.rule.QualityProfiles]: Factory method 'provide' threw exception with message: Failed to load the quality profiles of project 'Sciagen-ai_CMS': An unexpected error occurred. Please try again later.
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
... 39 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.scanner.rule.QualityProfiles]: Factory method 'provide' threw exception with message: Failed to load the quality profiles of project 'Sciagen-ai_CMS': An unexpected error occurred. Please try again later.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:183)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:72)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:152)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
... 53 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to load the quality profiles of project 'Sciagen-ai_CMS': An unexpected error occurred. Please try again later.
at org.sonar.scanner.repository.DefaultQualityProfileLoader.handleErrors(DefaultQualityProfileLoader.java:61)
at org.sonar.scanner.repository.DefaultQualityProfileLoader.load(DefaultQualityProfileLoader.java:47)
at org.sonar.scanner.repository.QualityProfilesProvider.provide(QualityProfilesProvider.java:26)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:155)
... 56 common frames omitted
12:10:03.324 INFO EXECUTION FAILURE
12:10:03.325 INFO Total time: 20.347s
Error: Action failed: The process '/opt/hostedtoolcache/sonar-scanner-cli/8.1.0.6389/linux-x64/bin/sonar-scanner' failed with exit code 3
- ALM used: GitHub
- CI system used: GitHub Actions & Automatic Analysis (Autoscan)
- Organization Key:
saltydata-org - Project Key:
saltydata-org-a1 - Failing Analysis ID (Autoscan):
1f584cc0-4152-45ff-aac0-0aebff1ca5db
Issue Description:
We are attempting to onboard our repository (saltydata-org-a1) to SonarQube Cloud, but both Automatic Analysis (Autoscan) and GitHub Actions CI analysis fail consistently.
1. Automatic Analysis (Autoscan) Failure:
When Automatic Analysis is enabled, SonarQube Cloud fails with:
“The last attempt wasn’t successful because this project didn’t meet the compatibility criteria.”
Failing Analysis ID:1f584cc0-4152-45ff-aac0-0aebff1ca5db
2. GitHub Actions Scanner CLI Failure:
When switching to GitHub Actions (SonarSource/sonarqube-scan-action@v6), the scanner crashes with exit code 3 during Quality Profile fetching due to a 500 Internal Server Error response from SonarCloud:
**HTTP Debug Log (-X mode):
**
GET https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=saltydata-org-a1&organization=saltydata-org ← 500 https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=saltydata-org-a1&organization=saltydata-org (555ms)
**Stacktrace:
**
ERROR Error during SonarScanner Engine execution org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘QualityProfiles’ defined in org.sonar.scanner.repository.QualityProfilesProvider: Failed to instantiate [org.sonar.scanner.rule.QualityProfiles]: Failed to load the quality profiles of project ‘saltydata-org-a1’: An unexpected error occurred. Please try again later. Caused by: java.lang.IllegalStateException: Failed to load the quality profiles of project ‘saltydata-org-a1’: An unexpected error occurred. Please try again later. at org.sonar.scanner.repository.DefaultQualityProfileLoader.handleErrors(DefaultQualityProfileLoader.java:61) at org.sonar.scanner.repository.DefaultQualityProfileLoader.load(DefaultQualityProfileLoader.java:47) at org.sonar.scanner.repository.QualityProfilesProvider.provide(QualityProfilesProvider.java:26)
Could you please inspect backend logs for Failing Analysis ID 1f584cc0-4152-45ff-aac0-0aebff1ca5db and verify why Quality Profiles return HTTP 500 for our project?
Thank you!
Environment:
- Azure DevOps Pipelines (Microsoft-hosted Windows agent)
- SonarCloud Azure DevOps extension —
SonarCloudPrepare@3, task version4.2.5 - SonarScanner for .NET
11.2.1(.NET Framework variant, classicsonar-scanner-msbuild) - Server version reported:
8.0.0.101232 scannerMode: dotnet
What happens:
The Prepare step starts normally, downloads the scanner engine successfully, fetches project settings and the language list without issue, and successfully finds the quality profile via:
GET /api/qualityprofiles/search?project=<project>&organization=<org>
Immediately after that succeeds, the process throws an unhandled exception rather than a normal task failure:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 ().
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at SonarScanner.MSBuild.PreProcessor.WebClientDownloader.<TryDownloadIfExists>d__6.MoveNext()
...
at SonarScanner.MSBuild.PreProcessor.WebServer.SonarWebServerBase.<DownloadQualityProfile>d__13.MoveNext()
...
The task then exits with code 3762504530 (unsigned 0xE0434352, the standard Windows code for an unhandled CLR exception), rather than a clean scanner error.
Notable log line before the crash:
Downloading from https://api.sonarcloud.io/analysis/version failed. Http status code is Forbidden.
This 403 on analysis/version appears earlier and the scanner seems to recover from it (falls back to sonarcloud.io/api/server/version), but I’m not sure if it’s related to the later 500.
Questions:
- Has anyone seen
DownloadQualityProfilereturn a 500 right after a successfulqualityprofiles/searchcall? This looks like it’s failing on the next call the scanner makes to fetch the profile’s rules/export. - Is the earlier
403 Forbiddenonanalysis/versionexpected/benign for SonarCloud, or a sign of a token/permission issue that later manifests as the 500? - Any known issues with scanner
11.2.1/ task4.2.5against the current SonarCloud backend (8.0.0.101232)?
Retrying the pipeline run did not resolve it. No recent changes to the project key, organization, or pipeline YAML.
Hi All,
Thanks for your reports. We’re investigating this with high priority. I will post an update with more information soon.
We’ve identified an issue affecting a subset of projects that can cause CI analysis to fail when retrieving the project’s quality profile. The impact is limited: most customers and projects are not affected.
No data has been lost or compromised. Analyses for affected projects will resume successfully once the underlying issue has been resolved.
Our team is actively working on a fix and will share another update as soon as it has been deployed.
Status page: CI Analysis Quality Profile Lookup Issue.
We have completed remediation for the primary issue affecting Quality Profiles. The impacted configuration data has been restored, and affected functionality is operating normally.
We are continuing to investigate a separate, pre-existing source of intermittent errors. This work is not expected to affect the remediation above. We will provide another update as soon as we have more information.
Status page: CI Analysis Quality Profile Lookup Issue.