Skip to content Skip to main navigation Skip to footer

Error getting access token. Error: invalid_grant. Error description: Account has been deleted

If the Google Drive account that has been authorized for document generation was deleted, this error will appear when users try to generate a document.

To resolve, authorize a different Google Drive.

Make a copy of the Google Doc template being used in the Document Action and save it in the newly authorized Google Drive.

Copy the new Google Doc Id and paste it into the Document Action Template Id field.

Generate the document again.

Note: if using a custom button with the customizable button code, you will need to update the button code. Generally we advise using the simple button code at the bottom of the document action so you do not need to update the custom button code with every update.