• This plugin was fine, but just recently it stopped working. In my error log, I got the following:

    [28-Apr-2017 16:19:13 UTC] PHP Fatal error: Uncaught exception ‘Google_Auth_Exception’ with message ‘Error refreshing the OAuth2 token, message: ‘{
    “error” : “invalid_grant”,
    “error_description” : “Token has been expired or revoked.”
    }” in /home/hpsystems/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Auth/OAuth2.php:363
    Stack trace:
    #0 /home/hpsystems/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Auth/OAuth2.php(278): Google_Auth_OAuth2->refreshTokenRequest(Array)
    #1 /home/hpsystems/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(457): Google_Auth_OAuth2->refreshToken(‘1/Wac2NZBFtBkqK…’)
    #2 /home/hpsystems/public_html/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(142): Google_Client->refreshToken(‘1/Wac2NZBFtBkqK…’)
    #3 /home/hpsystems/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(471): GmailXOAuth2->getOauth64()
    #4 /home/hpsystems/public_html/wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(153): SMTP->authe in /home/hpsystems/public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Auth/OAuth2.php on line 363

  • The topic ‘Invalid_Grant 500 error when trying to send mail using contact form 7’ is closed to new replies.