SonarCloud Error on Prepare Analysis on SonarCloud

WARNING: To analyze private projects make sure the scanner user has ‘Browse’ permission.
##[error]14:57:31.182 Failed to request and parse 'https://sonarcloud.io/api/settings/values?component=legacy-service’: Response status code does not indicate success: 403 ().

14:57:31.182 Failed to request and parse 'https://sonarcloud.io/api/settings/values?component=legacy-service’: Response status code does not indicate success: 403 ().

Hey @anielson

May we have a bit more context here ?

Which kind of CI are you using ? How are you passing the token to the scanner ? Have you check that this token has the permission mentionned in that error message ?

Mickaël