Analytics Import Error

We have followed the instructions to import google analytics data step by step. Nevertheless we receive the following error message.
Could the support team access our installation?

Bildschirmfoto 2021-04-20 um 10.51.30

Getting the same error after 7 days… probably because the token expires.

Clicking “RE-AUTHORIZE” at the top on the Google Analytics Import settings page every 7 days works for us.

Hi @thomas.kettner, is this immediately after authorizing, or is it as @euklid describes the token expires after a certain amount of time? If it’s expiring after working for a while, it is likely due to Google revoking permissions for the token, which happens sometimes for apps in the Google developer console marked as test apps. We’ve found one potential solution so far that doesn’t require constantly reauthenticating but we haven’t tested it yet:

After running the import for a few weeks now with manually “re-authorizing” once a week I now also received this error message:

Error message: Error on day 2018-04-26, { “error”: { “code”: 401, “message”: "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See", “errors”: [ { “message”: “Invalid Credentials”, “domain”: “global”, “reason”: “authError”, “location”: “Authorization”, “locationType”: “header” } ], “status”: “UNAUTHENTICATED” } }

Going to the Google Security Check-up in my Google account also revealed the app’s activity got flagged under “Recent security activity” (as described on Stack Overflow) and I had to Dismiss it to get the import working again.