SonarCloud suddenly trigger errors about "Could not find the pullrequest with key

It worked for like 4 months, al of sudden it’s giving this error.

I’ve already checked the service connection on DevOps and it said it’s all good.

ERROR: Could not find the pullrequest with key ‘436’

ERROR: Caused by: Error 404 on : {“errors”:[{“msg”:“Requested resource wasn\u0027t found on Azure DevOps.”,“reason”:“AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE”}]}

Do I need to update the yaml tasks version maybe?

Hey there.

It looks like the token being used to make the connection between SonarCloud and Azure DevOps is (no longer) valid. Take a look at your project-level Administration > Pull Requests or organization-level Administration > Organization settings > Azure DevOps connectivity management and make sure a valid token is set.

Weird, it’s not expired.

I’ll create a new one and test again.