google-indexing-script icon indicating copy to clipboard operation
google-indexing-script copied to clipboard

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

Open kiwirafe opened this issue 1 year ago • 0 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

kiwirafe avatar Jan 27 '24 09:01 kiwirafe