Google Analytics disconnect evry 3 days

Hello. Enty 3-5 days I get this error. And I have to enter the codes again. Any thoughts?

An error occured: { “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” } }
Please check your settings, try reconnecting to your Google Analytics account in the settings.

Hi there,

the error message 401 indicates that there is some authentication problem on the GA API side.

Have you tried to create a new set of API credentials and re-authenticate your account in the extension?

I’ve had this same issue. I’ll try creating a second set of API credentials as well.

1 Like

Let us know how it goes.

HI Bogdan,

It looks like our site has once again lost connectivity, even after creating and using new credentials.

Same here. Lost connectivity even after creating and using new credentials.

I believe that the problem comes from the GA API side.
Do you still get the 401 error?

yes. and the Google support says it’s not their problem.