Rank Math SEO Analyzer Giving 400 API Error

#1051741
  • Resolved Tigeen Computing
    Rank Math free

    Dear Rank Math Support Team,

    I am experiencing an issue with the Rank Math SEO analyzer on my website. When I try to use it, I consistently receive a “400 API error.”

    Interestingly, my other SEO analyzer (AIOSEO) is working correctly and generating reports without any issues, which suggests the problem is specific to Rank Math.

    Could you please assist me in troubleshooting and resolving this 400 API error so I can properly use the Rank Math SEO analyzer?

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with the Rank Math SEO analyzer. The "400 API error" typically indicates that the server is unable to process your API request due to various reasons. Here are some common causes and solutions you can check:

    1. Website Under Maintenance: Ensure that your website is not in maintenance mode. If it is, switch it back to normal mode to access the SEO analyzer.
      Maintenance mode

    2. Check Website Status: Verify that your website is returning a 200 status code. You can check the status of your website here. If it returns an error, you will need to address that issue.
      Check website status with httpstatus tool

    3. API Timeout: If your website takes more than 30 seconds to load, this could result in a timeout error.

    4. API Requests Blocked by Firewall: Sometimes, server security or firewall settings may block our API requests. You may need to whitelist the IP 46.30.211.100 and the user-agent RankMathApi/2.0.2; https://rankmath.com in your firewall settings.

    5. Locally Hosted Website: The SEO Analyzer only works on live sites that return a 200 OK status when crawled from an external site. If your site is hosted locally, the SEO Analyzer will not function properly.
      API Error: The Site-Wide Analysis is unavailable on localhost.

    If you have checked these points and are still experiencing issues, please reply to this ticket with your website URL so we can assist you further. A human agent from our support team will take over and provide more specific help.

    Thank you for raising this concern, and we look forward to helping you resolve it!

    Sources:
    Why Am I Getting "API Error: HTTP 400" Error » Rank Math
    Why Am I Getting "API Error: HTTP 400" Error » Rank Math

    Hello,

    Thank you for contacting Rank Math Support and bringing your concern to our attention. We’re sorry for any inconvenience this issue may have caused you.

    Please get in touch with your host and make sure the IP 46.30.211.100 and the user-agent RankMathApi/2.0.7; 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘Rank Math SEO Analyzer Giving 400 API Error’ is closed to new replies.