api 400 error

#815273
  • Websites using Rankmath are starting to return an api 400 error when trying to use the site analyser tool. I have now had it on an old site and also one I am currently setting up. I have done EVERY trouble shooting tick going with RM, my host, plugins etc etc.
    Can you let me know what is happening please as this isn’t great and is costing a lot of time.
    As I have said, I have tried everything and it seems a lot of people are seeing the same issue.
    Please sort it out before we find another plugin.

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

    I apologize for the inconvenience you are facing with the API 400 error while using the Rank Math site analyzer tool. This error typically occurs when the server is unable to process the API request for some reason.

    Here are some common reasons for the API 400 error:

    1. Website Under Maintenance: If your website is under maintenance, it cannot be accessed, resulting in this error.
    2. Check Website Status: Ensure your website returns a 200 status code. You can check your website status here.
    3. API Timeout: If your website takes more than 30 seconds to load, an API error can occur due to a timeout.
    4. API Requests Blocked by Firewall: The server security or firewall may be blocking Rank Math’s API requests.
    5. Locally Hosted Website: The SEO Analyzer module of Rank Math requires a live site with a 200 OK status; it won’t work on locally hosted sites.

    If you have already tried troubleshooting with your host and plugins, please ensure that your website is not under maintenance, check the website status, and verify if the API requests are not blocked by the firewall.

    If the issue persists, please reach out to our support team directly here for further assistance. We are here to help you resolve this issue promptly.

    Thank you for bringing this to our attention, and we appreciate your patience as we work to address this matter.

    Kind regards.

    Sources:
    Why Am I Getting "API Error: HTTP 400" Error » Rank Math
    Resolving Rank Math Analytics Related Issues » 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 ask them to whitelist the IP 46.30.211.100 and the user-agent RankMathApi/2.0.2; https://rankmath.com and see if that works for you.

    For more details on this issue, please check this URL: https://rankmath.com/kb/api-http-400-error/

    If the issue still persists, please share your website URL with us so that we can check this further for you.

    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.

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

The ticket ‘api 400 error’ is closed to new replies.