Could not find the pullrequest with key #

Template for a good new topic, formatted with Markdown:

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Scanner command used: SonarScanner for MSBuild 9.0.2
  • Languages of the repository: C#

Sinds this morning we get the following error when tunnig the Code Analysis

ERROR: Could not find the pullrequest with key ‘14757’
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=xx&pullrequestKey=14757 : {“errors”:[{“msg”:“Unable to find the pullrequest with key \u002714757\u0027”}]}
ERROR:
ERROR: Error during SonarScanner execution
ERROR: Could not find the pullrequest with key ‘14757’
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=xx&pullrequestKey=14757 : {“errors”:[{“msg”:“Unable to find the pullrequest with key \u002714757\u0027”}]}
ERROR:

The AzDo project is opening when clicking on the link in SonarCloud and other PRs from yesterday are We tried this with serveral PRs.

Regards
Andreas

Hi Andreas,

Welcome to the community!

I believe that 404 is being passed through from Azure DevOps.

Many systems will return a 404 error (i.e. what you’ve asked for doesn’t exist) rather than a 403 error, thus admitting that the resource exists but you just don’t have access to it.

You should double-check the PAT you’ve configured SonarQube Cloud with.

 
HTH,
Ann