##[error][SQ] API GET '/api/ce/task' failed, status code was: 500

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Version 9.9
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
    I’m using azure pipeline to trigger sonarqube analysis targetting our sonarqube instance, it works well with azure-hosted-agent, I changed the agent pool to azure 1ES agent pool to scale up the agent’s disk size, I encounter this error when publishing report

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

  • what have you tried so far to achieve this
    StackOverflow, sonar community, I found related answer to upgrade sonar version, but I think my version is very new.
    Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!


A 500 is a server error.

What do your server logs say?


Hi @ganncamp , thanks for your response, I found I haven’t enabled IP routes for my vm, after that setting it goes well. This post can be closed.

1 Like