Skip to content

IndexNow 422: Unprocessable Entity

Resolve IndexNow host, keyLocation, and URL-list consistency errors.

Common causes

Mixed hosts
The urlList contains more than one hostname.
Host mismatch
The host field differs from the URL hostname, including www versus apex.
Invalid key location
keyLocation belongs to another hostname or does not correspond to the key.

Diagnosis

Normalize the URL list, group it by exact hostname, and generate one request per group.

Retry policy

Correct the host boundaries before retrying. Splitting by protocol is unnecessary, but splitting by hostname is mandatory.

Common host-boundary mismatches

IndexNow treats each hostname (including subdomains and www) as a separate ownership boundary. Even a single mismatched URL inside a 5,000-URL batch causes the entire request to fail with 422.

Apex vs. www
host: example.com cannot submit https://www.example.com/page — split them into two batches.
Subdomains and staging hosts
Filter out preview, staging, or blog.example.com URLs when submitting for www.example.com.
Subdirectory keyLocation scope
If keyLocation is placed in a subdirectory such as /blog/key.txt, it can only authorize URLs under /blog/.