> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolving "This app is blocked" for Google Connectors

> Fix the 'This app is blocked' error when connecting Google Drive, Docs, Sheets, Calendar, or Gmail connectors in Replit.

## Overview

If you see the error message **"This app is blocked"** when attempting to connect a Google Workspace service (Drive, Docs, Sheets, Calendar, or Gmail) through [Connectors](https://docs.replit.com/features/integrations/overview.md#connectors), it is typically caused by a misconfiguration of Google's OAuth settings within your organization's Google Workspace.

This guide walks you through resolving the issue so you can connect Google services to your Replit apps.

![Google error dialog showing 'This app is blocked' message preventing OAuth access](https://mintcdn.com/replit/_L2mS6wbXRQEsnHI/images/replitai/debugging-google-connectors/app-is-blocked.png?fit=max\&auto=format\&n=_L2mS6wbXRQEsnHI\&q=85\&s=744741b4cbcbb941b9bc54cc4358a9a3)

> [!WARNING]
>
> These steps apply only to **Google Workspace** accounts (organization-managed accounts). If you are using a personal Google account linked to a `@gmail.com` address and the Replit connector is blocked, you cannot change the OAuth policy yourself — contact your Google Workspace admin or use a different account.

## Troubleshooting steps

### Step 1: Try Incognito mode

Browser extensions or cached data can interfere with the OAuth flow. Using Incognito mode bypasses these issues.

**1. Open Incognito**

Open a new **Incognito** (Chrome) or **Private** (Firefox/Safari) window in your browser.

**2. Sign in to Replit**

Log in to your Replit account at [replit.com](https://replit.com).

**3. Retry the connection**

Open your app in the Project Editor, navigate to **Connectors** in the sidebar, and try connecting the Google service again.

If the error persists, continue to Step 2.

### Step 2: Verify OAuth settings in Google Workspace

> [!NOTE]
>
> You need access to your organization's **Google Admin console** for this step. Contact your IT team if you do not have admin access.

**1. Open the Google Admin console**

Log in to your organization's [Google Admin console](https://admin.google.com).

**2. Confirm the user exists**

Navigate to the **Users** section and confirm that the account attempting the Replit connection is listed.

![Google Admin console Users section showing user accounts](https://mintcdn.com/replit/_L2mS6wbXRQEsnHI/images/replitai/debugging-google-connectors/google-workspace-users.png?fit=max\&auto=format\&n=_L2mS6wbXRQEsnHI\&q=85\&s=ca6c61094047718c993038e11c17850c)

**3. Navigate to API Controls**

Go to **Security > Access and data control > API controls**.

![Google Admin console showing Security > API Controls navigation path](https://mintcdn.com/replit/_L2mS6wbXRQEsnHI/images/replitai/debugging-google-connectors/google-workspace-api-controls.png?fit=max\&auto=format\&n=_L2mS6wbXRQEsnHI\&q=85\&s=35edabdb4252908fc88f69b7856b2517)

**4. Open third-party app access**

Select **Manage third-party app access**.

![Google Admin console API controls page with Manage third-party app access button highlighted](https://mintcdn.com/replit/_L2mS6wbXRQEsnHI/images/replitai/debugging-google-connectors/third-party-app-access.png?fit=max\&auto=format\&n=_L2mS6wbXRQEsnHI\&q=85\&s=d0cf6eb640df4af58304bba7c97f2e45)

**5. Check OAuth access**

Verify that OAuth access is enabled for users in Google Workspace. If it is restricted, grant the required access so Replit can complete the OAuth flow.

If the connection still fails, continue to Step 3.

### Step 3: Add Replit as a trusted OAuth client

If your organization restricts third-party app access by default, you need to explicitly trust Replit.

**1. Open the Google Admin console**

Log in to your organization's [Google Admin console](https://admin.google.com).

**2. Navigate to API Controls**

Go to **Security > Access and data control > API controls**.

**3. Open third-party app access**

Under **App access control**, select **Manage third-party app access**.

**4. Add a new app**

Select the **Add app** button, then choose **OAuth App Name or Client ID** from the dropdown.

**5. Search for Replit**

Enter the Replit Client ID:

```
1012035106355-2dhot2e6o0malvog2ofss7akj2nsp8nq.apps.googleusercontent.com
```

Select **Search**. When the Replit app appears in the results, select it.

**6. Set the access level**

Set the access level to **Trusted**.

**7. Save**

Select **Save**.

> [!TIP]
>
> Changes to Google Workspace policies can take a few minutes to propagate. Wait 5-10 minutes after saving, then try connecting your Google service in Replit again.

## Still blocked?

If you have completed all three steps and the error persists:

* **Double-check the organizational unit (OU)**: Google Workspace policies can be scoped to specific OUs. Make sure the OAuth and trusted-app settings apply to the OU that contains the user trying to connect.
* **Review Google Workspace alerts**: In the Admin console, check **Reporting > Audit and investigation > OAuth log events** for any denied requests related to Replit.
* **Contact Replit support**: If the issue is not on the Google Workspace side, reach out to [Replit support](https://replit.com/support) for help.

## Related documentation

* [Connectors overview](https://docs.replit.com/features/integrations/overview.md) -- Learn about all integration types, including Google Workspace connectors
* [Managing your connectors](https://docs.replit.com/replitai/managing-connectors.md) -- Admin setup for Workspace and organization connectors
* [Google Workspace Admin Help: Control third-party app access](https://support.google.com/a/answer/7281227) -- Google's official guide to managing OAuth app access

***

> [!NOTE]
>
> Special thanks to the [Element451](https://element451.com) team for their [original guide on resolving this error](https://help.element451.com/en/articles/9999308-resolving-this-app-is-blocked-error-for-google-drive-connectors), which served as the basis for this article.
