Quality Gate step failed during pipeline with error code 403 and exit code 22

this is my pipeline i created for testing

name: Debug Sonar

on:
  push:
    branches:
      - dev2

jobs:
  sonar:
    runs-on: ubuntu-latest
    environment: Development

    steps:
      - name: Checkout Code
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: SonarQube Scan
        uses: sonarsource/sonarqube-scan-action@master
        env:
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
          SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

      - name: SonarQube Quality Gate check
        uses: sonarsource/sonarqube-quality-gate-action@master
        with:
          pollingTimeoutSec: 600
        env:
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
          SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} 
Run $GITHUB_ACTION_PATH/script/check-quality-gate.sh “.scannerwork/report-task.txt“ “600“

$GITHUB_ACTION_PATH/script/check-quality-gate.sh ".scannerwork/report-task.txt" "600"

shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}

env:

  SONAR_TOKEN: \*\*\*

  SONAR_HOST_URL: \*\*\*

curl: (22) The requested URL returned error: 403

**Error:** Process completed with exit code 22.

Hi,

Welcome to the community!

You’ve filed this under SonarQube Server / Community Build. Can you share your SonarQube version? You can find it in the page footer if you’re not sure what it is.

And can you clarify when/where you see an error? A log showing the error would be even better. :slight_smile:

 
Ann