You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][Sonarqube] Missing endpoint /api/users/search in Sonarcloud #8812
Hi @psturc! I'm Dosu and I’m helping the incubator-devlake team.
This looks like a genuine compatibility issue between SonarCloud and SonarQube APIs. The CollectAccounts subtask uses the /api/users/search endpoint for both SonarCloud and SonarQube without differentiation. Based on your error, SonarCloud doesn't expose this endpoint at all (hence the 404), while SonarQube self-hosted does.
This is similar to a recently fixed issue (#8731) where /api/projects/search wasn't available on SonarCloud and had to be replaced with /api/components/search_projects. The same pattern may need to be applied here—either find an alternative SonarCloud endpoint for users or make the CollectAccounts subtask optional/conditional for SonarCloud.
Workaround: If you're using the API/Blueprint mode, you might be able to skip the CollectAccounts subtask in your pipeline configuration. However, this may affect user-related data in your dashboards.
Activity
dosubot commentedon Mar 26, 2026
Hi @psturc! I'm Dosu and I’m helping the incubator-devlake team.
This looks like a genuine compatibility issue between SonarCloud and SonarQube APIs. The
CollectAccountssubtask uses the/api/users/searchendpoint for both SonarCloud and SonarQube without differentiation. Based on your error, SonarCloud doesn't expose this endpoint at all (hence the 404), while SonarQube self-hosted does.This is similar to a recently fixed issue (#8731) where
/api/projects/searchwasn't available on SonarCloud and had to be replaced with/api/components/search_projects. The same pattern may need to be applied here—either find an alternative SonarCloud endpoint for users or make theCollectAccountssubtask optional/conditional for SonarCloud.Workaround: If you're using the API/Blueprint mode, you might be able to skip the
CollectAccountssubtask in your pipeline configuration. However, this may affect user-related data in your dashboards.To reply, just mention @dosu.
Docs are dead. Just use Dosu.