Google crawls site.com/my-category/0/page/* urls that are not supposed to exist

Google reported a schema error on a page on my website which should not exist:

mysite.com/my-category/0/page/25

my-category does not have 25 pages. It only has 3 pages. I checked the other categories and I can access those pages with /0/ on the URL as well.

my-category pages should only be

mysite.com/my-category/page/2

Only the main archive page, which has all the POST, should have 25 pages.

Is there a setting that I need to update, or a hook that needs filtering to remove those URLs with /0/ on the URL? Those need to be 404.