- ALM used: Azure DevOps
- CI system used: Azure DevOps
- Languages of the repository: Javascript, React
Error when running SonarCloud on Pull Requests. Works fine with main branch. Used to work until last week and stopped with no apparent reason.
Token is active and NOT expired.
We did not change any permissions
##[error]ERROR: Error during SonarScanner execution
ERROR: Error during SonarScanner execution
##[error]ERROR: Could not find the pullrequest with key '323'
ERROR: Could not find the pullrequest with key '323'
##[error]ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=XXX_YYY&pullrequestKey=323 : {"errors":[{"msg":"Unable to find the pullrequest with key \u0027323\u0027"}]}
ERROR:
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=XXX_YYY&pullrequestKey=323 : {"errors":[{"msg":"Unable to find the pullrequest with key \u0027323\u0027"}]}
ERROR:
##[error]ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
##[error]The process 'D:\a\_tasks\SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1\1.43.2\sonar-scanner\bin\sonar-scanner.bat' failed with exit code 1