Suppress DevOps Platform binding errors

  • which versions are you using: sonarqube:10.4.1-community
  • how is SonarQube deployed: Docker
  • what are you trying to achieve: not receive an error in the network console for no integration
  • what have you tried so far to achieve this: searched through the administration options

Hello,

We do not have any DevOps Platform integration or binds with SonarQube and do not intend to have it for now (analyses are currently strictly push-based from a Jenkins CI pipeline). However, when visiting any project, I am met with a 404 status response in the network console via <domain>/api/alm_settings/get_binding?project=<projectKey>, and a response body of:

{
    "errors": [
        {
            "msg": "Project <projectKey> is not bound to any DevOps Platform"
        }
    ]
}

Can I somehow suppress this error response? There is nothing functionally wrong, and the message itself is also fine as an informative piece, but I would prefer not to have it marked as an error.

Thank you.

1 Like

Hi @sub,

Thank you for this feedback and the details you provided.
We are aware of this 404 returned in this page as it has been developed as such on purpose: the project page uses this 404 response to know there’s no binding on this project.
We don’t intend to change this behavior, though, as it’s an old API that will be replaced in the future.
In order to make better informed decisions going forward, can you let us know why it is important for you that there are no 404s displayed in the networking tab?

Thank you