<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>400 Unknown Reason</title>
</head>
<body>
<h1>Unknown Reason</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body>
</html>
steps to reproduce
curl --location --request GET 'https://[sonar-server]/api/system/info' \
--header 'Authorization: Basic [user-token-encodebase64]'
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.