Skip to main content

Troubleshooting Salesforce Error: "OAuth Error"

Troubleshooting Salesforce Error: "OAuth Error"

Problem Description

When trying to authenticate orgs in the Druva Salesforce App through the Salesforce Console, administrators may encounter the error:

OAuth Error

We can't authorize you because of an OAuth error. For more information, contact your Salesforce administrator.

OAUTH_APPROVAL_ERROR_GENERIC : An unexpected error has occured during authentication. Please try again.

Cause

This error occurs when the OAUTH connection between Salesforce and Druva, established using admin credentials, is disrupted. This can happen due to permission issues related to installation of apps.

Resolution

  1. Navigate to Setup>Profiles>System Administrator.

  2. Scroll down to Administrative Permissions and enable the permission for 'Approve Uninstalled Connected Apps'.

Then try to authenticate the org.

Did this answer your question?