https://bugs.kde.org/show_bug.cgi?id=510280
Bug ID: 510280
Summary: kio-gdrive: "Access denied" error after successful
account authentication
Classification: Frameworks and Libraries
Product: kio-gdrive
Version First 25.08.1
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 185543
--> https://bugs.kde.org/attachment.cgi?id=185543&action=edit
Screenshot showing the user interface result after attempting to access the
Google Drive folder.
SUMMARY
After successfully adding a Google Account through System Settings -> Online
Accounts, any attempt to access the corresponding Google Drive folder in the
Dolphin file manager fails with an "Access denied" error message.
STEPS TO REPRODUCE
1. Navigate to `System Settings` > `Online Accounts`.
2. Click `Add Account...` and select the `Google` provider.
3. Complete the web browser authentication flow, granting all requested
permissions to the "KDE KAccounts" application when prompted.
4. Once the account is listed as successfully added, open the Dolphin file
manager.
5. Click on the newly created Google Drive entry in the Places panel (under
"Network" or similar).
OBSERVED RESULT
The main Dolphin pane shows a "Loading canceled" message. A notification bar
appears at the top with the error "Access denied for ." (original in pt-BR:
"Acesso negado para ."). No files or folders from the Google Drive are listed.
This issue persists even after removing and re-adding the account.
EXPECTED RESULT
The contents of the Google Drive account (files and folders) should be listed
and become accessible within Dolphin, allowing for file management operations.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
(Kernel Version: 6.16.10-arch1-1)
ADDITIONAL INFORMATION
Logs were captured using `journalctl -f` while attempting to access the Google
Drive folder three times.
The most relevant error message, which repeats with each attempt, is:
`org.kde.kgapi: Requested resource is forbidden.`
This error appears to originate from the KDE Google API library (`kgapi`) and
indicates a permission issue (equivalent to an HTTP 403 Forbidden), despite the
account being successfully authenticated via the web browser flow. It seems the
KIO worker is being denied access by Google's API endpoint.
Below is the full log snippet captured during the attempts:
---
out 05 18:04:32 mwe-laptop systemd[4083]: Started Dolphin - Gerenciador de
arquivos.
out 05 18:04:33 mwe-laptop systemd[4083]: Started
[email protected].
out 05 18:04:35 mwe-laptop kioworker[45577]: org.kde.kgapi: Requested resource
is forbidden.
out 05 18:04:35 mwe-laptop kioworker[45577]: kf.kio.core: UDSentry for '.' not
found, creating a default one. Please fix the "kioworker" KIO worker.
out 05 18:04:36 mwe-laptop kioworker[45577]: org.kde.kgapi: Requested resource
is forbidden.
out 05 18:04:43 mwe-laptop dolphin[45549]: QLayout::removeWidget: Cannot remove
a null widget.
out 05 18:04:43 mwe-laptop kioworker[45577]: org.kde.kgapi: Requested resource
is forbidden.
out 05 18:04:44 mwe-laptop kioworker[45577]: org.kde.kgapi: Requested resource
is forbidden.
out 05 18:04:44 mwe-laptop kioworker[45577]: kf.kio.core: UDSentry for '.' not
found, creating a default one. Please fix the "kioworker" KIO worker.
out 05 18:04:47 mwe-laptop kioworker[45577]: org.kde.kgapi: Requested resource
is forbidden.
out 05 18:04:48 mwe-laptop kioworker[45577]: org.kde.kgapi: Requested resource
is forbidden.
out 05 18:04:48 mwe-laptop kioworker[45577]: kf.kio.core: UDSentry for '.' not
found, creating a default one. Please fix the "kioworker" KIO worker.
---
--
You are receiving this mail because:
You are watching all bug changes.