• Resolved dtroiano

    (@dtroiano)


    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.”,
    “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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stefano

    (@ste_95)

    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

    (@ste_95)

    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.