Error refreshing the OAuth2 token
-
Great plugin! Caught a fatal error today after updating to the latest WP MultiSite release. I’m empty handed after a few Google searches but I better understand how it works.
So, Version 6.4.7.3 is throwing the error:
Fatal error: Uncaught exception 'Google_AuthException' with message 'Error refreshing the OAuth2 token, message: '{ "error" : "invalid_grant" }'' in /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php:288 Stack trace: #0 /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(248): Google_OAuth2->refreshTokenRequest(Array) #1 /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(225): Google_OAuth2->refreshToken('1/OJbne1G5ZE1wo...') #2 /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/service/Google_ServiceResource.php(167): Google_OAuth2->sign(Object(Google_HttpRequest)) #3 /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/contrib/Google_AnalyticsService.php(1010): Google_ServiceResource->__call('list', Array) #4 /public_html/wp-content/plugins/goo in /public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php on line 288
I’ve omitted the absolute path on our servers but the path is as expected:
/home/user/public_html/wp-content/plugins/google-analyticator/
We use this plugin on many websites within MultiSite and our clients enjoy it. Would love to have this resolved ASAP.
Thanks
- The topic ‘Error refreshing the OAuth2 token’ is closed to new replies.