Not able to enable AI Codefix in Sonar server - Enterprise Edition v2025

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server) - Enterprise Edition v2025.1 (102418)
  • how is SonarQube deployed: zip
  • what are you trying to achieve: Proxy setting is enabled for https://api.sonarqube.io. Still while trying to enable, we face error

Request URL:
https://sonar.xx.com/api/v2/fix-suggestions/feature-enablements
Request Method:
PATCH
Status Code:
501 Not Implemented
Referrer Policy:
strict-origin-when-cross-origin

Hi,

Welcome to the community!

I’m confused. You’re using a self-hosted SonarQube instance. Where do calls to api.sonarqube.io come in?

 
Ann

Hey there,

At this stage, it looks like you’re only communicating with your SonarQube Server—requests aren’t yet trying to reach api.sonarqube.io.

We’ve occasionally seen situations where PATCH requests are blocked by a Web Application Firewall (WAF) or a reverse proxy. While SonarQube doesn’t frequently use PATCH requests, they’re more commonly found in our v2 Web API, which is used here.

I recommend checking in with your network or IT team to see if anything in your environment might be filtering or blocking these requests.

1 Like