Resolving Http 400 "Token has been expired or revoked" error when emailing through Acctivate.

Gmail users may find themselves receiving an Http 400 error when attempting to send an email in Acctivate. Typically this means their authentication token through Gmail has expired or been revoked. Check out this article for a fix!

When emailing in Acctivate Gmail users may encounter the following error:

Http error

Http 400:{

"error": "invalid_grant",

"error_description": "Token has been expired or revoked."

}

Cause of the Problem:

This usually means that your authentication token (aka how you authenticate yourself with Google's servers) has expired or been revoked. This could happen due to a security change within Gmail made by yourself or an admin that required Google to un-authenticate you from external programs (like Acctivate.) This could also mean that it's simply just time to re-authenticate with Google through Acctivate.

Solution:

  1. Go into Configuration manager (or ask your Acctivate admin to go into Configuration manager.)
  2. Locate your Acctivate user ID
  3. Scroll to the bottom of the User ID information and locate and click the "Disconnect" button in the email settings.
    1. Disconnect-1
  4. The button will now turn into "Connect." Click the "Connect" button to be taken to the Google Oauth2 page.
  5. Select your Google Account (or login to your Google Account)
    1. Sign in
  6. Grant Acctivate the "Send email on your behalf" permission by checking the box.
  7. Click "Continue"
  8. Exit your browser and return to Acctivate when instructed to do so.
  9. Click "Save" and exit Configuration Manager.

At this point you should be able to send email with Gmail again through Acctivate.