Sitemaps https://www.google.com/webmasters/tools" /> Mobile app version of vmapp.org
Login or Join
Shakeerah822

: Google webmasters v3 API reporting incorrect status for sitemap whereas Search Console correctly shows it as "pending" When I go to the search console site and go to Crawl -> Sitemaps https://www.google.com/webmasters/tools

@Shakeerah822

Posted in: #GoogleApi #GoogleSearchConsole

When I go to the search console site and go to Crawl -> Sitemaps
www.google.com/webmasters/tools/sitemap-list?hl=en&authuser=0&siteUrl=myURL.com

I see the table with 1 entry /sitemap.xml and 45 submitted, no data about indexed and the indexed column says Pending.

However a call against the webmasters v3 api for this sitemap returns 45 submitted, 0 indexed and pending = false.

That last bit is giving me a lot of trouble in our automated error reporting since the sitemap is clearly not done processing (indexed is normally between 43 and 45) but the cron job that looks at the API flags an alert with 0 indexed.

Has anyone encountered this issue and can help out?

EDIT:
I should mention that at some point the search console UI switches from pending to giving the actual number of indexed pages. The problem is the API always returning false for the is_pending property.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Shakeerah822

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme