Thank you for responding Colin. I noticed that there was no token added before (but it was all working fine until yesterday) and I created a new personal token from Azure devops with full access and added that to project-level Administration > General Settings > Pull Requests. But even after that I am getting this same error as before.
It seems similar to what a lot of users reported last year SonarCloud Pull Request Run not working - #25 by aura