Product Review app not working in Headless architecture

We are using Product Review app to show ratings and review on a website, which has Headless architecture (React + CMS + Shopify). There is a scipts which was working fine ealier but since past 2-3 months the script has stopped working and its not fetching the Ratings and review on the website. Does any one have idea how to resolve this issue?