Hi everyone.
We’ve been using Sonar Cloud these last 4 years to review our Pull Requests.
We have a Devops pipeline, building and reviewing a MVC project.
Everything has been running without issue these last few years. However, last week, when I enabled Al-generated fix suggestions in the Organization settings, all builds have started failing with the error
System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 ().
Have already refreshed the access token multiple times. Enabling that was the only change done.
It breaks in the pipeline running:
- task: SonarCloudPrepare@1
condition: and(succeeded(), variables.useSonarCloud, eq(variables.isMasterOrTargetingMasterBranch, ‘True’))
inputs:
SonarCloud: ‘SonarCube’
organization: ‘_____’
scannerMode: ‘MSBuild’
projectKey: ‘______BE.core’
projectName: ‘BE.core’
extraProperties: |
sonar.exclusions=/Migrations/, /BisnodeClient.cs’
sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)//coverage.opencover.xml
sonar.cs.vstest.reportsPaths=$(Agent.TempDirectory)/*.trx
Disabling the AI tool again and refreshing the token again did not fix the issue.
Any help or tips would be appreciated.
Thank you.