Also I have this problem recently.
there was about 2000 error in this type in my search console.
error like this:
https://mydomain.com/wp-json/wpstatistics/v1/hit?_=1547125297
after clicking link, I see this page:
{“code”:”rest_no_route”,”message”:”\u0647\u06cc\u0686 \u0645\u0633\u06cc\u0631 \u062a\u0637\u0628\u06cc\u0642 URL \u0648 \u0631\u0648\u0634 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u067e\u06cc\u062f\u0627 \u0634\u062f”,”data”:{“status”:404}}
I enabled catch and then go my Permalink page and clicked on “save” button.
How fix this error Mr Mostafa Soufi?