Troubleshooting SonarQube API token

Hey @KUSHAL, I took the liberty to split your reply in the other thread into a new post, because it was unrelated to your original question. We prefer to keep topics (meaning, Community posts) focused around a single subject.

That being said, regarding this question: I’m not aware of that specific change between those 2 versions, but in principle, analysis tokens should only be valid for analysis-related endpoints. GET /api/measures/component should not succeed. Could you double-check that you’re using an analysis token for that one? Could you try generating a branch new analysis token and retrying the request, perhaps from your machine instead of the CI?

In any case, you’re running an outdated version of SonarQube Community Build in both servers, so in the event that there was indeed a bug and not simply a misconfiguration, we would only investigate it if you are able to reproduce it on the latest version (26.9). I recommend you update the instance.