Title: Code 401 request is missing required authentication
Last modified: September 9, 2022

---

# Code 401 request is missing required authentication

 *  Resolved [dtroiano](https://wordpress.org/support/users/dtroiano/)
 * (@dtroiano)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-401-request-is-missing-required-authentication/)
 * We have had this problem since the 7th. I am at a loss for what to do. If I revoke
   plugin authorization will it reset all my authors back to 0? or will I lose the
   date on who has and has not been piad. I am open to suggestions here on how to
   resolve this. September 7, 2022 10:38:21
    An error was thrown with code “ga_get_data_error”,
   message “Error: 401: { “error”: { “code”: 401, “message”: “Request is missing
   required authentication credential. Expected OAuth 2 access token, login cookie
   or other valid authentication credential. See [https://developers.google.com/identity/sign-in/web/devconsole-project.&#8221](https://developers.google.com/identity/sign-in/web/devconsole-project.&#8221);,“
   errors”: [ { “message”: “Login Required.”, “domain”: “global”, “reason”: “required”,“
   location”: “Authorization”, “locationType”: “header” } ], “status”: “UNAUTHENTICATED”,“
   details”: [ { “@type”: “type.googleapis.com/google.rpc.ErrorInfo”, “reason”: “
   CREDENTIALS_MISSING”, “domain”: “googleapis.com”, “metadata”: { “method”: “analytics.
   gaapi.v3.AnalyticsDataGa.Get”, “service”: “analytics.googleapis.com” } } ] } }”
   and debug data “array ( ‘profile’ => ‘242658632’, ‘start_time’ => ‘2022-09-04’,‘
   end_time’ => ‘2022-09-06’, ‘metrics’ => array ( 0 => ‘ga:uniquePageviews’, ),‘
   optional_params’ => array ( ‘max-results’ => 9999, ‘dimensions’ => ‘ga:pagePath’,‘
   filters’ => ‘ga:pagePath!@/404.html;ga:pagePath!@/search/’, ‘start-index’ => 
   1, ), )”.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-401-request-is-missing-required-authentication%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Stefano](https://wordpress.org/support/users/ste_95/)
 * (@ste_95)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-401-request-is-missing-required-authentication/#post-15996812)
 * Hi there,
    yes, revoking authorization will also clear data. I will work on an
   update that decouples the authorization from the data cleanup in the next couple
   days. If you cannot wait, you can revert to the previous version – otherwise 
   you will simply not have updated data in the next few days, but it should pull
   all right data even from these days when the update comes 🙂
 * A nice day,
    Stefano
 *  Plugin Author [Stefano](https://wordpress.org/support/users/ste_95/)
 * (@ste_95)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-401-request-is-missing-required-authentication/#post-15998961)
 * Version 1.8.9.2 addresses the issue 🙂

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

The topic ‘Code 401 request is missing required authentication’ is closed to new
replies.

 * ![](https://ps.w.org/post-pay-counter/assets/icon-256x256.png?rev=1342278)
 * [Post Pay Counter](https://wordpress.org/plugins/post-pay-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-pay-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-pay-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/post-pay-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-pay-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-pay-counter/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Stefano](https://wordpress.org/support/users/ste_95/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/code-401-request-is-missing-required-authentication/#post-15998961)
 * Status: resolved