Google Indexing API Errors and Quotas: Every Fix
The Indexing API answers every request with either a record or a reason. The record is small: the URL, the notification type, the time. The reasons are a closed set, documented by Google, and each one has a fix that takes minutes once you can name it. This guide walks the whole set with the same worked example domain as the rest of this blog, example.com: what a success response actually contains, the three quotas that govern how much you can send, the exact error message for every failure you will realistically meet, and the fix for each. There is also an error decoder you can click through instead of reading the tables.
Key takeaways#
- The API has three quotas per project: 200 publish requests a day, 180 metadata reads a minute, and 380 requests a minute overall. The daily quota counts URL_UPDATED and URL_DELETED together and resets at midnight Pacific Time.
- A 403 that says "Failed to verify the URL ownership" means the service account is not an owner of the Search Console property, or the URL you sent is not inside that property. The fix is one settings screen, not code.
- A 429 that says "Insufficient tokens" is a quota wall, not a permissions problem. The official routes are waiting for the reset or requesting more quota through Google's form.
- The 400 family is malformed requests: a missing url, a url that is not in standard format, or a type that is not URL_UPDATED or URL_DELETED.
- A 200 response means Google accepted the notification. It is not a promise of indexing, and knowing the difference is where the real work starts.
How the API answers#
Every call goes to the same endpoint, a POST to https://indexing.googleapis.com/v3/urlNotifications:publish, with a JSON body naming one URL and one type:
{
"url": "https://example.com/jobs/technical-writer",
"type": "URL_UPDATED"
}A success is an HTTP 200 with a small record echoing what Google stored:
{
"urlNotificationMetadata": {
"url": "https://example.com/jobs/technical-writer",
"lastNotify": {
"url": "https://example.com/jobs/technical-writer",
"type": "URL_UPDATED",
"notifyTime": "2026-09-20T09:41:12.345Z"
}
}
}Everything else is an error envelope: a status code, a reason, and a message written for the specific failure.
{
"error": {
"code": 403,
"message": "Permission denied. Failed to verify the URL ownership.",
"status": "PERMISSION_DENIED"
}
}Read the code first, then the message. The code narrows it to one family, and the message inside the envelope is Google's own wording for the exact cause, which is what the tables in this guide key on. The status string, PERMISSION_DENIED, RESOURCE_EXHAUSTED and the rest, is the machine readable name of the same thing.
The three quotas#
Quota errors are the most predictable failures in the whole API, because the limits are published numbers that apply before anything about your site matters.
| Quota | Default | Scope | Resets |
|---|---|---|---|
| Publish requests | 200 per day | Per project, URL_UPDATED and URL_DELETED together | Midnight Pacific Time |
| Metadata reads | 180 per minute | Per project, the getMetadata endpoint | Rolling |
| All requests | 380 per minute | Per project, every endpoint | Rolling |
Three details in that table decide most quota behavior in practice. The daily quota counts both notification types together, so a URL_DELETED costs exactly what a URL_UPDATED costs. The daily quota resets at midnight Pacific Time, not your local midnight, so the wait until fresh quota depends on your timezone relative to the US west coast. And a new quota, including one granted through the increase process, can take up to 24 hours to become effective, so a granted increase that looks like it did nothing is usually just early.
Batches change the connection count, not the quota. You can combine up to 100 publish calls into one multipart HTTP request, and quota is counted at the URL level: a batch of 100 notifications spends 100 of your 200 daily requests, in one connection instead of a hundred. The batch limit is a request size limit, not a quota multiplier.
Beyond the defaults, the official route is the quota request form linked from Google's Indexing API documentation. It asks for your Google Cloud project details, and the quota may increase or decrease based on how Google assesses the pages being submitted. The API's use policy is also explicit about the boundary you should not cross: do not circumvent the submission limits, for example by spreading notifications across multiple accounts.

