https://bugs.kde.org/show_bug.cgi?id=508751
Bug ID: 508751
Summary: Google Drive access via Dolphin (kio-gdrive) fails
with "Requested resource is forbidden"
Classification: Frameworks and Libraries
Product: kio-extras
Version First unspecified
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: default
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hello,
I am experiencing a persistent issue with Google Drive integration in KDE
Plasma. When I try to access my Google Drive files via Dolphin (`gdrive:/`),
the operation fails. Dolphin shows a "Доступ запрещён" (Access denied) error
message, and the system logs show a "Requested resource is forbidden" error
from the Google API library.
This happens despite a completely clean setup and using the latest available
code from Git.
**Steps to Reproduce:**
1. Start with a clean state:
* Delete any existing Google account from System Settings > Online
Accounts.
* Revoke access for "KDE" or "KDE Daemon" in the Google Account security
settings (myaccount.google.com).
* Completely clear the `kdewallet` by removing the `accounts` folder from
KWalletManager.
* Reboot the system.
2. Add a Google account via System Settings > Online Accounts. The
browser-based authentication process completes successfully. A new entry is
created in KWallet.
3. Open Dolphin and attempt to access the Google Drive mount point
(`gdrive:/`).
**Actual Results:**
* Dolphin displays an "Access denied" error ("Доступ запрещён").
* The folder remains empty.
* The system journal shows the following key error message at the moment of
access:
`kioworker[...]: org.kde.kgapi: Requested resource is forbidden.`
**Expected Results:**
* The contents of my Google Drive should be listed in Dolphin.
**System Information:**
* **Operating System:** CachyOS (Arch Linux based)
* **KDE Plasma Version:6.4.4
* **KDE Frameworks Version: 6.18.0
* **Qt Version: 6.9.1
* **Packages:** To ensure I'm using the latest code, the following key
packages were compiled and installed from AUR (git versions):
* `kaccounts-integration-git`
* `kaccounts-providers-git`
* `libkgapi-git`
* `kio-gdrive-git`
**Additional Information:**
* KDE Wallet (`kwallet`) is enabled and works correctly.
* The Google Account itself is fine. Other third-party tools (like Rclone)
can access this Google Drive account without any issues.
* The issue seems to be specific to the way the KDE Google API library
(`kgapi`) is making its request, which Google is actively forbidding.
Thank you for looking into this.
--
You are receiving this mail because:
You are watching all bug changes.