Getting "Error status returned by url"

My team has been using SonarQube Cloud for several years without a problem. Starting last May (2025), our SonarQube analysis started failing with the error “Error status returned by url [https://api.sonarcloud.io/analysis/jres?os=linux&arch=x86_64]: 403”. Our repo is hosted on github.com, at GitHub - ToughTechs151/Reefscape2025 . We are a FIRST Robotics team, using Java 17, Gradle 8.11, with Groovy DSL. We are currently using the 6.0.1.5171 Gradle plugin, but I tried upgrading to 7.0.1.6134 with no improvement, so I reverted it.

Did the required sonar.host.url property change? Or is there something wrong in my configuration?

Hi,

At a guess, a token expired, but could you share your analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann

I solved the problem. The problem is that I had a “sonar.host.url” property which is apparently now out of date. Removing the property and thus using the built in default solved the problem.

1 Like