Hello,
We apologize for the issue you are facing with the 422 error while using Instant Indexing on your headless WordPress setup. The 422 error indicates that the URL you are trying to submit belongs to another site and cannot be processed by the IndexNow API.
Here are a few steps you can take to troubleshoot this issue:
- Check the URL: Ensure that the URL you are trying to submit is correctly formatted and belongs to your site.
- API Key Validation: Make sure that your API key is correctly configured and that it matches the domain of the URL you are submitting.
- Headless Setup Considerations: Since you are using a headless setup, ensure that your WordPress installation is properly configured to handle requests from the IndexNow API.
If you continue to experience issues, please reply to this ticket with more details about your setup or any specific configurations you have in place. A human agent from our support team will be able to assist you further.
Thank you for raising this concern!
Sources:
How to Fix 429 Error with IndexNow API » Rank Math
Hello,
The 422 error indicates the URL belongs to another site and cannot be processed. Please note that when you enable the Instant Indexing feature on Rank Math, it dynamically generates an API Key on your root directly.
Since you’re using a headless CSM, your actual website URL is considered outside the root directory, and that’s why you face a 422 error.
In this case, you can try using a different plugin from Bing and see if that works for you: https://wordpress.org/plugins/indexnow/
Let us know how it goes. Looking forward to helping you.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.