Hello,
I’m sorry to hear that you’re experiencing an API Error: HTTP 400 while using the SEO analyzer. This error typically occurs when the server cannot process the request due to a client error.
There are several reasons why you might be seeing this error, such as:
- Website Under Maintenance
- Check Website Status
- API Timeout
- API Requests Blocked by Firewall
- Locally Hosted Website
To resolve this issue, you can follow these steps:
- Ensure your website is not under maintenance.
- Check your website status using a tool like httpstatus.io.
- Address any API timeout issues by optimizing your website’s loading speed.
- Whitelist the IP
193.138.6.5
and the user-agent `RankMathApi/2.0.2; https://rankmath.com/wp-content/uploads/2021/08/Error-message-shown-in-httpstatus.jpg if your API requests are being blocked by a firewall.
- If your website is locally hosted, consider moving it to a live server for the SEO Analyzer to work properly.
If you continue to face issues or have any further questions, please feel free to reach out to our support team directly here. We are here to assist you at any time.
Thank you for bringing this to our attention.
Sources:
Why Am I Getting “API Error: HTTP 400” Error » Rank Math
How to Fix 429 Error with IndexNow API » Rank Math
How to Fix the ‘Blocked Due to Other 4xx Issue’ Error » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Please get in touch with your host and make sure the IP 193.138.6.5
and the user-agent RankMathApi/2.0.2;
https://rankmath.com
are whitelisted on your firewall.
Once done, please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Clear SEO Analysis
and Remove Transients
buttons to flush the SEO Analysis cache.
Please clear your website and any server-level caching on your site before doing the SEO analysis again.
For more details on this issue, please check this URL: https://rankmath.com/kb/api-http-400-error/
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.