Could not find the pullrequest with key 'x'

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Languages of the repository: C#
INFO: Working dir: E:\TFSOnline\_work\1113\.sonarqube\out\.sonar
INFO: Load project branches
INFO: Load project branches (done) | time=31ms
INFO: Check ALM binding of project '********'
INFO: Detected project binding: BOUND
INFO: Check ALM binding of project '********' (done) | time=15ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=16ms
INFO: Load branch configuration
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 4.157s
INFO: Final Memory: 19M/67M
##[error]ERROR: Error during SonarScanner execution
ERROR: Error during SonarScanner execution
INFO: ------------------------------------------------------------------------
##[error]ERROR: Could not find the pullrequest with key '4728'
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=********&pullrequestKey=4728 : {"errors":[{"msg":"Requested resource wasn\u0027t found on Azure DevOps.","reason":"AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE"}]}
ERROR:
ERROR: Could not find the pullrequest with key '4728'
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=********&pullrequestKey=4728 : {"errors":[{"msg":"Requested resource wasn\u0027t found on Azure DevOps.","reason":"AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE"}]}
ERROR: 
##[error]The SonarScanner did not complete successfully
The SonarScanner did not complete successfully
##[error]08:21:36.053  Post-processing failed. Exit code: 1
08:21:36.053  Post-processing failed. Exit code: 1
##[error]The process 'E:\TFSOnline\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.26.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1

Hey there.

I’ll send you a private message.