Must-share information (formatted with Markdown):
- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) :- Enterprise Edition v2025.1 (102418)
- how is SonarQube deployed: zip, Docker, Helm:- ZIP
- what are you trying to achieve:- Call API “https://sonarqube.bluebayinvest.com/api/components/show?component={my_projectkey}“
- what have you tried so far to achieve this:
- Created Global Token
- Pass header with Bearer token i n Powershell like “$headers = @{ Authorization = “Basic {MYTOKEN}” }“
We are using LDAP for authetication, And I am part of Administrator group.
It works fine without any erro if I run this “https://sonarqube.bluebayinvest.com/api/components/search_projects?ps=500“
Throws me error of “Insufficient Priviliges“ if I try to call “https://sonarqube.bluebayinvest.com/api/components/show?component={my_projectkey}”
Thanks
Sunil Bindra
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!