Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Have a python script to upload URLS to Google for indexing. Will not authenticate.

The code functions but throws errors.

Submitted https://euroallparts.com/1-dh-10-bmw-64119221852-oem-used-climate-controls-dash-vdo-a2c53399847-6411...: 403, {
"error": {
"code": 403,
"message": "Permission denied. Failed to verify the URL ownership.",
"status": "PERMISSION_DENIED"

I am the registered owner on Google Console and verified by Go Daddy. 

I cannot add secondary verification method because i cannot sign up for an admin password.

It appears the Google just does not want anyone doing this.

0 1 121
1 REPLY 1

Hi @Euroallparts,

Welcome to Google Cloud Community!

It seems that the ownership verification process for the URL may not have been completed. 

You may check this document which listed the codes and messages that Google APIs return:

Screenshot 2025-02-05 9.10.40 PM.png

Here are the prerequisites before you can start using the Indexing API:

  1. Create a project for your client
  2. Create a service account
  3. Add your service account as a site owner
  4. Get an access token

Note that: If you receive a 200 status,  auth is complete!  If you receive a 403 status response, revisit the pre-req's to make sure you've completed all the requirements.

Other necessary conversations that might help you with your concern:

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Top Labels in this Space