goenning / google-indexing-script

Script to get your site indexed on Google in less than 48 hours

Home Page:https://seogets.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URLs found but could not be indexed due to Code 403 (Permission Error)

kiwirafe opened this issue ยท comments

Hello:
Can someone help me with the following situation:

I have enabled the two APIs and added the ownership to the service account. The script can successfully crawl my sitemaps and find the correct URLs, but when processing, it encounters the following errors. This is the error I got:

๐Ÿ“„ Processing url: http://(one of my URLs here)
๐Ÿ” This service account doesn't have access to this site.
Response was: 403
{
  "error": {
    "code": 403,
    "message": "Permission denied. Failed to verify the URL ownership.",
    "status": "PERMISSION_DENIED"
  }
}

image

Problem solved. It turns out that it should be https instead of http in the sitemap.

I got the same error, but I fixed the problem by changing the permissions in Google Search Console from FULL to OWNER. I don't know it's the right settings or not?

Yes, that is the correct setting. I believe there are multiple ways that lead to the same Permission Error.