I followed the developer tutorial to set up the Google Indexing API tool in our Blogger workspace. I created a Google Cloud project, generated the Service Account JSON key file, and uploaded it to the tool.
The JSON key loaded properly and shows my Project ID in green. But whenever I paste my blog post URL and click Submit Request, after the 5-second countdown I get this error alert:
Permission denied by Google. 403 Forbidden
My account has enough coins, and the post is live on my blog. What step did I miss during the Google Cloud or Search Console setup? Would appreciate any step-by-step help!
Comments (9)
Getting 'Permission denied by Google (403)' in the Indexing API tool - how do I fix this?
Google’s Indexing API will reject any request with a 403 error unless the service account email has full Owner permissions inside your Search Console property.
Here is how to fix it in 2 minutes:
1. Open your Google Search Console dashboard.
2. Go to Settings at the bottom of the left menu.
3. Click on Users and permissions.
4. Look for your service account email (the one ending in @your-project.iam.gserviceaccount.com).
5. Click the three dots next to its permission status, switch it from Full to Owner, and save.
Once you do that, go back to the workspace Indexing tool and try submitting again. It will go through instantly.
Sometimes people accidentally enable the "Google Search Console API" instead of the "Indexing API". They are two completely different services in Google Cloud.
If your Search Console property was verified as a URL Prefix with https://www.yourdomain.com, but you submit a link without the www (or with http instead of https), Google returns a 403 permission error because it considers it an unverified property.