-
Dear All,
I’ve got into some unforeseen troubles right after I re-installed and re-activated the Plugin on to my new site ( https://kolovrat-scarf.com ) and linked the API key and Google analytics to it. I met the API 400 Error in SEO Analyzer and, in addition to it, found a huge List in my Status and Tools > Error Log section – right after I finished with the Plugin settings on a new site (had to terminate the one I intended to use earlier).
I have checked on the: Check Website Status; API Timeout; Locally Hosted Website – everything is working/set as expected.
I did not check on this yet: API Requests Blocked by Firewall – shall go to it in a morning tomorrow and after you confirm this is required after all your check-ups.Thanking in advance for the time given to my inquiry and your prompt response – I wish to get in time with the Pro upgrade.
Best wishes,
Olga Pasechnikova.
-
Hello,
I apologize for the issues you are facing with the API 400 Error and the huge error log list in your Rank Math plugin after reinstalling and reactivating it on your new site.
To address the API 400 Error, you have already checked the website status, API timeout, and if your site is locally hosted, which is great. If you haven’t checked yet, you may also need to verify if API requests are blocked by a firewall.
Since you mentioned you will check on the API Requests Blocked by Firewall tomorrow morning, please ensure to whitelist the IP
46.30.211.100and the user-agentRankMathApi/2.0.2; https://rankmath.comif necessary.If you encounter any further issues or need assistance, please feel free to reply here, and our support team will be happy to help you promptly.
Thank you for reaching out, and we appreciate your understanding.
Best regards.
Sources:
Why Am I Getting "API Error: HTTP 400" Error » Rank Math
How to Fix 429 Error with IndexNow API » Rank MathHello,
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 make sure the IP
46.30.211.100and the user-agentRankMathApi/2.0.2;https://rankmath.comare whitelisted on your firewall.Once done, please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the
Clear SEO AnalysisandRemove Transientsbuttons to flush the SEO Analysis cache.Please clear your website and any server-level caching on your site before doing the SEO analysis again.
For more details on this issue, please check this URL: https://rankmath.com/kb/api-http-400-error/
For the database tables error please re-create tables by navigating to WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the
Re-create database Tablebutton.
Let us know how it goes. Looking forward to helping you.
Thank you.
Hello Ike,
Thanks for your response with tables/guidelines provided in – much appreciated.
I did everything you asked me for including my hosting provider and in my Admin actions – the result remains the same as it was before all that undertaking. From the communication with my Hosting team I got their suggestion in contacting you with the following script of the Error Logging which occurred right during our communication:
[04-Jul-2024 03:49:18 UTC] WordPress database error Table ‘y65sfqk_prod.wp_rank_math_analytics_gsc’ doesn’t exist for query SELECT COUNT(DISTINCT(query)) FROM wp_rank_math_analytics_gsc WHERE created BETWEEN ‘2024-04-25 00:00:00’ AND ‘2024-05-28 23:59:59’ made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, RankMath\Rest\Admin->dashboard_widget_items, RankMath\Rest\Admin->do_action, do_action_ref_array(‘rank_math/dashboard/widget’), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Analytics\Analytics_Common->dashboard_widget, RankMath\Analytics\Analytics_Common->get_dashboard_widget_items, RankMath\Analytics\Summary->get_widget, RankMath\Analytics\Summary->get_keywords_summary
My hosting provider insisted that the mistakes were /are caused by the RankMath plugin and they also confirmed that your IP credentials are long Whitelisted on their server/s as they have lots of customers using your software for long (this is a very good sign for me though) – they, however, whitelisted them to my account specifically. The error which I shared indicates database error related to the RankMath plugin – you can’t just ignore this, I believe – all for your own sake.
As I do not see any changes after all the actions undertaken on my side – all following your given recommendations, I decided to delete the current version of the Plugin (this is unfortunate for me as I spent quite a time for it configuration) off my site. I’ll give a try to the Pro Version of this Plugin and hope very much this would worth of my efforts this time.
Best regards,
Olga.Hello,
Please note that Rank Math automatically creates these database tables when you connect your Google account with Rank Math Analytics. In this case, please follow this guide to remove the Rank Math App from your Google account: https://rankmath.com/kb/analytics-issues/#expired-google-oauth-token
Once done, please reconnect your Google account from WP Dashboard > Rank Math > General Settings > Analytics with all the required permissions, and see if that resolves the issue.
Let us know how it goes. Looking forward to helping you.
Thank you.
Dear All,
Thanks for your earlier reply and suggestions – I have already followed them and did all the required changes regarding my Google account RankMath disconnection and re-connection, cleared all the cache, SEO analyser,
Transients and re-created Tables again in the plugin Status and Tools settings — nothing has changed.My only question: Do I need to remove the API key off the RM plugin and disconnect the plugin from my Google account prior its deletion from my Admin/Site or these all will be automatically removed after I uninstall the plugin?
I thank you in advance for the prompt reply.
Best regards,
OlgaHello,
Do you mean the API key used in the IndexNow feature?
https://rankmath.com/kb/how-to-use-indexnow/#managing-api-keyIf so, you won’t need to remove them as it is created virtually on your site (if it’s not created directly in your website files).
Regarding the uninstall process, you can follow our guide here if you want to completely delete Rank Math data upon uninstalling the plugin:
https://rankmath.com/kb/uninstall/Looking forward to helping you.
Hello Reinelle,
Many thanks for your information-rich response – much appreciated!
While rendering my Admin settings for the required Appearance>Theme File Editor>RankMath php. file, I discovered that the current active Astra Theme does not include any RankMath related record in it. I double check all the four themes I currently see in the Appearance section – they all have No traces of the RankMath php file the file which is required for pasting the Filter script into it before processing forward with the Complete removal of the Free Plugin off my site. Dear Reinelle, could you please advice my next possible action/s in a situation when there is No php record of the Plugin visible in any of the themes (active Astra and passive three others)??
Looking forward to your following instructions.
Thanking in advance,
OlgaHello,
Yes, the rank-math.php file does not exist on theme files.
You may need to create it temporarily and add the filter, then proceed with the uninstallation. Once done, you can then remove/delete that file.
Here’s a guide you can follow as well:
https://rankmath.com/kb/wordpress-hooks-actions-filters/#rank-math-php-fileHope that helps.
Lots of thanks, Reinelle, it worked for me!
I have already paid for the Pro version and shall install/configure it tomorrow my time.
Hope this one would behave as predicted and I anticipate using it really soon.
Best wishes1
OlgaHello,
We hope that the experience with Rank Math excels.
If you have any follow-up questions don’t hesitate to get in touch.
We are here to help!
The ticket ‘API 400 Error plus HUGE Error Log list !’ is closed to new replies.