Fetchinf quality gate by analysis ID is failing


Currently, I’m using github actions for our CI, and we fetch the analysis status by the web api


This was working fine up to two days ago.
Now, everytime we fetch the quuality gate status, we get

{"errors":[{"msg":"Analysis with id 'xxx' is not found"}]}

This is also happening for previous workflows where the status passed and the quality gate was fetched.

I’ve been searching online to try and find a cause of why this would happen out of the blue, but was unable to find anything. We have not made changes to our server lately also.

SonarQube server 8.4.1


Welcome to the community!

First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.4.1 → 8.9.2 → 9.1 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

Once you upgrade, you may find the official action for checking the Quality Gate helpful.