Hello,
Thank you for contacting Rank Math support, and sorry for the inconvenience this may have caused.
The data import is not working correctly as sufficient permissions are not given:
Please follow the steps below to reconnect Rank Math with your Google account and grant all the necessary permissions:
1) Remove Rank Math’s access from Google Please remove Rank Math’s app from your Google apps permissions: https://myaccount.google.com/permissions

2) Re-connect to regenerate the auth token from Google
After that, reconnect the Google account again to regenerate the auth token from Google, by going to WordPress Dashboard > Rank Math > General Settings > Analytics and configure the Search Console and Analytics settings again:

3) Grant all necessary permissions
Kindly check all necessary checkboxes to allow Rank Math to access some of the Google Services. Please check the screenshot below for reference:

You can also refer to this guide for more details: https://rankmath.com/kb/analytics-issues/#expired-google-oauth-token
Let us know how that goes.
Thank you.
hello
Thank for your reply , by following the instruction the error is not shown anymore, but teh analytics show no data:
Total Impressions How many times your site showed up in the search results.
0 0
Total Clicks This is the number of pageviews carried out by visitors from Google.
0 0
Total Keywords Total number of keywords your site ranking below 100 position.
0 0
Average Position Average position of all the ranking keywords below 100 position.
0 0
Hello,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
Looking forward to helping you.
Thank you.
Hello
sorry for my late reply over holiday season.
I did once more cancelled the google tags in my rank math instalation, disabled caching and with such setup, it did connect properly and taken all analytics data.
It looks there was some too agresive cachng rule inerfering. howvver now it works as expected
Thank u!
Hello,
We’re delighted to hear that this issue has been resolved. We appreciate your feedback.
This ticket will be closed now, but if you ever have another question or need any help in the future, please don’t hesitate to create a new forum topic. We’ll be more than happy to assist you again.
Thank you for choosing Rank Math and have a wonderful day!