FORBIDDEN 403: URL ownership#
The single most common Indexing API error, and the one with the most misleading name. The full message is "Permission denied. Failed to verify the URL ownership.", and Google's own description is blunt: the user did not complete the Ownership Verification process, or is trying to update a URL that they do not own.
What it almost always means in practice is one of these three, all fixable in minutes:
- The service account whose key you are calling with has not been added as an owner of the Search Console property. The owner list is in Search Console under Settings, Users and permissions, and the service account's email, the one ending in
iam.gserviceaccount.com, has to be added as an Owner, not a Full user. The APIs require owner level. - The URL you sent does not sit inside the property the service account owns. A Domain property
example.comcovers every URL on the domain including subdomains, but a URL prefix property likehttps://example.com/does not coverhttps://www.example.com/orhttps://blog.example.com/. Sending a www URL against a non-www property returns this exact 403. - The property was verified through a method that has since expired. Verification is a token Google re-checks on its own schedule, and when the token disappears the API permissions go with it.
The fix sequence: confirm the property type matches the URL exactly, then confirm the service account email is an owner on that property, then wait a few minutes for the permission to propagate before retrying. Ownership changes are not always instant, so one retry after a short wait is part of the fix, not a failure of it.
The worked example, domain example.com verified as a Domain property, service account indexer@example-project.iam.gserviceaccount.com:
| Call | Answer |
|---|---|
https://example.com/jobs/42 with type URL_UPDATED | 200, accepted |
https://www.example.com/jobs/42 on the same Domain property | 200, the Domain property covers subdomains |
https://other-domain.com/page with the same key | 403, the URL is outside the property |
That third row is the one that surprises people who run multiple sites through one service account: the key is not a general purpose pass, it is scoped to the properties where that account is an owner. Add the account as an owner of the second property and the same call succeeds.
FORBIDDEN 403: the API is not enabled#
A second 403 with a different message: "Indexing API has not been used in project 123456 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/indexing.googleapis.com/overview then retry."
This one is a project level switch, not an ownership problem. The Indexing API has to be enabled in the Google Cloud Console of the project that owns the service account key, under APIs and Services, Library. It costs nothing, needs no billing account, and the error message itself contains the exact link for your project number. If the call works from a colleague's machine but not from yours with the same key, check that you are both calling with credentials from a project where the API is enabled.
The failure sequence that leads here is predictable: create the service account, download the key, skip the enable step because the quickstart mentioned it three screens earlier, and every call returns this 403. The fix is one console screen, and after enabling, the first call usually succeeds immediately.
Too many requests 429: the quota wall#
The message is "Insufficient tokens for quota 'indexing.googleapis.com/default_requests'", and Google's one line description is that the user is exceeding their Indexing API quota. Which quota depends on the pattern of your calls:
| Pattern | Wall you hit | What fixes it |
|---|---|---|
| Calls worked all day, then every call fails | The 200 per day publish quota | Wait for midnight Pacific, or request more quota |
| A burst of calls fails but a single call seconds later succeeds | The 380 per minute overall limit | Space the calls out, throttle the sender |
| Metadata status checks fail in a loop | The 180 per minute metadata limit | Batch less aggressively, cache the last status |
The daily wall is the one that matters for indexing work, because it is not a bug in your code: it is the plan you are on. The 200 notifications a day default is per project, and if your queue is longer than your quota, the honest options are spreading the rest across days in priority order, or the official quota increase form. What the use policy rules out is manufacturing quota by splitting the same site's notifications across multiple accounts.
A retry discipline belongs here: treat 429 as a backoff signal, not an error to hammer. The per-minute walls clear themselves within the minute, and the daily wall clears at midnight Pacific. Retrying a 429 immediately cannot succeed, it can only spend the request budget you are already over.
Bad request 400: the request shape#
The 400 family is the API telling you the request itself is malformed, before any question of ownership or quota. Google documents four core messages:
| Message | What it means |
|---|---|
| Missing attribute. 'url' attribute is required. | The body has no url field at all |
| Invalid attribute. 'url' is not in standard URL format | The url value does not parse as a URL, like a bare string or a relative path |
| Unknown type. 'type' attribute is required and must be 'URL_REMOVED' or 'URL_UPDATED'. | The notification type is missing |
| Invalid value at 'url_notification.type' (TYPE_ENUM) | The type is present but is not one of the two valid values |
One wording note on the type errors: the error message text above is Google's documented wording, and the current API reference accepts URL_UPDATED and URL_DELETED as the two types. If you send anything else, a typo like URL_UPDATE, or a stale constant from an old integration, you get the enum error, and the fix is one string in your request body.
The bare-string failure is worth a paragraph because it is the one that ships. Building the URL from a CMS field that is sometimes empty or sometimes a relative path produces exactly this 400, but only on the rows where the field was malformed, which makes it look intermittent. Validate that every URL is absolute, starts with the scheme you intend, and is the exact URL that serves the content, before the request is built.
Unauthenticated 401: the key itself#
When the key or token is wrong, the API refuses the call before any other logic. Typical causes: the service account key JSON was regenerated and the old one you are using was revoked, the OAuth token was minted from a different service account than the one that owns the property, or the key file was truncated or mangled when it was copied into configuration.
The 401 has one useful property: it never means anything about your site, your URLs or your quota. It means the credential did not authenticate, so the fix is always on the credential side. Regenerate the key from the Google Cloud Console, confirm the file is the complete JSON, confirm the account in it matches the account that is an owner on the property, and call again.
The error decoder#
Error decoder
Decode the response you got
Pick the answer the API gave you. The card shows what it means and the fix, with Google's exact message wording.
Pick a response above to decode it.
Reading your quota before you hit it#
The numbers above are defaults, but the authoritative values for your project are in the Google Cloud Console, under IAM and Admin, Quotas, filtered to the Indexing API. The console shows three things worth checking when planning a day of submissions: the current limit, which may differ from the default if you have been granted more, the usage graph for today, so you know how much of the 200 is already spent, and the reset timing, which follows Pacific Time regardless of the console's display timezone.
The metadata endpoint doubles as a free status check. A GET to https://indexing.googleapis.com/v3/urlNotifications/metadata?url=https://example.com/jobs/42 returns the last notification Google recorded for that URL, with its type and time. When you are unsure whether a retry actually reached Google, the metadata endpoint answers from the record instead of the guess, at 180 reads a minute.
When the API is not the problem#
Every error above is a failed request. The other failure mode is silent: the request succeeds, the 200 comes back, the URL is in Google's notification record, and the page is still not in the index. That is not an API error. A notification asks Google to look; crawling and quality systems decide what enters the index.
The verdict for each URL lives in Search Console, readable by hand one URL at a time or through the URL Inspection API, which is the read side counterpart to the submission API this guide covers. If requests succeed but pages stay unindexed, the next diagnostic step is reading the coverage state: discovered, crawled but not indexed, blocked, or excluded with a reason, because each of those points at a different fix and none of them is fixed by sending more notifications.
FAQ#
What does 403 Failed to verify the URL ownership mean?#
It means the credential you called with is not an owner of a verified Search Console property that contains the URL you sent. Fix it by adding the service account's email as an Owner on the property's Users and permissions screen, confirming the URL matches the property's scope, and retrying after a few minutes.
How do I fix Indexing API quota exceeded?#
A 429 with "Insufficient tokens" means you hit a published limit: 200 publish requests per day per project, 380 requests per minute, or 180 metadata reads per minute. The daily quota resets at midnight Pacific Time. The official route to more quota is the quota request form in the Indexing API documentation.
Does the Indexing API guarantee indexing?#
No. A 200 response means the notification was accepted and recorded. Indexing itself is decided by Google's crawling and quality systems, and the outcome is readable as a coverage state in Search Console. No submission, manual or automated, can guarantee a page enters the index.
Why did my 200 response not index the page?#
Because acceptance and indexing are different systems. The notification tells Google the URL changed; what happens next depends on crawling, content quality, canonical selection and the site's crawl budget. Read the URL's verdict in Search Console before resubmitting, because the verdict names the actual blocker, and some verdicts, like a noindex or a canonical elsewhere, will not change no matter how many notifications you send.
Sources#
- Requesting Approval and Quota, Google Search Central
- List of Indexing API Errors, Google Search Central
- How to Use the Indexing API, Google Search Central
Further reading#
- Google Indexing API Setup: From Cloud Console to First Submission
- The Indexer documentation: the same setup, click by click
- IndexNow Explained: the Protocol, Key and Engines
- Search Console URL Inspection API: Fields, States, Quota
- Search Console Verification: Every Method Compared
- Sitemap XML Explained: Format, Limits and Lastmod
- Why Is My Website Not on Google? 9 Reasons and the Fix for Each
- How to Index Your Website on Google
- 404s in Your Sitemap: The Silent Indexing Killer
- AI Overviews and Your Traffic: How to Adapt
- Alternate Page with Proper Canonical: Should You Fix It?
- Answer Engine Optimization (AEO) vs. GEO vs. SEO
- Backlink Indexers Explained: How They Work and When to Use Them
- BYOK Explained: Why Bring-Your-Own-Key SaaS Is Taking Over