SonarQube Publish gate failing in Azure DevOps pipeline

Hi,

            Appreciate your support in the below issue regarding SonarQube Publish task in our Azure pipeline.

            I have used some Azure built-in tasks to integrate our SonarQube instance and enable the code analysis inside our pipeline. I have used “SonarQubePrepare@4” and “SonarQubeAnalyze@4” tasks , those went fine and passed but when I try to use the task as  “SonarQubePublish@4” to enable publishing of the SonarQuality gate is usually not passing with the below error.

#[error][SQ] API GET ‘/api/ce/task’ failed, status code was: 404
##[error][SQ] Could not fetch task for ID ‘AXcXIGd0GolG0E5ghxBy’
##[error][SQ] API GET ‘/api/ce/task’ failed, status code was: 404
##[error][SQ] API GET ‘/api/ce/task’ failed, status code was: 404
##[error][SQ] API GET ‘/api/ce/task’ failed, status code was: 404
##[error][SQ] API GET ‘/api/ce/task’ failed, status code was: 400

            Please be noted that I'm using SonarQube version 7.1 community edition.

            Thanks to support how can I resolve this issue. Any proposal will be much appreciated as it’s a great blocker to us since stopping the pipeline based on the SonarQube quality gate result is very important stage in our pipelines.