Bitbucket Server Configuration Failing

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    9.8 SonarQube Community Edition
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
    Create Bitbucket Server configuration

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi Team,

Trying to Add our Bitbucket Configuration but getting below error back to back. I’ve tried to create HTTP access tokens/ Personal token with both read and write permission (User account was having admin permissions)

I found below commands to check connectivity from Sonar server > BB, Attaching query and output for your reference:

curl -H "Authorization: Bearer "


curl -H “Authorization: Bearer A2edasdkjalk2dA4dakdj21pwdc1412+LaaaffW”

{“errors”:[{“context”:null,“message”:“You are not permitted to access this resource”,“exceptionName”:“com.atlassian.bitbucket.AuthorisationException”

curl -H "Authorization: Bearer "


Can you advise what is missing and what needs to be done?


:warning: Make sure you upgrade to SonarQube v9.9 LTS soon, not only to benefit from our Best LTS Ever™, but because soon we will systematically ask users to upgrade when they ask questions about earlier versions of SonarQube, which are now considered unsupported. :smiley:

Regarding your question, have you talked to your network folks? There may be something “helpful” on the network interfering.