!
Getthing Error refreshing the OAuth2 token, message: '{ "error" : "invalid_grant" }' when trying to access Google Analytics API
- This is a service account
- I have specified my client ID, gservice account email, and the path to the certificate file
- I have added the gservice account email as an admin to my Google Analytics profile
- I have installed NTP on my ubuntu server to ensure that the time is correct
I am using a package ( https://github.com/thujohn/analytics-l4 ) but I don't think this is related to the issue at all.
Any ideas?