Error: “This file is in the trash of a Shared Drive”

Clicking a document link, bookmark, or desktop shortcut to an asset in a Google Shared Drive can trigger the blocking error: “This file is in the trash of a Shared Drive.” This message indicates that an active collaborator has moved the item to the Shared Drive’s trash bin, or that a local desktop client is attempting to open a cached pointer to a file that was deleted in the cloud. Access is blocked until an authorized member restores the file or updates the link.

Quick Answer

This error means the file was deleted by a team member and resides in the Shared Drive’s 30-day trash bin. To regain access, an authorized Content Manager or Manager must open the Shared Drive in a web browser, select its Trash, locate the file, and click Restore.


Understanding the Shared Drive Trash Behavior

In personal “My Drive,” if someone shares a file with you and you delete it, it is typically removed only from your view while remaining accessible to others. In a Shared Drive, deletion is centralized:

Shared Drive Deletion Lifecycle:
[Active Shared Drive File]
            │
            ▼ (Any Content Manager or Manager deletes file)
[Shared Drive Trash Container] ──> File is locked for ALL members
            │
            ├──> Attempt to open via direct URL / shortcut ──> ERROR: "This file is in the trash"
            │
            ├──> Within 30 days: Content Manager/Manager clicks "Restore" ──> File returns to active use
            │
            └──> After 30 days: File auto-purges ──> Enters 25-day Admin recovery buffer
  • When an item is moved to the trash in a Shared Drive, all members immediately lose the ability to view, edit, or sync the file, regardless of whether they hold bookmarked URLs or desktop shortcuts.
  • The file remains recoverable in the Shared Drive trash for 30 calendar days before Google permanently purges it.

Diagnostic Step 1: Identify Who Trashed the File

Before restoring a file, verify whether the deletion was intentional:

  1. Open Google Drive on the web.
  2. Navigate to the parent folder where the missing file previously resided.
  3. Click the View details icon (the lowercase “i” inside a circle) in the upper-right corner.
  4. Select the Activity tab in the side panel.
  5. Review recent entries. Google Drive logs an immutable audit event:*[User Name] moved an item to the trash: [File Name]*

This identifies which collaborator moved the file and confirms whether the action was part of a planned directory cleanup.


Diagnostic Step 2: Restore the File from the Shared Drive Trash

Restoring the file requires proper permissions. Contributors and Viewers cannot restore files from a Shared Drive trash; only Content Managers and Managers can execute this action.

Step-by-Step Restoration:

  1. Open the target Shared Drive in your web browser.
  2. In the left navigation menu or the top drive header, click the Trash tab associated with that Shared Drive.
  3. Locate the deleted document in the list.
  4. Right-click the file and select Restore (or click the counter-clockwise restore icon in the top toolbar).
Restore Operation:
[Trash: Target File] ──(Right-Click > Restore)──> [Original Subfolder Location]
                                            └──> (If original folder is missing: Restored to Root)

Once restored, all existing sharing links, bookmarks, and permissions are re-activated immediately. For advanced recovery scenarios, see How to Recover Deleted Files from a Shared Drive Trash.


What to Do If the Restore Button Is Grayed Out

If you can see the file inside the Shared Drive trash but the Restore button is grayed out or displays an access error:


What If the File Is Not in the Shared Drive Trash?

If clicking the link produces the “in the trash” alert, but opening the Shared Drive trash shows an empty directory:

  1. The 30-Day Window Expired: More than 30 days have elapsed since deletion, and Google’s automated purge routine ran.
  2. A Manager Emptied the Trash: A Manager manually cleared the trash container.
  3. Admin Console Recovery Required: An enterprise administrator can restore purged files for up to 25 days following the expiration of the trash window. Contact your Google Workspace administrator immediately to initiate an admin restore. Review the restoration rules in Why You Can’t Restore a Shared Drive from Admin Console.