SonarLint error when updating local storage

Please provide

  • Operating system: Windows 10
  • SonarLint plugin version:7.0.05289 Intelij 2021.3.3
  • Programming language you’re coding in: Java
  • Is connected mode used:
    • Connected to SonarQube 9.6 Developer Edition

And a thorough description of the problem / question:

When I try to update the local storage I get the error ‘Insufficient privileges’
IN the logs I see:
GET 403 https://vm-rnd-sonarqube.alpega.pw/api/components/tree.protobuf?qualifiers=FIL,UTS&component=xxxxx&ps=500&p=1
GET 403 https://vm-rnd-sonarqube.alpega.pw/api/issues/pull?projectKey=xxxx&branchName=DEVELOPMENT&languages=web,java,js,kotlin,php,py,ruby,scala,secrets,swift,ts,xml

We are having a license to Sonarqube Developer edition and I used a generated token to access the URL.
I tried with a generated token from Admin user or a generated token from my user (which is an admin as well). The same results.

All the other calls are ok. Ex:
GET 200 https://vm-rnd-sonarqube.alpega.pw/api/project_branches/list.protobuf?project=xxxx

Can you tell me where the problem is?
Do you need more concrete information about our subscription and projects?
Thanks

Hello @Cristian,

What kind of token do you create in SQ ? For SonarLint to work you need a token of “User token” type.

If it’s already the case, maybe you need to have a look at Global and Project permissions for your users. More details in Security | SonarQube Docs. An important permission to grant for those endpoints is the ‘Browse’ permission.

Let me know if this helped