GET api/system/info response 400 Unknown Reason in SonarQube 8.2

Version: SonarQube

error observed


	<title>400 Unknown Reason</title>

	<h1>Unknown Reason</h1>
	<p>Your browser sent a request that this server could not understand.<br />


steps to reproduce

curl --location --request GET 'https://[sonar-server]/api/system/info' \
--header 'Authorization: Basic [user-token-encodebase64]'


The docs on this should help.


Thanks for your help. I understand that it is not an authentication problem (error 400). In fact, if I do a GET of api/system/status, I get 200 in response.

Finally I was able to solve the problem, it was a duplicate record in the database in the properties table. There were two prop_key with the value ‘sonar.dependencyCheck.xmlReportPath’, deleting one of the occurrences was resolved. I understand that the problem was generated by dependency-check-sonar-plugin, but the sonar api should validate the integrity of the data.