What is with SonarCloud sending out incomplete payloads in its webhook?

It seems like, atleast once a day, sonar sends a payload that does not contain any information regarding the quality gate.

  "serverUrl": "https://sonarcloud.io",
  "taskId": "-redacted-",
  "status": "FAILED",
  "analysedAt": "2021-10-05T22:42:39+0000",
  "revision": "-redacted-",
  "changedAt": "2021-10-05T22:42:39+0000",
  "project": {
    "key": "-redacted-",
    "name": "-redacted-",
    "url": "-redacted-"
  "branch": {
    "name": "22222",
    "type": "PULL_REQUEST",
    "isMain": false,
    "url": "-redacted-"
  "properties": {
    "sonar.analysis.prNumber": "22222"

The qualityGate field is missing here, making the payload inactionable.


Can you check what is the status of the analysis based on the task id in the Background Tasks menu ( https://sonarcloud.io/project/background_tasks?id=<project_key> )? Is the analysis failed or finished successfully?


There are a few failed analysis in there. Which are another point of concern, because Jenkins seems to have completed analyzing them on our end.

Even though the analysis finished successfully on the Jenkins, failure is still possible when processing analysis results. Do you see a reason why it is failed? Can you share the ID of the analysis failed?