Bug 464772 - kio-gdrive successfully authenticates but fails to list content
Summary: kio-gdrive successfully authenticates but fails to list content
Status: REPORTED
Alias: None
Product: kio-gdrive
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 22.12.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
: 466818 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-24 22:11 UTC by Uri Herrera
Modified: 2023-10-30 18:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (31.65 KB, image/png)
2023-01-24 22:14 UTC, Uri Herrera
Details
Screenshot from a fresh VM (647.80 KB, image/png)
2023-01-24 23:02 UTC, Uri Herrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uri Herrera 2023-01-24 22:11:28 UTC
kio-gdrive successfully authenticates but fails to list content displaying the following error: "userActionFinished error: 10"

STEPS TO REPRODUCE
1. Add a Google account using System Settings>Online Accounts
2. Open a terminal window and run: kioclient5 ls 'gdrive:/'
3. Error is displayed

OBSERVED RESULT
Content is not listed, and the authentication expires almost immediately.

EXPECTED RESULT
Google Drive contents are listed.

SOFTWARE/OS VERSIONS
KDE Plasma Version:  5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
As I mentioned, adding the account works; the sign-in dialog closes after getting the authorization request on my phone and accepting it. However, the content is not listed, and it does not matter if I remove the account and add it again.

======
 "userActionFinished error: 10"
kf5.kio.gdrive: GetCredentialsJob failed:  "userActionFinished error: 10"
google2
new-account
.
======
Comment 1 Uri Herrera 2023-01-24 22:14:26 UTC
Created attachment 155568 [details]
Screenshot
Comment 2 Uri Herrera 2023-01-24 23:02:52 UTC
Created attachment 155569 [details]
Screenshot from a fresh VM

I updated a KDE Neon VM to the latest packages as of Jan 24, 2023. When using Dolphin to access, the message "Expired or missing tokens for account google1" is displayed in the window.
Comment 3 Paul Worrall 2023-03-09 18:10:49 UTC
*** Bug 466818 has been marked as a duplicate of this bug. ***
Comment 4 Edward 2023-10-30 18:19:01 UTC
new install within last 24 hours, this issue is still persistent in kio-gdrive

keep getting the error "Expired or missing access tokens for account google1" when I go to copy files from google drive on to my system. it took me multiple attempts to be able to load the directory structure without that error.

system specs:

OS: EndeavourOS
KDE plasma version: 5.27.9
Kernel: 6.5.9-arch2-1 
kio-gdrive version: 23.08.2-1 

Please notify if you need more information.