API Error: HTTP 400 Error

#127572
  • Resolved Olivier Cloet
    Rank Math free

    Hi Rank Math,

    I get following error when trying to run the SEO Analysis of Rank Math:

    API Error – HTTP 400 Error

    Can you please help me?

    Kind regards,

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

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

    Could you check your site if it returns status code 200 in https://httpstatus.io/?

    Please also make sure that your web server is not blocking access to our API.

    Whitelist the IP 134.90.148.114 and the user-agent RankMathChecker/2.0.0; https://rankmath.com.

    If you are not sure, please ask your web hosting provider to do it for you.

    Once done, you can run the SEO Analysis once again.

    I hope that helps. Thank you, and looking forward to your update.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for that information.

    It needs to show a status 200 OK for the SEO analysis to work. Please get in touch with your host to check this if you are unsure what’s causing your site to show the error status code.

    Thank you, and looking forward to your update.

    Dear Support,

    My webhost provider retrieved this error out of the backlog:

    [Fri Jan 01 14:02:42.552304 2021] [error] [pid 88972] mod_proxy_fcgi.c(871): [client 81.164.115.229:62178] AH01071: Got error ‘PHP message: WordPress databasefout Table ‘ID193330_2021.lkam_rank_math_analytics_gsc’ doesn’t exist bij query SELECT COUNT(DISTINCT(created)) AS days FROM lkam_rank_math_analytics_gsc LIMIT 0, 1 gemaakt door require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, CMB2_Bootstrap_270->include_cmb, cmb2_bootstrap, do_action(‘cmb2_admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\\Admin\\Options->register_option_page, include(‘/plugins/seo-by-rank-math/includes/modules/analytics/views/options.php’), RankMath\\Analytics\\DB::info, MyThemeShop\\Database\\Query_Builder->getVar, MyThemeShop\\Database\\Query_Builder->onePHP message: WordPress databasefout Table ‘ID193330_2021.lkam_rank_math_analytics_gsc’ doesn’t exist bij query SELECT COUNT(id) FROM lkam_rank_math_analytics_gsc LIMIT 0, 1 gemaakt door require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, CMB2_Bootstrap_270->include_cmb, cmb2_bootstrap, do_action(‘cmb2_admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\\Admin\\Options->register_option_page, include(‘/plugins/seo-by-rank-math/includes/modules/analytics/views/options.php’), RankMath\\Analytics\\DB::info, MyThemeShop\\Database\\Query_Builder->getVar, MyThemeShop\\Database\\Query_Builder->one’

    Can you check this?

    Kind regards,

    Hello,

    The error you have shared has no effect on the SEO Analysis. However, to recreate the missing table(s), please follow these steps:

    1. Update to the latest version of Rank Math Free & PRO

    2. Ensure that the Advanced Mode is selected:
    advanced mode

    3. Re-create tables by clicking WP Dashboard > Rank Math > Status & Tools > Database Tools and click the Re-create database Table button.
    re-create analytics tables

    Please let us know if that helps.

    Hi Michael,

    The HTTP 400 Error keeps occuring, even after recreating the tables.

    Can we find another way to solve this?

    Kind regards,
    Olivier

    Hello,

    Thank you for following up.

    As my colleague mentioned, fixing the error you have provided does not affect the SEO Analysis getting HTTP error 400. I have checked your site and it still giving the Error in Status codes here https://httpstatus.io/

    Please ensure it returns a 200 OK status. Rank math SEO Analysis will only work on a site returning a 200 OK status. If you’re not sure how to fix this, please contact your web host for assistance.

    I hope that helps. Thank you, and looking forward to your update.

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

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