API Error: HTTP 400

#1032773
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the issue you are facing with the API Error: HTTP 400. This error indicates that the server is unable to process your API request due to a client error. Here are some common reasons and solutions for this error:

    1. Website Under Maintenance: If your website is under maintenance, it cannot be accessed. Please switch your website back to normal mode.
      Maintenance mode

    2. Check Website Status: Ensure your website is returning a 200 status code. You can check the status of your website here.
      Check website status with httpstatus tool

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

    4. API Requests Blocked by Firewall: Your server’s firewall may be blocking our API requests. You need to whitelist the IP 46.30.211.100 and the user-agent RankMathApi/2.0.2; https://rankmath.com.

    5. Locally Hosted Website: The SEO Analyzer module of Rank Math will only work on a live site that returns 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 continue to experience issues, please reply to this ticket with your website URL, and a human agent from our support team will assist you further. Thank you for raising this concern!

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

    Hello,

    In this case, please ask your host for the IP address of your server so we can check if the blockage is coming from our end.

    Looking forward to helping you.

    Hello
    I have already asked them and they recommend reaching out to the plugin support for further guidance Rank Math SEO support as from their side was nothing wrong.

    “I then checked the IP 46.30.211.100 and the user-agent RankMathApi/2.0.7; https://rankmath.com and can confirm that they are not blocked on our end. Following this, I created a backup of your website and disabled all plugins except for Rank Math SEO, but the issue persisted. I also cleared the cache of the SEO Analyzer, removed the transient, and cleared all types of website cache. Unfortunately, these steps did not resolve the issue.

    It appears that the API Error: HTTP 400 error originates from the plugin server, as it occurs when I initiate the Start SEO Analyzer, which progresses to about 30% before returning the API Error: HTTP 400. If this were related to a firewall, the error would likely be 403 instead.”

    Thank you

    Hello,

    It seems that you have missed our previous reply above.

    You can ask for your website’s IP address and share it in the sensitive data section so we can investigate this issue further.

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

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