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"
}
}
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.