Sonarcloud pullrequest issue

Hello,
I’m using Github Action integration to “sonar” my application.
This is the action code :

sonarcloud:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
    - name: SonarCloud Scan
      uses: sonarsource/sonarcloud-github-action@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Final Memory: 10M/40M
ERROR: Error during SonarScanner execution
Something went wrong while trying to get the pullrequest with key ‘12088’
ERROR: Caused by: Error 500 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=Lorem_ipsum-app&pullrequestKey=12088 : {“errors”:[{“msg”:“An unexpected error occurred. Please try again later.”}]}

Can you help me to resolve this issue please ?
Thanks

Hello @mlamarque,

Welcome to the community. Can you please provide me privately the complete logs so that I can debug this? I would also like to ask few questions:

  1. Is it failing on all the PRs?
  2. Is it also failing on merges to master/main branch?

Thanks,
Sarath