Rank Math GSC API Error

#13766
  • Resolved Rogerio Dec
    Rank Math free

    I’m getting this error on my error_log file:

    Rank Math GSC API Error: POST https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Fsestraherbalismo.com.br%2F/searchAnalytics/query 401 | {"error":{"errors":[{"domain":"global","reason":"authError","message":"Invalid Credentials","locationType":"header","location":"Authorization"}],"code":401,"message":"Invalid Credentials"}}

    However, the plugin seems to be working.

    What is this?

    • This topic was modified 4 years, 7 months ago by Rogerio Dec.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The error suggests that there was an authentication error while connecting to the search console. Please deauthorize and later authorize the plugin to access your search console by heading over to Rank Math > General Settings > Search console

    Looking forward to helping you. Thank you.

    ​​​​​​​

    I did and some days after it is happening again.
    Will I have to be constantly deauthorizing and reauthorizing?

    Hi there,

    Thanks for getting back to us.

    This is not expected behavior since I am yet to come across it on my test installs. We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    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/

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Hi Rogerio,

    Thanks for the access.

    Since the errors appear to be reported at only certain times and not always, I believe the issue could be resulting from a failure in clearing session data.
    I have passed this on to our developers for closer investigation and we will be getting back to you in a short while.

    We appreciate your patience. Thank you.

    This problem was reported 3 weeks ago, it still happens, no solution was given, and no one saw my website to see this error up to now.

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    We are sorry for the delay in getting back to you on this thread, I have pushed this up the queue and you can expect a response shortly.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    You do not need to worry about these errors, these are common API warnings. The error arises when a site hit the request quota on the Search Console API when you run the manual fetching process.

    I will bring this to the attention of our developers but at the moment the search console module is getting the data from the Google cache and feeding your site with updated data.

    Hope that helps. Thank you.

    Thanks for the clarification.

    Hello Rogerio,

    I am glad that this information was useful 🙂

    Feel free to contact us for any other questions, comments or suggestions.

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)

The ticket ‘Rank Math GSC API Error’ is closed to new replies.