sGTM to Google Sheets suddenly stopped

Hi,

I have set up google sheets to see my purchases.
Now since 2 days it suddenly stopped working.
I followed the stape tutorial closely

This is what I get in the reposnse body for outgoing requests:

https://content-sheets.googleapis.com/v4/spreadsheets/


{
  "error": {
    "code": 401,
    "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
    "status": "UNAUTHENTICATED"
  }
}

https://oauth2.googleapis.com/token

{
  "error": "invalid_grant",
  "error_description": "Token has been expired or revoked."
}

What is the best way to fix it, and why did it happen in the first place?

Thanks and cheers! :slight_smile:

There’s an obvious problem with authorisation and tokens. You need to double-check this and repeat the key issuance and authorisation steps if necessary.