Skip to main content

Why am I seeing an "OAuth App Blocked" error in Scratchpad?

Learn why OAuth errors appear in Scratchpad and how Salesforce Admins can fix them

Updated over 2 weeks ago

Overview


If you see an error like:

  • "OAuth App Blocked"

  • "OAuth Error"

  • "OAUTH_APPROVAL_ERROR_GENERIC"

…it means that Scratchpad doesn’t have access to connect with your Salesforce account.

To resolve this, you’ll need help from your Salesforce Administrator or Operations team. They must confirm that Scratchpad is installed correctly, and that your profile or user is allowed to access Scratchpad.

Resolution


Salesforce Admins can resolve this error in Salesforce by checking the following:

1. Confirm Scratchpad is installed as a connected app

In Salesforce, go to Setup → Apps → Connected Apps → Connected Apps OAuth Usage → Scratchpad → Install

​Please note, if Scratchpad was previously uninstalled, it may appear at the bottom of the list rather than in the expected alphabetical order.

2. Configure user access

Once Scratchpad is installed, click Manage App Policies and ensure Permitted Users is set to All users may self-authorize (default)

3. Re-authenticate in Scratchpad

After policies are updated, users can log back into Scratchpad and re-authenticate with Salesforce successfully!

Still having trouble after following these steps?

Check out Salesforce's in-depth guide, or email us at [email protected] and we'll help you troubleshoot.

Did this answer your question?