Getting usability issues in Google Search Console for the responses of API calls

by Gev Balyan   Last Updated April 29, 2019 23:04 PM

Today I found an error that appeared in GSC recently.

The URL of the affected page is not a page actually.

That’s a mysite.com/api/v2/getcurrentuser API call that the JS is requesting to retrieve an active user.

When you go to that URL directly, it says:

{"type":-2,"msg":"You are not logged in"}

Just a blank text on a white screen.

GSC is returning 2 issues for the page:

  1. Viewport not set
  2. Text too small to read

We did not have such an issue a few days ago!

How to fix this? Should we just decline robots?

Gev



Related Questions


Updated June 19, 2017 10:04 AM

Updated September 05, 2018 08:04 AM

Updated September 21, 2018 08:04 AM