When an In-Place Preservation for a Google vault data source fails with the below error, it means that the refresh token updated in the realm associated with the Google vault data source has expired.


{"error_description":"com.exterro.edrm.ipp.common.exception.IPPException: com.exterro.edrm.ipp.common.exception.IPPException: com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized\nPOST https:\/\/oauth2.googleapis.com\/token"}


The above-mentioned error can be viewed in the error logs of the audit logs tab of the IPP by following the below steps:


Step 1: Click on the Audit logs tab of the IPP plan for which you have received the failure notifications.



Step 2: Click on the View Logs in the audit log entries.



The user needs to generate a new refresh token for the Google vault data source and update the same in the realm associated with the data source by following the below steps before retrying the preservation operations.


Step 1: Navigate to the Google Manage resources page (https://console.developers.google.com)

Step 2: Log in with the credentials of the service account that is created for Exterro

Step 3: Click on My projects and select the project under which the service account is created.

Step 4: Click on Credentials >> Select the Service account.

Step 5: Navigate to the Keys tab >>> Add key >>> Create New key>>> select JSON and Create.

Step 6: Open the downloaded JSON file with Notepad.

Step 7: Click Ctrl+H and type \n on Find what and click on Replace All. It will remove all the values of \n.



Step 8: Once \n removed from the key, remove the words and symbols Begin/End Key and copy the rest of the key.



Step 9: From the fusion page, navigate to Settings >>> Realm Settings >>> Select the respective Realm and paste the key in the Private Key field.