API Error: HTTP 400 error.

#944251
  • Resolved Pixelora Studio
    Rank Math free

    On the SEO Analyzer, I am getting “API Error: HTTP 400 error.”

    I tried following rankmath troubleshooting guide. Those are given below:

    Website Under Maintenance: No, my website is completely live. I had under maintenance mode around 10-12 days ago. Now the site is completely live and online.

    Check Website Status: I also tested this. It okay and showing 200.

    API Timeout: As far I understand, my website is responding perfectly.

    API Requests Blocked by Firewall: I contacted my hosting provider. They are saying everything is fine from their end.

    Locally Hosted Website: My site is hosted on web hosting and its live.

    So, I am not understanding why it is still showing the “API Error: HTTP 400 error.”

    My Domain: pixelorastudio.com

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

    We apologize for the issue you are facing with the API Error: HTTP 400 on the SEO Analyzer. Thank you for providing detailed information about the troubleshooting steps you’ve already taken.

    Since your website is live and returning a 200 status code, and you’ve confirmed with your hosting provider that there are no firewall issues, here are a few additional things you might want to check:

    1. Check for Other 4xx Errors: Sometimes, other 4xx errors (like 404) can cause issues. You can check this in Google Search Console or by using tools like httpstatus.io.

    2. Review Server Logs: Look at your server logs for any errors that might not be visible from the front end. This can provide insight into what might be causing the API request to fail.

    3. Plugin Conflicts: Ensure that there are no conflicts with other plugins that might be affecting the API requests. You can try temporarily disabling other plugins to see if that resolves the issue.

    4. Update Rank Math: Make sure you are using the latest version of Rank Math. Sometimes, updates can resolve underlying issues.

    If you have checked all these and are still experiencing the error, we recommend replying to this ticket, and a human agent from the Rank Math Support team will take over and assist you further.

    Thank you for your patience, and we hope to resolve this issue for you soon!

    Hello,

    Thank you for your query, and we are so sorry about the trouble this must have caused.

    Please head over to your WordPress Dashboard → Rank Math → Status & Tools → Database Tools and click on the Clear SEO Analyzer button to flush SEO Analyzer data.

    Once done, clear your website and any server-level caching on your site before doing the Sitewide analysis again.

    If the issue persists then there is something on your server that is blocking the API.

    In this case, 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.

    We hope that helps, and please don’t hesitate to get in touch if you have any other questions.

    Thank you.

    I found a hint. Today suddenly, the seo analyzer option worked! I don’t know how! Then for a purpose, I cleared cache of the site (I use WP Rocket plugin). Then again I started getting the “API Error: HTTP 400 error” on Rank Math SEO Analyzer option. So, I think it’s somehow connected with the website cache issue? Do you have any idea?

    Hello,

    You can temporarily disable the optimization plugin and see if the feature works.

    If the issue persists, there might still be server-level restrictions affecting the API. Please coordinate with your hosting provider to investigate further.

    Let us know how it goes.

    Thanks.

    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 error.’ is closed to new replies.