Google indexing 404 page

Helo
Google found me over 800 links like this that return to 404.
Cs cart installation is brand new, domain is new, theme is new.
How can I make it not index them?
https://www.exyu-fitness.rs/index.php?dispatch=product_reviews.vote.down&product_review_id=200&return_url=index.php%3Fselected_section%3Ddiscussion%26page%3D1%26rating_value%3D4%26sort_by%3Drating_value%26sort_order%3Ddesc%26dispatch%3Dproducts.view%26product_id%3D2557

Thx

These links have the tag rel="nofollow" added for this link, so Google should not index them.

Thanks for the answer.
However, Google indexes it even though it says that it doesn’t work, and 800 times

Maybe something like this makes sense

In robots.txt
Disallow: /index.php?dispatch=product_reviews.vote.down&product_review_id=

Looking from the Google’s Documentation, their crawlers should not crawl such links:

It’s better to contact their support on this case.

Can i remove that + - rating

Edit, like you see google indexing and that buton when you try to open in new window is 404 page

This page will alway return 404 if you’ll try simply open it, since it only accepts POST requests. And when you simply open this URL in a browser - it sends GET request.

If you would like to hide voting for the reviews, you will need to make an override of the design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/post_votes.tpl template, that should contain nothing but a comment written in the Smarty syntax.

When writing the code, make sure that GSC is also considered, because if the site is not google friendly and there are no organic visits, e-commerce becomes an expensive investment.
This is the huge problem.I have this problem after last huge upgrade