API Error: HTTP 400 error.

#815295
  • Resolved Emmanuel Ola
    Rank Math free

    Hello! Good morning, i have been trying to check and analyze my website but its not working. displaying API issues. please can you help?

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

    I’m sorry to hear that you are experiencing API Error: HTTP 400 while trying to analyze your website using Rank Math. This error typically occurs when the server cannot process the request due to a client error.

    The reasons for this error could be related to your website’s status, API timeout, API requests being blocked by a firewall, or if your website is locally hosted.

    To address this issue, you can follow these steps:

    1. Check Website Status: Ensure your website is returning a 200 status code. You can use a tool like httpstatus.io to check your website’s status.

    2. API Timeout: If your website takes more than 30 seconds to load, it can result in this error.

    3. API Requests Blocked by Firewall: Whitelist the IP 46.30.211.100 and the user-agent RankMathApi/2.0.2; https://rankmath.com in your firewall settings.

    4. Locally Hosted Website: If your site is hosted locally, the SEO Analyzer module will not work. It requires a live site with a 200 OK status.

    If you continue to face issues after checking these points, please feel free to reach out to our support team directly here. We are here to assist you further.

    Thank you for reaching out, and I hope this information helps resolve the API error you are encountering.

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

    Well, after checking my web status, it returns 200 ok. what next should i do?

    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 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘API Error: HTTP 400 error.’ is closed to new replies.