microsoft / microsoft/indexnow-wordpress-plugin

How to Fix 429 Error with IndexNow API

Open
#57 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
42
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Line 298:

if ( 429 === $response['response']['code'] ) {
	return 'error:UnknownError';
}

should be

if ( 429 === $response['response']['code'] ) {
	return 'error:TooManyRequests';
}

https://rankmath.com/kb/how-to-fix-429-error-with-indexnow-api/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the plugin source around line 298 and compare the 429 response handling with the linked IndexNow guidance. Done means the 429 case returns error:TooManyRequests instead of error:UnknownError.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.